Skip to content

Commit

Permalink
wip: Switch auth file format from "openrc.sh" to "clouds.yaml"
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed May 4, 2024
1 parent 6be8324 commit 93ffa6f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/create-instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ jobs:

- name: Create instance
run: |
source ~/app-cred-morpho-cloud-portal_github-runner-openrc.sh > /dev/null 2>&1
OS_CLOUD=BIO180006_IU # Select openstack auth settings defined in "clouds.yaml"
source ~/venv/bin/activate
echo Creating instance "$INSTANCE_NAME"
Expand Down Expand Up @@ -99,7 +100,8 @@ jobs:
- name: Poll instance status
id: instance_poll
run: |
source ~/app-cred-morpho-cloud-portal_github-runner-openrc.sh > /dev/null 2>&1
OS_CLOUD=BIO180006_IU # Select openstack auth settings defined in "clouds.yaml"
source ~/venv/bin/activate
echo Polling instance "$INSTANCE_NAME"
Expand Down Expand Up @@ -155,7 +157,8 @@ jobs:
id: instance_metadata
if: ${{ steps.instance_poll.outputs.status == 'complete' }}
run: |
source ~/app-cred-morpho-cloud-portal_github-runner-openrc.sh > /dev/null 2>&1
OS_CLOUD=BIO180006_IU # Select openstack auth settings defined in "clouds.yaml"
source ~/venv/bin/activate
echo Retrieving metadata from instance "$INSTANCE_NAME"
Expand Down

0 comments on commit 93ffa6f

Please sign in to comment.