|
| 1 | +--- |
| 2 | +title:"Release Notes" |
| 3 | +description:"New features, enhancements, and bug fixes" |
| 4 | +group:whats-new |
| 5 | +toc:true |
| 6 | +--- |
| 7 | + |
| 8 | +Welcome to Codefresh Release Notes for February, which is our first edition of release notes including Codefresh pipelines and Codefresh GitOps! |
| 9 | + |
| 10 | + |
| 11 | +##Features & Enhancements |
| 12 | + |
| 13 | +###CI/CD: Slack integration notification for builds terminated by system |
| 14 | +Notifications for failed builds are equally, if not more important, than those for successful builds. Getting notifications for system-terminated builds is crucial, as it indicates that the build was stopped because of pipeline policy and may require immediate attention. You can quickly investigate the issue and take corrective action if necessary. |
| 15 | + |
| 16 | + |
| 17 | +We added a new option to our Slack integration to notify you whenever builds are terminated by the system. |
| 18 | + |
| 19 | +{% include |
| 20 | + image.html |
| 21 | + lightbox="true" |
| 22 | + file="/images/whats-new/rel-notes-feb23-slack-failed-notification.png" |
| 23 | + url="/images/whats-new/rel-notes-feb23-slack-failed-notification.png" |
| 24 | + alt="Slack notification option for system-terminated builds" |
| 25 | + caption="Slack notification option for system-terminated builds" |
| 26 | + max-width="50%" |
| 27 | +%} |
| 28 | + |
| 29 | +Here's an example of the notification you would receive in Slack. |
| 30 | + |
| 31 | +{% include |
| 32 | + image.html |
| 33 | + lightbox="true" |
| 34 | + file="/images/whats-new/rel-notes-feb23-terminate-build-slack-example.png" |
| 35 | + url="/images/whats-new/rel-notes-feb23-terminate-build-slack-example.png" |
| 36 | + alt="Example Slack notification for system-terminated builds" |
| 37 | + caption="Slack notification for system-terminated builds" |
| 38 | + max-width="50%" |
| 39 | +%} |
| 40 | + |
| 41 | + |
| 42 | +###CI/CD: Multiple Helm contexts for pipelines |
| 43 | +With support for multiple Helm registry contexts in the same pipeline, dependencies in any of the imported Helm registry contexts in the Helm chart are automatically authenticated and added. |
| 44 | +For the Helm`install` and`push` actions, you can select the primary Helm registry context for the command. |
| 45 | +For details, see[Import Helm configurations into your pipeline definition]({{site.baseurl}}/docs/deployments/helm/using-helm-in-codefresh-pipeline/#step-4-optional-import-helm-configurations-into-your-pipeline-definition) and[Action modes]({{site.baseurl}}/docs/deployments/helm/using-helm-in-codefresh-pipeline/#helm-step-action-modes). |
| 46 | + |
| 47 | +###CI/CD: Multiple cache sources for pipeline builds |
| 48 | + |
| 49 | +Docker has support for specifying external cache sources for builds. We added the`cache-from` argument to our`build` step allowing you to specify additional cache sources and speed up the build process. Multiple cache sources are useful when your primary cache source is unavailable or slow. |
| 50 | + |
| 51 | +Here's an example of`cache-from` with`buildkit`: |
| 52 | + |
| 53 | +{% highlight yaml %} |
| 54 | +{% raw %} |
| 55 | +version: '1.0' |
| 56 | +steps: |
| 57 | + BuildMyImage: |
| 58 | + title: Building My Docker image |
| 59 | + type: build |
| 60 | + image_name: my-app-image |
| 61 | + dockerfile: my-custom.Dockerfile |
| 62 | + tag: 1.0.1 |
| 63 | + buildkit: true |
| 64 | + build_arguments: |
| 65 | + - BUILDKIT_INLINE_CACHE=1 |
| 66 | + cache_from: |
| 67 | + - my-registry/my-app-image:${{CF_BRANCH}} |
| 68 | + - my-registry/my-app-image:master |
| 69 | +{% endraw %} |
| 70 | +{% endhighlight %} |
| 71 | + |
| 72 | +For details, see[`cache_from` in`build` step fields]({{site.baseurl}}/docs/pipelines/steps/build/#fields). |
| 73 | + |
| 74 | +###Control thresholds for memory usage warning banner |
| 75 | +Remember the banner that alerted you whenever the memory usage for a pipeline build exceeded 70 or 90%? |
| 76 | +You can now decide the usage threshold at which to display the banner. Increasing the threshold helps avoid premature warnings for pipelines that do not consume a lot of memory, while decreasing it for resource-intensive pipelines helps avoid build failures. |
| 77 | + |
| 78 | +As part of the account-level configuration settings for pipelines (**Toolbar Settings > Pipeline Settings**), you can decide to display the banner when memory usage exceeds 70%, 90% (as before), or the actual limit of 100% (new option). |
| 79 | + |
| 80 | + |
| 81 | +{% include |
| 82 | + image.html |
| 83 | + lightbox="true" |
| 84 | + file="/images/whats-new/rel-notes-feb23-build-memory-warning.png" |
| 85 | + url="/images/whats-new/rel-notes-feb23-build-memory-warning.png" |
| 86 | + alt="Options for memory usage limit warning banner" |
| 87 | + caption="Options for memory usage limit warning banner" |
| 88 | + max-width="50%" |
| 89 | +%} |
| 90 | + |
| 91 | +Users can then override the memory-usage threshold for individual pipelines. |
| 92 | +See[Memory usage warning for pipeline builds]({{site.baseurl}}/docs/pipelines/configuration/pipeline-settings/#memory-usage-warning-for-pipeline-builds). |
| 93 | + |
| 94 | +###CI/CD: New flow for Cloud Builds for pipelines |
| 95 | +Previously, all Codefresh accounts had access to a SaaS runtime environment to run pipelines. However, this is no longer the case. Account administrators can request SaaS runtime environments by clicking**Enable Cloud Builds** in Codefresh. This action triggers an email request to Codefresh, and you should receive a response within 24 hours. |
| 96 | + |
| 97 | + |
| 98 | +###GitOps: Upgrade to Argo CD 2.6 |
| 99 | +We have upgraded the Argo CD version for our GitOps module to v2.6. |
| 100 | +For details, see[Argo CD Releases](https://github.com/argoproj/argo-cd/releases){:target="\_build"}. |
| 101 | + |
| 102 | +###Usability enhancements |
| 103 | +Saves time and ease of use in your =interactions in Codefresh. |
| 104 | + |
| 105 | +***CI/CD: Prompt to switch accounts** |
| 106 | + To avoid confusion, when you are signed into more than one Codefresh account, you are prompted to either switch to the active account or return to the previous one. |
| 107 | + |
| 108 | +{% include |
| 109 | + image.html |
| 110 | + lightbox="true" |
| 111 | + file="/images/whats-new/rel-notes-feb23-switch-accnt-prompt.png" |
| 112 | + url="/images/whats-new/rel-notes-feb23-switch-accnt-prompt.png" |
| 113 | + alt="Switch active account prompt" |
| 114 | + caption="Switch active account prompt" |
| 115 | + max-width="50%" |
| 116 | +%} |
| 117 | + |
| 118 | +***CI/CD: Case-insensitive search for Pipelines and Pipeline List view** |
| 119 | + Search is now easier as queries are case-insensitive. |
| 120 | + |
| 121 | +***GitOps: Terminate Sync now in application header** |
| 122 | +We moved the**Terminate Sync** button from the Sync details drawer to the application header making it easy to terminate problematic sync operations if you need to. |
| 123 | + |
| 124 | + |
| 125 | +{% include |
| 126 | + image.html |
| 127 | + lightbox="true" |
| 128 | + file="/images/whats-new/rel-notes-feb23-terminate-sync-app-header.png" |
| 129 | + url="/images/whats-new/rel-notes-feb23-terminate-sync-app-header.png" |
| 130 | + alt="Terminate sync option in Application Header" |
| 131 | + caption="Terminate sync option in Application Header" |
| 132 | + max-width="50%" |
| 133 | +%} |
| 134 | + |
| 135 | +See[Application header]({{site.baseurl}}/docs/deployments/gitops/applications-dashboard/#get-status-from-application-header) in[Monitoring GitOps applications]({{site.baseurl}}/docs/deployments/gitops/applications-dashboard/). |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | +##Bug fixes |
| 140 | + |
| 141 | +###CI/CD |
| 142 | +- Logs not generated and slow build execution. |
| 143 | +-`CF_HELM_SET` variable printed as[object Object]. |
| 144 | +- Variables added via pipeline hooks not rendered for build annotations. |
| 145 | +- Build does not fail on error for`when` condition. |
| 146 | +- Clicking a badge in Pipeline > General Settings results in an error. |
| 147 | +- When cloning pipelines,**Copy YAML from** drop-down does not display all pipelines in project, if project has more than 100 pipelines. |
| 148 | +- Running pipeline locally results in error: " checkAvailabilityWithRetry error: ..., connect EACCES /var/run/docker.sock .. " |
| 149 | +- Tooltips not displayed on hover over Usage Report columns. |
| 150 | +- Engine containers left in Docker after`codefresh run --local`. |
| 151 | +- (On-premises only) Liveness probe failures on`cf-api` pods. |
| 152 | +- (On-premises only) Tooltip on hover over build/project names in the Builds page, shows_topbar.title_ instead of the build/project name. |
| 153 | + |
| 154 | + |
| 155 | +###GitOps |
| 156 | +- Trying to recover runtime results in "invalid memory address or nil pointer reference" error. |
| 157 | +- Rollout rollback failure when rollout namespace is different from application namespace. |
| 158 | +- Clicking native Argo Workflows link displays empty screen. |