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

Improve tutorial rundoc determinism #47

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Improve tutorial rundoc determinism #47

merged 1 commit into from
Oct 21, 2024

Conversation

edmorley
Copy link
Member

@edmorley edmorley commented Oct 21, 2024

To try and prevent PRs being opened every week even if nothing has actually changed.

Specifically:

  • Uses --pull-policy if-not-present to avoid the builder image SHA from ended up in the logs.
  • Replaces timestamps, bundler output, image digests etc in the pack build output.
  • Uses a fake image digest in the docker image ls output.

GUS-W-17029412.

@edmorley edmorley self-assigned this Oct 21, 2024
@edmorley edmorley requested a review from a team as a code owner October 21, 2024 15:24
@edmorley
Copy link
Member Author

For what this looks like, see:
https://github.com/heroku/buildpacks/pull/46/files

(I've triggered it from this branch)

Copy link
Member

@Malax Malax left a comment

Choose a reason for hiding this comment

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

Thank you!

To try and prevent PRs being opened every week even if
nothing has actually changed.

Specifically:
- Uses `--pull-policy if-not-present` to avoid the builder
  image SHA from ended up in the logs.
- Replaces timestamps, bundler output, image digests etc
  in the `pack build` output
- Uses a fake image digest in the `docker image ls` output
@edmorley edmorley merged commit cf82e61 into main Oct 21, 2024
2 checks passed
@edmorley edmorley deleted the rundoc-determinism branch October 21, 2024 16:29
@edmorley
Copy link
Member Author

After merging the latest updates PR, and then triggering the updater again - it now correctly no-ops with no changes (and thus no new PR):
https://github.com/heroku/buildpacks/actions/runs/11444641081/job/31839968046#step:8:76

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