docs(workflows): [INFRA-437] add multi-ecosystem examples and CI/CD documentation#183
Open
docs(workflows): [INFRA-437] add multi-ecosystem examples and CI/CD documentation#183
Conversation
…ecks and detailed logging
…tion and promotion logging
…dedicated directory
…cess is just not working
…implify packaging steps
…t fixtures and validations
… actions Add delete-release-bundle, create-release-bundle, and promote-release-bundle composite actions. Collapse three separate jobs into a single release-bundle job in the example workflow. Reusable workflow delegates to the composite action.
arrowplum
commented
Mar 27, 2026
Comment on lines
+106
to
+115
| # Our internal FPM containers require separate OIDC auth (see INFRA-430). | ||
| # The fpm-extra matrix field embeds the distro identifier so deploy-artifacts | ||
| # can identify the deb codename (see get_codename_for_deb in package_utils.sh). | ||
| # Output follows Aerospike package naming guidelines. | ||
| docker run --rm \ | ||
| -v "$PWD/build:/work" -w /work \ | ||
| tenzer/fpm \ | ||
| -s dir -t "$PKG_TYPE" -n hi -v "$VERSION" -a native \ | ||
| ${{ matrix.fpm-extra }} \ | ||
| --prefix /usr/bin \ |
Contributor
Author
There was a problem hiding this comment.
See comment. Needs to shift to our own build container once oidc is working.
| --bundle-name "${{ inputs.jf-bundle-name }}" \ | ||
| --version "${{ inputs.version }}" \ | ||
| $dry_run_arg | ||
| uses: ./shared-workflows/.github/actions/create-release-bundle |
There was a problem hiding this comment.
Should you still use ${{ inputs.gh-checkout-path }} here?
Contributor
Author
There was a problem hiding this comment.
No one of the restrictions with extracting them to actions was that we can't have that path be dynamic (apparently)
| version: ${{ inputs.version }} | ||
| jf-project: ${{ inputs.jf-project }} | ||
| dry-run: ${{ inputs.dry-run }} | ||
| entrypoint-path: shared-workflows/.github/workflows/create-release-bundle/entrypoint.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Jira
https://aerospike.atlassian.net/browse/INFRA-437
Changes
Example workflows
NpmHelloWorldandJavaHelloWorldtest apps underexecute-build/test_apps/example_artifacts-cicd.yaml,example_composable-matrix.yaml, andexample_reusable-integration.yamlComposite actions
Adding the bundling behaviour in the example workflow highlit a bunch of custom steps that could be extracted into actions. Collect and promote were two that even though fairly trivial had been done in user's own workflows.
collect-build-artifacts: merge per-matrix GitHub artifacts into a single artifactcreate-release-bundle: create a JFrog release bundle from build specsdelete-release-bundle: check for and delete existing bundle versions before re-deploypromote-release-bundle: promote a bundle to a target environmentreusable_create-release-bundle.yamlnow delegates to the composite actionTests
Documentation
CICD-composable.md: composable workflow guide with build-info architecture and matrix patternsCICD-standard.md: orchestrated workflow guide with matrix-json usage and ecosystem setupTest plan
bats .github/workflows/deploy-artifacts/tests/bats/passes locally