Skip to content

Commit 1115271

Browse files
authored
use statging to test upgrades and allow for dispatch (#273)
1 parent 2ba4945 commit 1115271

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Molecule Tests
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches:
67
- main

molecule/upgrade/vars/converge.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
ondemand_package: 'latest'
2+
3+
# test against staging to catch any issues upgrading
4+
apt_repo_url: "https://apt.osc.edu/ondemand/staging/4.0/ondemand-release-web_4.0.0-{{ deb_distro }}_all.deb"
5+
rpm_repo_url: "https://yum.osc.edu/ondemand/staging/4.0/ondemand-release-web-4.0-1.{{ el_distro }}.noarch.rpm"

molecule/upgrade/vars/prepare.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
ondemand_package: "ondemand{% if ansible_os_family == 'RedHat' %}-{% else %}={% endif %}3.1.10"
1+
ondemand_package: "ondemand{% if ansible_os_family == 'RedHat' %}-{% else %}={% endif %}3.1.13"
22
disable_htcacheclean: true
3-
apt_repo_url: "https://apt.osc.edu/ondemand/3.1/ondemand-release-web_3.1.2-{{ deb_distro }}_all.deb"
4-
rpm_repo_url: "https://yum.osc.edu/ondemand/3.1/ondemand-release-web-3.1-1.{{ el_distro }}.noarch.rpm"
3+
4+
# test against staging to catch any issues upgrading
5+
apt_repo_url: "https://apt.osc.edu/ondemand/staging/3.1/ondemand-release-web_3.1.2-{{ deb_distro }}_all.deb"
6+
rpm_repo_url: "https://yum.osc.edu/ondemand/staging/3.1/ondemand-release-web-3.1-1.{{ el_distro }}.noarch.rpm"

0 commit comments

Comments
 (0)