Skip to content

chore: update workflow to download and extract OCM CLI alongside CTF #59

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

morri-son
Copy link
Contributor

On-behalf-of: Gerald Morrison (SAP) [email protected]
Signed-off-by: Gerald Morrison (SAP) [email protected]

What this PR does / why we need it

update workflow to download and extract OCM CLI alongside CTF

On-behalf-of: Gerald Morrison (SAP) <[email protected]>
Signed-off-by: Gerald Morrison (SAP) <[email protected]>
@morri-son morri-son requested a review from a team as a code owner April 1, 2025 13:46
@morri-son morri-son enabled auto-merge (squash) April 1, 2025 13:46
@morri-son morri-son added this to the 2025-Q2 milestone Apr 1, 2025
On-behalf-of: Gerald Morrison (SAP) <[email protected]>
Signed-off-by: Gerald Morrison (SAP) <[email protected]>
… inputs

On-behalf-of: Gerald Morrison (SAP) <[email protected]>
Signed-off-by: Gerald Morrison (SAP) <[email protected]>
On-behalf-of: Gerald Morrison (SAP) <[email protected]>
Signed-off-by: Gerald Morrison (SAP) <[email protected]>
@morri-son morri-son requested a review from frewilhelm April 1, 2025 15:20
@@ -28,40 +28,25 @@ jobs:
with:
repository: open-component-model/ocm
ref: main
# Download OCM CLI from GH release assets
- name: Install OCM CLI
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are you changing this to not use the shipped cli version?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the action anyway uses "released" GH assets for the CTF as we're after the release to GH, so I download everything required from the same released asset set (using curl for the CTF and our GH action for the CLI)

…and triggers

On-behalf-of: Gerald Morrison (SAP) <[email protected]>
Signed-off-by: Gerald Morrison (SAP) <[email protected]>
…n token lifetime and usage

On-behalf-of: Gerald Morrison (SAP) <[email protected]>
Signed-off-by: Gerald Morrison (SAP) <[email protected]>
… for cleaner output

On-behalf-of: Gerald Morrison (SAP) <[email protected]>
Signed-off-by: Gerald Morrison (SAP) <[email protected]>
@hilmarf
Copy link
Member

hilmarf commented Apr 30, 2025

if PRs don't have an issue linked, I still believe you should add them to the project board... otherwise you'll probably forget them, right?

@jakobmoellerdev
Copy link
Contributor

If prs dont have an issue, it is time for an issue :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants