Skip to content

Commit 101f696

Browse files
committed
temp workflow changes
1 parent ac08548 commit 101f696

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

.github/workflows/fatimage-cron.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,43 @@ jobs:
2222
runs-on: ubuntu-22.04
2323
strategy:
2424
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
2626
os_version:
2727
- RL8
2828
- RL9
2929
build:
30-
- openstack.openhpc-latest
30+
- openstack.openhpc-ofed
31+
3132
env:
3233
ANSIBLE_FORCE_COLOR: True
3334
OS_CLOUD: openstack
34-
CI_CLOUD: ${{ vars.CI_CLOUD }}
35+
CI_CLOUD: ${{ github.event.inputs.ci_cloud }}
3536
steps:
3637
- uses: actions/checkout@v2
3738

39+
- name: Record settings for CI cloud
40+
run: |
41+
echo CI_CLOUD: ${{ env.CI_CLOUD }}
42+
3843
- name: Setup ssh
3944
run: |
4045
set -x
4146
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
4348
chmod 0600 ~/.ssh/id_rsa
4449
shell: bash
4550

4651
- name: Add bastion's ssh key to known_hosts
4752
run: cat environments/.stackhpc/bastion_fingerprints >> ~/.ssh/known_hosts
4853
shell: bash
49-
54+
5055
- name: Install ansible etc
5156
run: dev/setup-env.sh
52-
57+
5358
- name: Write clouds.yaml
5459
run: |
5560
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
5762
shell: bash
5863

5964
- name: Setup environment

0 commit comments

Comments
 (0)