From 76b2d856d7f1b549bf9971578977584db658cdcb Mon Sep 17 00:00:00 2001 From: cortadocodes Date: Thu, 23 Feb 2023 15:39:52 +0000 Subject: [PATCH] OPS: Ensure service is deployed with non-expiring subscriptions --- .github/workflows/cd.yaml | 9 ++++----- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 82b42dc..fc1ffd5 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -1,4 +1,4 @@ -name: ci +name: cd on: push: @@ -121,14 +121,13 @@ jobs: flags: '--allow-unauthenticated' - name: Show deployed service URL - run: | - echo "${{ steps.deploy-service.outputs.url }}" + run: echo "${{ steps.deploy-service.outputs.url }}" - name: Create topic and subscription - uses: octue/create-push-subscription@0.1.0 + uses: octue/create-push-subscription@0.2.1 with: project_name: ${{ needs.info.outputs.gcp_project_name }} service_namespace: ${{ needs.info.outputs.gcp_resource_affix }} service_name: ${{ needs.info.outputs.gcp_service_name }} - revision_tag: ${{ needs.info.outputs.version_slug }} + service_revision_tag: ${{ needs.info.outputs.version_slug }} push_endpoint: ${{ steps.deploy-service.outputs.url }} diff --git a/pyproject.toml b/pyproject.toml index 427e245..46e1d05 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "panel-codes-service" -version = "0.1.0" +version = "0.1.1" description = "" authors = ["time-trader"] license = "MIT"