-
Couldn't load subscription status.
- Fork 308
Re-factor fluent-bit image build CI workflows #1526
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
Re-factor fluent-bit image build CI workflows #1526
Conversation
Signed-off-by: Josh Baird <jbaird@galileo.io>
|
@marcofranssen Re-factor of the fluent-bit CI workflows with your changes incorporated from #1515 |
| sources: | | ||
| ${{ env.GHCR_REPO }}@${{ needs.build-debug.outputs.digest_amd64 }} | ||
| ${{ env.GHCR_REPO }}@${{ needs.build-debug.outputs.digest_arm64 }} | ||
|
No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This thing would change with .editorconfig. Maybe good idea to install the plugin for your IDEA.
| manifest: | ||
| name: Publish image manifests | ||
| runs-on: ubuntu-latest | ||
| needs: [build, build-debug,build-tags] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| needs: [build, build-debug,build-tags] | |
| needs: [build, build-debug, build-tags] |
Nit
|
|
||
| permissions: | ||
| contents: read | ||
| packages: write |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| packages: write |
The specific jobs that have to write are already below with specific permissions to allow writes.
You might even consider moving the read also to the specific jobs.
| build-debug: | ||
| name: Build/push debug image (${{ matrix.platform }}) | ||
| runs-on: ${{ matrix.runs-on }} | ||
| needs: [build-info,build-tags] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| needs: [build-info,build-tags] | |
| needs: [build-info, build-tags] |
Nit
| id: output-digests | ||
| run: | | ||
| platform="${{ matrix.platform }}" | ||
| # Convert "linux/amd64" to just amd64 for the output variable name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| # Convert "linux/amd64" to just amd64 for the output variable name | |
| # Convert "linux/amd64" or "linux/arm64" to just amd64 or arm64 for the output variable name |
| build: | ||
| name: Build/push image (${{ matrix.platform }}) | ||
| runs-on: ${{ matrix.runs-on }} | ||
| needs: [build-info,build-tags] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| needs: [build-info,build-tags] | |
| needs: [build-info, build-tags] |
Nit
|
@joshuabaird I have rebased #1515 once more on the master branch, so diff reduced and handled conflicts with all the other improvements done in other PRs. You might want to double check copying some stuff. I can also change my PR to just have the docs update and push workflow trigger adjustement afterwards, so the PR doesn't doe the other changes. Then basically both PRs still add value. |
|
@marcofranssen I think I addressed all of your feedback. Thanks! |
|
please resolve conflicts |
|
cc @wanjunlei |
|
That's fantastic! Thanks @joshuabaird |
df252f4 to
f894065
Compare
Signed-off-by: juicer <cwguoz@gmail.com> Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: juicer <cwguoz@gmail.com> Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: chengweiguo <chengweiguo@bytedance.com> Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: juicer <cwguoz@gmail.com> Signed-off-by: Josh Baird <jbaird@galileo.io>
Remove the redundant "configmaps" from resources. Signed-off-by: duj4 <boyu.du@yahoo.com> Signed-off-by: Josh Baird <jbaird@galileo.io>
- Updated VERSION file - Updated manifest files - Updated values.yaml in Helm chart Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: joshuabaird <6271918+joshuabaird@users.noreply.github.com> Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Signed-off-by: Josh Baird <jbaird@galileo.io>
f894065 to
97de29d
Compare
|
Closing this in favor of #1531 |
Re-factors the CI workflows for building & pushing the fluent-bit images to match what was previously done for the fluentd image here.
The main motivators behind this:
amd64andarm64images on native runners