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

Replace choffmeister/git-describe-semver GH action #1299

Merged
merged 1 commit into from
Jan 13, 2024

Conversation

atc0005
Copy link
Owner

@atc0005 atc0005 commented Jan 12, 2024

Replace the (currently) problematic GitHub Action with a custom job (git_describe_semver) that explicitly uses the v0.3.11 version of the Docker container to generate the release asset release version.

That version is captured as the job's version output which is referenced by other jobs in the build-images and release-build workflows. Those jobs are set as dependent on the git_describe_semver job so that they only run after the asset release version is computed.

Since the value is computed once at the start of the workflow, I've updated the actions/checkout step for each job to use the default checkout option(s) instead of pulling the full repo history each time. This should (somewhat) optimize that step in the build process.

refs GH-1276

@atc0005 atc0005 added bug Something isn't working dependencies CI labels Jan 12, 2024
@atc0005 atc0005 added this to the Next Release milestone Jan 12, 2024
@atc0005 atc0005 self-assigned this Jan 12, 2024
@atc0005 atc0005 force-pushed the pr1276-replace-git-describe-semver-gh-action branch from db2d7fb to 84f1404 Compare January 12, 2024 23:30
Replace the (currently) problematic GitHub Action with a
custom job (`git_describe_semver`) that explicitly uses the
v0.3.11 version of the Docker container to generate the release
asset release version.

That version is captured as the job's `version` output which
is referenced by other jobs in the build-images and
release-build workflows. Those jobs are set as dependent on
the `git_describe_semver` job so that they only run after
the asset release version is computed.

Since the value is computed once at the start of the workflow,
I've updated the `actions/checkout` step for each job to use
the default checkout option(s) instead of pulling the full
repo history each time. This should (somewhat) optimize that
step in the build process.

NOTE: Earlier prototype or "scratch" / "testing" jobs and steps
are retained in commented out form for future reference.

refs GH-1276
@atc0005 atc0005 force-pushed the pr1276-replace-git-describe-semver-gh-action branch from eaa464b to 03ccd45 Compare January 13, 2024 16:34
@atc0005 atc0005 merged commit 488c0fd into master Jan 13, 2024
15 checks passed
@atc0005 atc0005 deleted the pr1276-replace-git-describe-semver-gh-action branch January 13, 2024 16:40
atc0005 added a commit that referenced this pull request Feb 1, 2024
Replace the (currently) problematic GitHub Action used in the scheduled
monthly image build workflow with a custom job (`git_describe_semver`)
that explicitly uses the v0.3.11 version of the Docker container to
generate the release asset release version.

That version is captured as the job's `version` output which is
referenced by the `build_all_images_using_makefile` job in the
scheduled-monthly workflow. That job is set as dependent on the
`git_describe_semver` job so that they only run after the asset
release version is computed.

Since the value is computed once at the start of the workflow,
I've updated the `actions/checkout` step for the
`build_all_images_using_makefile` job to use the default checkout
option(s) instead of pulling the full repo history each time. This
should (somewhat) optimize that step in the build process.

refs GH-1299
refs GH-1276
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CI dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant