Skip to content

Commit

Permalink
Use KOSLI_ORG parameter in CI main_staging.yml (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
JonJagger committed Dec 13, 2023
1 parent ef3aca6 commit 9cb2ee5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ jobs:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
KOSLI_HOST: ${{ needs.variables.outputs.kosli_host }}
KOSLI_ORG: ${{ needs.variables.outputs.kosli_org }}
IMAGE_TAG: ${{ needs.variables.outputs.image_tag }}

sdlc-gate:
Expand All @@ -77,6 +78,7 @@ jobs:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
with:
KOSLI_HOST: ${{ needs.variables.outputs.kosli_host }}
KOSLI_ORG: ${{ needs.variables.outputs.kosli_org }}
IMAGE_TAG: ${{ needs.variables.outputs.image_tag }}

approve-deployment-to-beta:
Expand All @@ -86,6 +88,7 @@ jobs:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
with:
KOSLI_HOST: ${{ needs.variables.outputs.kosli_host }}
KOSLI_ORG: ${{ needs.variables.outputs.kosli_org }}
KOSLI_ENVIRONMENT: aws-beta
IMAGE_TAG: ${{ needs.variables.outputs.image_tag }}

Expand All @@ -96,6 +99,7 @@ jobs:
KOSLI_API_TOKEN: ${{ secrets.KOSLI_API_TOKEN }}
with:
KOSLI_HOST: ${{ needs.variables.outputs.kosli_host }}
KOSLI_ORG: ${{ needs.variables.outputs.kosli_org }}
KOSLI_ENVIRONMENT: aws-prod
IMAGE_TAG: ${{ needs.variables.outputs.image_tag }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sub_approve_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ on:
default: cyber-dojo
required: false
type: string
IMAGE_TAG:
KOSLI_ENVIRONMENT:
required: true
type: string
KOSLI_ENVIRONMENT:
IMAGE_TAG:
required: true
type: string

Expand Down

0 comments on commit 9cb2ee5

Please sign in to comment.