Skip to content

Commit

Permalink
build-release: record the sha256sum of the release tarball (#338)
Browse files Browse the repository at this point in the history
This way we can use it in tests later.
In the meantime it can be picked up by ara.
  • Loading branch information
dmsimard authored Dec 3, 2021
1 parent 80df003 commit daa7333
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/build-release/tasks/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@
chdir: "{{ playbook_dir | dirname }}"
creates: "{{ _release_archive }}"

# We can use this to test that the release on PyPi matches later (for example)
- name: Record the sha256sum for the built tarball
command: sha256sum {{ _release_archive }}
changed_when: false
register: _tarball_checksum

- name: Compute a galaxy-requirements.yml file for the release
command: >-
poetry run {{ role_path }}/files/deps-to-galaxy.py --depsfile {{ antsibull_data_dir }}/{{ _deps_file }}
Expand Down

0 comments on commit daa7333

Please sign in to comment.