Skip to content

Conversation

@transt
Copy link
Contributor

@transt transt commented Oct 18, 2024

Add the directory keekz-ubuntu-extras under ironic-images.
Update .github/workflows/build-ironic-images.yaml to build ubuntu image.

Test run on a fork repo:
Screenshot 2024-10-18 at 10 03 49 AM

Copy link
Contributor

@cardoe cardoe left a comment

Choose a reason for hiding this comment

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

This should just be generically called "ubuntu-$release" or some such. Definitely no keekz in the name and extras was there just cause that's the package pulled in.

- name: Set timestamp environment variable
run: echo "TIMESTAMP=$(git show --no-patch --no-notes --pretty='%cd' --date=format:'%Y%m%d%H%M%S' ${{ env.COMMIT_HASH }})" >> $GITHUB_ENV

- name: Publish Release
Copy link
Contributor

Choose a reason for hiding this comment

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

Now that we're doing a matrix I think we'll have to split up the release into its own step. Because this will cause two release tags to be published. So I think each build will need to use the https://github.com/actions/upload-artifact to upload the built bits. Then the create release step will need to download those artifacts and make the release from that so that there's one release with all the files.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used timestamp of the commit sha so that it would be one release. The previous version generated a timestamp when the job run so with two jobs, you get two timestamp and 2 releases. The image that I added to the PR shows the one release and the three built files.

Copy link
Contributor

Choose a reason for hiding this comment

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

So the GitHub Actions matrix runner will run each one separately to completion. You are creating the release in the matrix so it'll make 2 releases on each run instead of one combined release.

Copy link
Contributor

Choose a reason for hiding this comment

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

https://github.com/argoproj/argo-workflows/blob/main/.github/workflows/release.yaml that's an example of a matrix then coming back together to one release.

@transt transt requested a review from cardoe October 18, 2024 22:54
@transt transt force-pushed the PUC-535 branch 2 times, most recently from 9732597 to 0e15603 Compare October 25, 2024 19:55
chore(deps): update helm release argo-cd to v7.6.12
@cardoe cardoe added this pull request to the merge queue Oct 25, 2024
Merged via the queue into rackerlabs:main with commit 2fc3948 Oct 25, 2024
10 checks passed
@transt transt deleted the PUC-535 branch October 25, 2024 21:18
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.

2 participants