v0.86.0
(github-actions[bot]) released this 2024-11-04 08:56:18 +0000 UTC - v0.86.0
Description
Changes
This release introduces support for dependencies across sources, conditions, and targets, making the dependency model more flexible.
To better understand this important change:
Prior to release 0.86.0
- Sources could depend on:
- Other sources
- Conditions could depend on:
- Other conditions
- One source (by sourceID)
- Targets could depend on:
- Other targets
- Either:
- All conditions
- A subset of conditions
- One source (by sourceID)
Sources were always executed before conditions and then targets.
With this change, sources, conditions, and targets can now depend on any other resource type to allow an advanced update scenario.
Dependson rules can be visualized using GraphViz by running:
updatecli manifest show --graph --experimental --config updatecli.yaml
The generated snippet can then be inserted in a graphviz visualization tool
The ---graph parameter is still experimental, and all feedback are welcome.
The dependson
superseded conditionids
so we took the decision to deprecate conditionids
Before 0.86.0
conditions:
condiition-0:
name: Test if condition pass
kind: shell
spec:
command: ""false"
targets:
target-0:
name: Target shouldn't be executed as depend on condition failed"
kind: shell
conditionids:
- condition-0
spec:
command: "echo 'this shouldn't run'"
After
conditionsids
is replaced by dependson
conditions:
condiition-0:
name: Test if condition pass
kind: shell
spec:
command: ""false"
targets:
target-0:
name: Target shouldn't be executed as depend on condition failed"
kind: shell
dependson:
- condition#condition-0
spec:
command: "echo 'this shouldn't run'"
🚀 Features
- feat: add GitHub action autodiscovery plugin @olblak (#1964)
- feat(gitbranch): Add git url param to gitbranch plugin @olblak (#2850)
- feat(gittag): Add git url param to gittag plugin @olblak (#2848)
- feat: detect auto-debug in the CI @v1v (#2822)
- feat(scm): add bitbucket cloud scm and action support @mcwarman (#2847)
- feat(core/pipeline): allow dependency across source/conditions/targets @loispostula (#2800)
🐛 Bug Fixes
- fix(gittag): allow to specify the sourcebranch where to create the tag @olblak (#2926)
- fix(temurin) use OS and architecture to filter responses when retrieving versions @dduportal (#2917)
- fix(temurin) fail explicitly when specifying condition or target of kind 'temurin' @dduportal (#2916)
- fix: show pipeline as skipped if all target are skipped @olblak (#2849)
- Fix bug when gitea request fails @btrepp (#2806)
🧰 Maintenance
- deps(go): bump module github.com/goccy/go-yaml @updateclibot (#2956)
- deps(go): bump module github.com/goccy/go-yaml @updateclibot (#2949)
- chore(deps): Bump anchore/sbom-action from 0.17.3 to 0.17.6 @dependabot (#2941)
- deps(go): bump module github.com/goccy/go-yaml @updateclibot (#2924)
- deps(go): bump module cuelang.org/go @updateclibot (#2902)
- deps(updatecli/policies): bump all policies @updateclibot (#2712)
- deps(go): bump module github.com/fatih/color @updateclibot (#2875)
- deps(go): bump module github.com/yuin/goldmark @updateclibot (#2870)
- deps(go): bump module github.com/testcontainers/testcontainers-go @updateclibot (#2861)
- deps(go): bump module helm.sh/helm/v3 @updateclibot (#2859)
- fix: disabling temurin s390x test @olblak (#2852)
- chore(deps): Bump anchore/sbom-action from 0.17.2 to 0.17.3 @dependabot (#2823)
- deps(go): bump module github.com/drone/go-scm @updateclibot (#2812)
📝 Documentation
Contributors
@btrepp, @dduportal, @dependabot, @dependabot[bot], @gounthar, @loispostula, @mcwarman, @olblak, @updateclibot, @updateclibot[bot] and @v1v
Download
Name | Created At | Updated At |
---|---|---|
2024-11-04 09:11:58 +0000 UTC | 2024-11-04T09:11:59Z | |
2024-11-04 09:11:58 +0000 UTC | 2024-11-04T09:11:58Z | |
2024-11-04 09:11:58 +0000 UTC | 2024-11-04T09:11:58Z | |
2024-11-04 09:11:58 +0000 UTC | 2024-11-04T09:11:58Z | |
2024-11-04 09:11:58 +0000 UTC | 2024-11-04T09:11:58Z | |
2024-11-04 09:11:58 +0000 UTC | 2024-11-04T09:11:58Z | |
2024-11-04 09:11:58 +0000 UTC | 2024-11-04T09:11:58Z | |
2024-11-04 09:11:58 +0000 UTC | 2024-11-04T09:11:58Z | |
2024-11-04 09:11:57 +0000 UTC | 2024-11-04T09:11:58Z | |
2024-11-04 09:11:57 +0000 UTC | 2024-11-04T09:11:58Z | |
2024-11-04 09:11:57 +0000 UTC | 2024-11-04T09:11:57Z | |
2024-11-04 09:11:57 +0000 UTC | 2024-11-04T09:11:58Z | |
2024-11-04 09:11:56 +0000 UTC | 2024-11-04T09:11:57Z | |
2024-11-04 09:11:56 +0000 UTC | 2024-11-04T09:11:57Z | |
2024-11-04 09:11:56 +0000 UTC | 2024-11-04T09:11:57Z | |
2024-11-04 09:11:56 +0000 UTC | 2024-11-04T09:11:57Z | |
2024-11-04 09:11:55 +0000 UTC | 2024-11-04T09:11:56Z | |
2024-11-04 09:11:55 +0000 UTC | 2024-11-04T09:11:56Z | |
2024-11-04 09:11:54 +0000 UTC | 2024-11-04T09:11:56Z | |
2024-11-04 09:11:54 +0000 UTC | 2024-11-04T09:11:56Z | |
2024-11-04 09:11:53 +0000 UTC | 2024-11-04T09:11:54Z | |
2024-11-04 09:11:53 +0000 UTC | 2024-11-04T09:11:54Z | |
2024-11-04 09:11:53 +0000 UTC | 2024-11-04T09:11:54Z | |
2024-11-04 09:11:53 +0000 UTC | 2024-11-04T09:11:54Z | |
2024-11-04 09:11:52 +0000 UTC | 2024-11-04T09:11:53Z | |
2024-11-04 09:11:52 +0000 UTC | 2024-11-04T09:11:53Z | |
2024-11-04 09:11:52 +0000 UTC | 2024-11-04T09:11:53Z | |
2024-11-04 09:11:51 +0000 UTC | 2024-11-04T09:11:53Z |
Information retrieved from here