diff --git a/.github/workflows/close-pr.yml b/.github/workflows/close-pr.yml index db6214c..3c7d511 100644 --- a/.github/workflows/close-pr.yml +++ b/.github/workflows/close-pr.yml @@ -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 diff --git a/.github/workflows/open-pr.yml b/.github/workflows/open-pr.yml index c1bb46c..8f2122f 100644 --- a/.github/workflows/open-pr.yml +++ b/.github/workflows/open-pr.yml @@ -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 @@ -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)" \ diff --git a/.github/workflows/push-tag.yml b/.github/workflows/push-tag.yml index 7ee420f..ae6cac2 100644 --- a/.github/workflows/push-tag.yml +++ b/.github/workflows/push-tag.yml @@ -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 diff --git a/score/score.deploy.yaml b/score/score.deploy.yaml index 07cf659..b1c78fc 100644 --- a/score/score.deploy.yaml +++ b/score/score.deploy.yaml @@ -1,3 +1,5 @@ +apiVersion: config.humanitec.io/v1b1 +kind: ScoreDeployConfig workloads: - name: my-sample-app/my-sample-app specFile: ./score.yaml