Skip to content

Commit

Permalink
MRG: Merge pull request #7 from aerosense-ai/devops/ensure-subscripti…
Browse files Browse the repository at this point in the history
…ons-dont-expire

Ensure service is deployed with non-expiring subscriptions
  • Loading branch information
cortadocodes committed Feb 23, 2023
2 parents b3f865b + 76b2d85 commit b7a02a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: cd

on:
push:
Expand Down Expand Up @@ -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 }}
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "panel-codes-service"
version = "0.1.0"
version = "0.1.1"
description = ""
authors = ["time-trader"]
license = "MIT"
Expand Down

0 comments on commit b7a02a3

Please sign in to comment.