Skip to content

Commit

Permalink
wip: Add initial support for creating instance
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed May 2, 2024
1 parent 4cd3d48 commit ec58309
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/create-instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ jobs:
steps:
- run: |
echo Creating instance associated with issue $NUMBER
source ~/app-cred-morpho-cloud-portal_github-runner-openrc.sh > /dev/null 2>&1
source venv/bin/activate
openstack server create "morpho-cloud-portal_instance-$NUMBER" \
--nic net-id="auto_allocated_network" \
--security-group "default" \
--flavor g3.large \
--image "Featured-Ubuntu22" \
--wait
openstack console log show "morpho-cloud-portal_instance-$NUMBER"
env:
NUMBER: ${{ github.event.issue.number }}
Expand Down

0 comments on commit ec58309

Please sign in to comment.