Skip to content

Commit

Permalink
preempt cluster creation
Browse files Browse the repository at this point in the history
  • Loading branch information
withinboredom committed Mar 13, 2023
1 parent ec07778 commit 0e1ce20
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/Preview-Env-Create.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,18 @@ jobs:
url: https://kube.bottled.codes
access-key: ${{ secrets.LOFT_ACCESS_KEY }}

- name: Create Preview Cluster
run: |
loft create vcluster once-preview${{ github.event.pull_request.number }} --project swytch --use --template preview-cluster --skip-wait
- name: Build image
run: |
loft use cluster
# build the current sha from the current branch
devspace use namespace once
devspace build -t ${{ github.sha }} --no-warn
- name: Create Preview Cluster
- name: Wait for Preview Cluster
run: |
loft create vcluster once-preview${{ github.event.pull_request.number }} --project swytch --use --template preview-cluster
Expand Down

0 comments on commit 0e1ce20

Please sign in to comment.