Skip to content

Commit

Permalink
build-release: record the sha256sum of the release tarball
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 committed Nov 17, 2021
1 parent 430bd7b commit 033c94f
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 @@ -49,6 +49,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 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 033c94f

Please sign in to comment.