Skip to content

Commit

Permalink
Run jobs in sequence - fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Dec 14, 2023
1 parent c645c35 commit c4d4abd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- staging
pull_request:
types:
- opened
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/k8s.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Deploy stack in k8s
on:
workflow_run:
workflows: ["AWS ECR Builder"]
workflows: ["AWS ECR Builder", "AWS Model Builder"]
types:
- completed
jobs:
Expand Down Expand Up @@ -37,10 +37,6 @@ jobs:
if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main'
run: aws eks --region us-west-1 update-kubeconfig --name devseed-k8s-staging

- name: Update kube-config
if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main'
run: kubectl get pods

- name: Update values.yaml
run: cat sam-helm-charts/values.yaml

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- staging
pull_request:
types:
- opened
Expand Down

0 comments on commit c4d4abd

Please sign in to comment.