Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

ci: support updatecli version required for the new oblt updatecli policies #1672

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

v1v
Copy link
Member

@v1v v1v commented Dec 2, 2024

What

Fix the version to be used to the latest one for now

Why

Otherwise, #1671 won't work

🐔 🥚 since https://github.com/updatecli/updatecli/releases/tag/v0.86.0

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.

And there are errors like

target: target#agent-json-specs
-----------------------

**Dry Run enabled**

The shell 🐚 command "/bin/sh /tmp/updatecli/bin/68b2939c124c411192667268d8f6edefbaa79f085494796eb8122c21afdb37bf.sh" exited on error (exit code 2) with the following output:
----
----

command stderr output was:
----
tar (child): /home/runner/work/apm-agent-go/apm-agent-go/json-specs.tgz: Cannot open: No such file or directory

Test

See https://github.com/elastic/apm-agent-go/actions/runs/12117285213

@v1v v1v requested a review from a team as a code owner December 2, 2024 10:21
@v1v v1v requested a review from a team December 2, 2024 10:21
@v1v v1v enabled auto-merge (squash) December 2, 2024 10:42
@v1v v1v merged commit 9eff913 into main Dec 2, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants