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

build-release: record the sha256sum of the release tarball #338

Merged
merged 1 commit into from
Dec 3, 2021

Conversation

dmsimard
Copy link
Contributor

This way we can use it in tests later.
In the meantime it can be picked up by ara.

@dmsimard dmsimard force-pushed the build-release-checksum branch from 51440dd to 033c94f Compare November 17, 2021 23:33
@dmsimard
Copy link
Contributor Author

@Ompragash ^ I added a register so it could be used a starting point for the testing you have been experimenting with

This way we can use it in tests later.
In the meantime it can be picked up by ara.
@dmsimard dmsimard force-pushed the build-release-checksum branch from 033c94f to 7140912 Compare December 3, 2021 13:50
@dmsimard
Copy link
Contributor Author

dmsimard commented Dec 3, 2021

Been running with this cherry-picked for a while, should be good to merge it and we can leverage it to do more testing later.

@dmsimard dmsimard merged commit daa7333 into ansible-community:main Dec 3, 2021
- name: Record the sha256sum for the built tarball
command: sha256sum {{ _release_archive }}
changed_when: false
register: _tarball_checksum
Copy link
Collaborator

Choose a reason for hiding this comment

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

Shouldn't this be used somewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ompragash had a WIP to test the sha256 against what's published to pypi -- it'll be meant for that.
We can remove it until then if you feel strongly about it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

No, just wanted to make sure that this wasn't an oversight :)

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