33
33
- /tmp:/tmp
34
34
outputs :
35
35
name : ${{ steps.configuration.outputs.name }}
36
- version : ${{ steps.configuration.outputs.version }}
37
- previewctl_hash : ${{ steps.set-previewctl-version.outputs.previewctl_version }}
36
+ version : ${{ steps.configuration.outputs.version }}`f
38
37
steps :
39
38
# sometimes auth fails with:
40
39
# google-github-actions/setup-gcloud failed with: EACCES: permission denied, mkdir '/__t/gcloud'
85
84
echo "name=workspace-integration-test-${{ github.run_id }}-${{ github.run_attempt }}"
86
85
} >> $GITHUB_OUTPUT
87
86
fi
88
- - name : Set previewctl version
89
- id : set-previewctl-version
90
- run : |
91
- PREVIEWCTL_VERSION=$(\
92
- gcloud container images list-tags eu.gcr.io/gitpod-core-dev/build/previewctl \
93
- --filter="tags:main-gha.*" \
94
- --limit=1 \
95
- --format=json \
96
- | jq --raw-output '.[0].tags[0]' \
97
- | cut -c 6-
98
- )
99
- echo "previewctl_version=$PREVIEWCTL_VERSION" >> "$GITHUB_OUTPUT"
100
87
- name : Slack Notification
101
88
uses : rtCamp/action-slack-notify@v2
102
89
if : failure()
@@ -119,7 +106,6 @@ jobs:
119
106
name : ${{ needs.configuration.outputs.name }}
120
107
sa_key : ${{ secrets.GCP_CREDENTIALS }}
121
108
infrastructure_provider : gce
122
- previewctl_hash : ${{needs.configuration.outputs.previewctl_hash }}
123
109
large_vm : true
124
110
- name : Deploy Gitpod to the preview environment
125
111
if : github.event.inputs.skip_deploy != 'true'
@@ -129,7 +115,6 @@ jobs:
129
115
name : ${{ needs.configuration.outputs.name }}
130
116
sa_key : ${{ secrets.GCP_CREDENTIALS }}
131
117
version : ${{ needs.configuration.outputs.version}}
132
- previewctl_hash : ${{needs.configuration.outputs.previewctl_hash }}
133
118
wsmanager_mk2 : ${{ github.event.inputs.wsman_mk2 }}
134
119
135
120
check :
@@ -269,4 +254,3 @@ jobs:
269
254
with :
270
255
name : ${{ needs.configuration.outputs.name }}
271
256
sa_key : ${{ secrets.GCP_CREDENTIALS }}
272
- previewctl_hash : ${{needs.configuration.outputs.previewctl_hash }}
0 commit comments