Skip to content

v0.86.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 08:56
· 673 commits to refs/heads/main since this release
57deeab

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

📝 Documentation

Contributors

@btrepp, @dduportal, @dependabot, @dependabot[bot], @gounthar, @loispostula, @mcwarman, @olblak, @updateclibot, @updateclibot[bot] and @v1v