Release Notes: February 2023
Changelog and Release Notes for Codefresh Pipelines and GitOps
Features & Enhancements
Pipelines: Slack integration notification for builds terminated by system
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.
We added a new option to our Slack integration to notify you whenever builds are terminated by the system.
Here’s an example of the notification you would receive in Slack.
Pipelines: Multiple Helm contexts for pipelines
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.
For the Helm install
and push
actions, you can select the primary Helm registry context for the command.
For details, see Import Helm configurations into your pipeline definition and Action modes.
Pipelines: Multiple cache sources for pipeline builds
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.
Here’s an example of cache-from
with buildkit
:
For details, see cache_from
in build
step fields.
Pipelines: Control thresholds for memory usage warning banner
Remember the banner that alerted you whenever the memory usage for a pipeline build exceeded 70 or 90%? 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.
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).
Users can then override the memory-usage threshold for individual pipelines. See Memory usage warning for pipeline builds.
Pipelines: New flow for Cloud Builds for pipelines
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.
GitOps: Upgrade to Argo CD 2.6
We have upgraded the Argo CD version for our GitOps module to v2.6. For details, see Argo CD Releases.
Usability enhancements
Saves time and ease of use in interactions with Codefresh.
- Pipelines: Prompt to switch accounts
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.
-
Pipelines: Case-insensitive search for Pipelines and Pipeline List view Search is now easier as queries are case-insensitive.
-
GitOps: Terminate Sync now in application header 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.
See Application header in Monitoring Argo CD applications.
Bug fixes
Pipelines
- Logs not generated and slow build execution.
CF_HELM_SET
variable printed as [object Object].- Variables added via pipeline hooks not rendered for build annotations.
- Build does not fail on error for
when
condition. - Clicking a badge in Pipeline > General Settings results in an error.
- When cloning pipelines, Copy YAML from drop-down does not display all pipelines in project, if project has more than 100 pipelines.
- Running pipeline locally results in error: “ checkAvailabilityWithRetry error: …, connect EACCES /var/run/docker.sock .. “
- Tooltips not displayed on hover over Usage Report columns.
- Engine containers left in Docker after
codefresh run --local
. - (On-premises only) Liveness probe failures on
cf-api
pods. - (On-premises only) Tooltip on hover over build/project names in the Builds page, shows topbar.title instead of the build/project name.
GitOps
- Trying to recover runtime results in “invalid memory address or nil pointer reference” error.
- Rollout rollback failure when rollout namespace is different from application namespace.
- Clicking native Argo Workflows link displays empty screen.