Skip to content

Commit

Permalink
Merge pull request #221 from hms-dbmi-cellenics/configure-staging
Browse files Browse the repository at this point in the history
Update pipeline-spawn-right-to-api.yaml
  • Loading branch information
kafkasl authored Apr 8, 2022
2 parents 9047f0a + dcd92ee commit afdfd94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,12 +152,13 @@ jobs:
name: Build Docker images
run: |-
docker build --target builder \
--no-cache\
--cache-from=$PREVIOUS_IMAGE_NAME-builder \
--build-arg GITHUB_PAT=$GITHUB_PAT \
--tag $IMAGE_NAME-builder .
docker build --target prod \
--no-cache\
--cache-from=$IMAGE_NAME-builder \
--cache-from=$PREVIOUS_IMAGE_NAME \
--build-arg GITHUB_PAT=$GITHUB_PAT \
--tag $IMAGE_NAME .
env:
Expand Down
4 changes: 2 additions & 2 deletions chart-infra/templates/pipeline-spawn-right-to-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rules:
resources: ["pods"]
verbs: ["get", "list", "patch", "delete"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: api-state-machine-can-spawn-pipeline-components
Expand All @@ -27,4 +27,4 @@ subjects:
namespace: {{ regexReplaceAll "^pipeline-" .Release.Namespace "api-" }}
- kind: Group
apiGroup: rbac.authorization.k8s.io
name: state-machine-runner-group
name: state-machine-runner-group

0 comments on commit afdfd94

Please sign in to comment.