Skip to content

Commit

Permalink
chore: separate tools deployment from chart deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmueller committed Oct 5, 2023
1 parent d1e6834 commit 53e4734
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/deploy-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ env:
TAG: sha-${{ github.sha }}

jobs:
deploy-tools:
uses: ./.github/workflows/deploy-tools.yaml
secrets:
OPENSHIFT_SERVER: ${{ secrets.OPENSHIFT_SERVER }}
OPENSHIFT_TOKEN: ${{ secrets.OPENSHIFT_TOKEN }}
NAMESPACE_PREFIX: ${{ secrets.NAMESPACE_PREFIX }}

deploy-to-openshift-development:
runs-on: ubuntu-latest
environment:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ jobs:
uses: ./.github/workflows/test.yaml
secrets: inherit

deploy:
deploy-tools:
uses: ./.github/workflows/deploy-tools.yaml
secrets:
OPENSHIFT_SERVER: ${{ secrets.OPENSHIFT_SERVER }}
OPENSHIFT_TOKEN: ${{ secrets.OPENSHIFT_TOKEN }}
NAMESPACE_PREFIX: ${{ secrets.NAMESPACE_PREFIX }}

deploy-chart:
needs: [test]
uses: ./.github/workflows/deploy-chart.yaml
secrets:
Expand Down

0 comments on commit 53e4734

Please sign in to comment.