File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -51,11 +51,12 @@ jobs:
51
51
- name : Create instance
52
52
id : instance_create
53
53
run : |
54
- echo Creating instance associated with issue $NUMBER
55
54
source ~/app-cred-morpho-cloud-portal_github-runner-openrc.sh > /dev/null 2>&1
56
55
source ~/venv/bin/activate
57
56
58
57
instance_name="morpho-cloud-portal_instance-$NUMBER"
58
+ echo Creating instance "$instance_name"
59
+
59
60
openstack server create "$instance_name" \
60
61
--nic net-id="auto_allocated_network" \
61
62
--security-group "default" \
@@ -111,9 +112,9 @@ jobs:
111
112
from : MorphoCloudPortal
112
113
to : ${{ steps.extract.outputs.email }}
113
114
subject :
114
- " [MorphoCloudPortal] Instance ${{ github.event.issue.number }}
115
+ " [MorphoCloudPortal] Instance ${{ steps.instance_create.outputs.instance_name }}
115
116
created"
116
- body : Instance ${{ github.event.issue.number }} created
117
+ body : Instance ${{ steps.instance_create.outputs.instance_name }} created
117
118
118
119
- name : Add "instance:created" label
119
120
if : ${{ success() }}
You can’t perform that action at this time.
0 commit comments