Skip to content

Commit 5e79678

Browse files
committed
Ditch previewctl hacks
1 parent db97cc1 commit 5e79678

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/workspace-integration-tests.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ jobs:
3333
- /tmp:/tmp
3434
outputs:
3535
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
3837
steps:
3938
# sometimes auth fails with:
4039
# google-github-actions/setup-gcloud failed with: EACCES: permission denied, mkdir '/__t/gcloud'
@@ -85,18 +84,6 @@ jobs:
8584
echo "name=workspace-integration-test-${{ github.run_id }}-${{ github.run_attempt }}"
8685
} >> $GITHUB_OUTPUT
8786
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"
10087
- name: Slack Notification
10188
uses: rtCamp/action-slack-notify@v2
10289
if: failure()
@@ -119,7 +106,6 @@ jobs:
119106
name: ${{ needs.configuration.outputs.name }}
120107
sa_key: ${{ secrets.GCP_CREDENTIALS }}
121108
infrastructure_provider: gce
122-
previewctl_hash: ${{needs.configuration.outputs.previewctl_hash }}
123109
large_vm: true
124110
- name: Deploy Gitpod to the preview environment
125111
if: github.event.inputs.skip_deploy != 'true'
@@ -129,7 +115,6 @@ jobs:
129115
name: ${{ needs.configuration.outputs.name }}
130116
sa_key: ${{ secrets.GCP_CREDENTIALS }}
131117
version: ${{ needs.configuration.outputs.version}}
132-
previewctl_hash: ${{needs.configuration.outputs.previewctl_hash }}
133118
wsmanager_mk2: ${{ github.event.inputs.wsman_mk2 }}
134119

135120
check:
@@ -269,4 +254,3 @@ jobs:
269254
with:
270255
name: ${{ needs.configuration.outputs.name }}
271256
sa_key: ${{ secrets.GCP_CREDENTIALS }}
272-
previewctl_hash: ${{needs.configuration.outputs.previewctl_hash }}

0 commit comments

Comments
 (0)