Skip to content

Commit

Permalink
delete
Browse files Browse the repository at this point in the history
  • Loading branch information
iQQBot committed Apr 24, 2024
1 parent 9b7ab6a commit 45e666b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .github/actions/delete-preview/metadata.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: "Delete preview environment"
description: "Deletes a preview environment"
inputs:
sa_key:
description: "The service account key to use when authenticating with GCP"
required: true
name:
description: "The name of the preview environment"
required: true
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/preview-env-delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:
needs: [create-runner]
steps:
- uses: actions/checkout@v4
- name: Setup Environment
uses: ./.github/actions/setup-environment
with:
identity_provider: ${{ secrets.DEV_PREVIEW_PROVIDER }}
service_account: ${{ secrets.DEV_PREVIEW_SA }}
leeway_segment_key: ${{ secrets.LEEWAY_SEGMENT_KEY }}
- name: Delete preview environment
uses: ./.github/actions/delete-preview
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/workspace-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ jobs:
needs: [configuration, infrastructure, check, create-runner]
if: inputs.skip_delete != 'true' && always()
runs-on: ${{ needs.create-runner.outputs.label }}
container:
image: eu.gcr.io/gitpod-core-dev/dev/dev-environment:pd-test-new-preview-gha.24525
steps:
- uses: actions/checkout@v4
- name: Setup Environment
Expand Down

0 comments on commit 45e666b

Please sign in to comment.