-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support rustus 1.0.0 and later (#13)
The release format has changed for rustus 1.0.0. Asset names no longer include the version number, os names are no longer lowercase, `linux-musl` is no longer a choice, architecture names are slightly different, checksums are no longer available and the archive format is now `zip` rather than `tar.gz`. The `default` test scenario now runs rustus 1.0.0 and a new test scenario `version_lt_1_0_0` has been added to guarantee that the role still works with earlier rustus releases.
- Loading branch information
Showing
7 changed files
with
154 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ jobs: | |
matrix: | ||
scenario: | ||
- default | ||
- version_lt_1_0_0 | ||
- latest | ||
- systemd | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
rustus_version: "0.7.2" | ||
rustus_version: "1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
# The "version_lt_1_0_0" scenario installs a release of rustus earlier than | ||
# 1.0.0 (because the release format changed for 1.0.0) | ||
- name: Converge | ||
hosts: all | ||
vars: | ||
rustus_version: "0.7.2" | ||
tasks: | ||
# Add tasks here to test whatever you find necessary. | ||
- name: "Include usegalaxy_eu.rustus" | ||
ansible.builtin.include_role: | ||
name: "usegalaxy_eu.rustus" |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
# This is a playbook to execute Ansible tests. | ||
|
||
- name: Verify | ||
ansible.builtin.import_playbook: ../default/verify.yml | ||
vars: | ||
rustus_version: "latest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters