Skip to content

Commit

Permalink
humctl 0.21.0 score-deploy-wait (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Apr 12, 2024
1 parent 98d8640 commit 4e81e67
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/close-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- closed
env:
ENVIRONMENT_ID: pr-${{ github.event.number }}
HUMCTL_VERSION: '0.19.1'
HUMCTL_VERSION: '0.21.0'
jobs:
ob-pr-closed:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/open-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
SCORE_COMPOSE_VERSION: 'latest'
SCORE_HELM_VERSION: 'latest'
WORKLOAD_NAME: my-sample-app
HUMCTL_VERSION: '0.19.1'
HUMCTL_VERSION: '0.21.0'
jobs:
build-run-test-push:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
| jq -r .digest)" >> ${{ github.env }}
- name: humctl score deploy
run: |
HUMANITEC_CLI_ALPHA_FEATURES=score-deploy humctl score deploy \
HUMANITEC_CLI_ALPHA_FEATURES=score-deploy-wait humctl score deploy \
--deploy-config score/score.deploy.yaml \
--image ${{ env.IMAGE_NAME }}@${IMAGE_DIGEST} \
--message "$(curl -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" "${{ github.event.pull_request.commits_url }}?per_page=10" | jq -r .[-1].commit.message)" \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
IMAGE_NAME: ${{ secrets.REGISTRY_LOCATION }}-docker.pkg.dev/${{ secrets.PROJECT_ID }}/${{ secrets.REGISTRY_NAME }}/my-sample-app
ENVIRONMENT_ID: development
WORKLOAD_NAME: my-sample-app
HUMCTL_VERSION: '0.19.1'
HUMCTL_VERSION: '0.21.0'
jobs:
build-push:
runs-on: ubuntu-22.04
Expand Down
2 changes: 2 additions & 0 deletions score/score.deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
apiVersion: config.humanitec.io/v1b1
kind: ScoreDeployConfig
workloads:
- name: my-sample-app/my-sample-app
specFile: ./score.yaml
Expand Down

0 comments on commit 4e81e67

Please sign in to comment.