@@ -22,38 +22,43 @@ jobs:
22
22
runs-on : ubuntu-22.04
23
23
strategy :
24
24
fail-fast : false # allow other matrix jobs to continue even if one fails
25
- matrix : # build RL8+OFED, RL9+OFED base images
25
+ matrix : # build RL8+OFED, RL9+OFED new base images
26
26
os_version :
27
27
- RL8
28
28
- RL9
29
29
build :
30
- - openstack.openhpc-latest
30
+ - openstack.openhpc-ofed
31
+
31
32
env :
32
33
ANSIBLE_FORCE_COLOR : True
33
34
OS_CLOUD : openstack
34
- CI_CLOUD : ${{ vars.CI_CLOUD }}
35
+ CI_CLOUD : ${{ github.event.inputs.ci_cloud }}
35
36
steps :
36
37
- uses : actions/checkout@v2
37
38
39
+ - name : Record settings for CI cloud
40
+ run : |
41
+ echo CI_CLOUD: ${{ env.CI_CLOUD }}
42
+
38
43
- name : Setup ssh
39
44
run : |
40
45
set -x
41
46
mkdir ~/.ssh
42
- echo "${{ secrets[format('{0}_SSH_KEY', vars .CI_CLOUD)] }}" > ~/.ssh/id_rsa
47
+ echo "${{ secrets[format('{0}_SSH_KEY', env .CI_CLOUD)] }}" > ~/.ssh/id_rsa
43
48
chmod 0600 ~/.ssh/id_rsa
44
49
shell : bash
45
50
46
51
- name : Add bastion's ssh key to known_hosts
47
52
run : cat environments/.stackhpc/bastion_fingerprints >> ~/.ssh/known_hosts
48
53
shell : bash
49
-
54
+
50
55
- name : Install ansible etc
51
56
run : dev/setup-env.sh
52
-
57
+
53
58
- name : Write clouds.yaml
54
59
run : |
55
60
mkdir -p ~/.config/openstack/
56
- echo "${{ secrets[format('{0}_CLOUDS_YAML', vars .CI_CLOUD)] }}" > ~/.config/openstack/clouds.yaml
61
+ echo "${{ secrets[format('{0}_CLOUDS_YAML', env .CI_CLOUD)] }}" > ~/.config/openstack/clouds.yaml
57
62
shell : bash
58
63
59
64
- name : Setup environment
0 commit comments