Skip to content

Commit

Permalink
HUMCTL_VERSION: '0.23.1' - --wait
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Apr 26, 2024
1 parent 9df3bf4 commit fd9fa29
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
apps: ["order-service", "product-service", "store-front", "makeline-service", "store-admin"]
runs-on: ubuntu-22.04
env:
HUMCTL_VERSION: '0.21.1'
HUMCTL_VERSION: '0.23.1'
steps:
- name: checkout code
uses: actions/checkout@v3
Expand All @@ -23,7 +23,8 @@ jobs:
run: |
humctl score validate apps/${{ matrix.apps }}/score.yaml \
--token ${{ secrets.HUMANITEC_TOKEN }} \
--org ${{ secrets.HUMANITEC_ORG }}
--org ${{ secrets.HUMANITEC_ORG }} \
--strict
score-compose:
runs-on: ubuntu-22.04
env:
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ humanitec-deploy:
humctl score deploy \
--deploy-config apps/score.deploy.yaml \
--env ${HUMANITEC_ENVIRONMENT} \
--app ${HUMANITEC_APPLICATION}
--app ${HUMANITEC_APPLICATION} \
--wait
15 changes: 5 additions & 10 deletions apps/score.deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
apiVersion: config.humanitec.io/v1b1
kind: ScoreDeployConfig
workloads:
- name: store-demo/order-service
specFile: ./order-service/score.yaml
- specFile: ./order-service/score.yaml
extensionsFile: ./order-service/humanitec.score.yaml
- name: store-demo/product-service
specFile: ./product-service/score.yaml
- specFile: ./product-service/score.yaml
extensionsFile: ./product-service/humanitec.score.yaml
- name: store-demo/store-front
specFile: ./store-front/score.yaml
- specFile: ./store-front/score.yaml
extensionsFile: ./store-front/humanitec.score.yaml
- name: store-demo/makeline-service
specFile: ./makeline-service/score.yaml
- specFile: ./makeline-service/score.yaml
extensionsFile: ./makeline-service/humanitec.score.yaml
- name: store-demo/store-admin
specFile: ./store-admin/score.yaml
- specFile: ./store-admin/score.yaml
extensionsFile: ./store-admin/humanitec.score.yaml

0 comments on commit fd9fa29

Please sign in to comment.