Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bump updatecli version to v0.86.0 #568

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

updateclibot[bot]
Copy link
Contributor

@updateclibot updateclibot bot commented Nov 4, 2024

deps: Bump updatecli version

Bump updatecli version in action.yaml

change detected: * key "$.inputs.version.default" updated from "v0.85.0" to "v0.86.0", in file "action.yaml"

v0.86.0
Release published on the 2024-11-04 08:56:18 +0000 UTC at the url https://github.com/updatecli/updatecli/releases/tag/v0.86.0

## 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:

```bash
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` 

<details><summary>Before 0.86.0</summary>

```
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'"
```

</details>

<details><summary>After</summary>

**`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'"
```

</details>

## 🚀 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

- fix(doc): Typos @gounthar (#2824)

## Contributors

@btrepp, @dduportal, @dependabot, @dependabot[bot], @gounthar, @loispostula, @mcwarman, @olblak, @updateclibot, @updateclibot[bot] and @v1v
GitHub Action workflow link
Updatecli logo

Created automatically by Updatecli

Options:

Most of Updatecli configuration is done via its manifest(s).

  • If you close this pull request, Updatecli will automatically reopen it, the next time it runs.
  • If you close this pull request and delete the base branch, Updatecli will automatically recreate it, erasing all previous commits made.

Feel free to report any issues at github.com/updatecli/updatecli.
If you find this tool useful, do not hesitate to star our GitHub repository as a sign of appreciation, and/or to tell us directly on our chat!

Made with ❤️️ by updatecli
@updateclibot updateclibot bot added the dependencies Pull requests that update a dependency file label Nov 4, 2024
@updateclibot updateclibot bot enabled auto-merge (squash) November 4, 2024 09:29
@updateclibot updateclibot bot merged commit efb5edc into v2 Nov 4, 2024
3 checks passed
@updateclibot updateclibot bot deleted the updatecli_v2_updatecli branch November 4, 2024 09:30
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant