File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ type listconnections struct {
4040
4141type connection struct {
4242 Name * string `json:"name,omitempty"`
43+ Labels * map [string ]string `json:"labels,omitempty"`
4344 Description string `json:"description,omitempty"`
4445 ConnectorVersion * string `json:"connectorVersion,omitempty"`
4546 ConnectorDetails * connectorDetails `json:"connectorDetails,omitempty"`
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ customActions:
145145- name: render-%s-integration
146146 containers:
147147 - name: render
148- image: us-docker.pkg.dev/appintegration-toolkit/images/integrationcli:%s
148+ image: us-docker.pkg.dev/appintegration-toolkit/images/integrationcli:v %s
149149 command: ['sh']
150150 args:
151151 - '-c'
@@ -154,7 +154,7 @@ customActions:
154154- name: deploy-%s-integration
155155 containers:
156156 - name: deploy
157- image: us-docker.pkg.dev/appintegration-toolkit/images/integrationcli:%s
157+ image: us-docker.pkg.dev/appintegration-toolkit/images/integrationcli:v %s
158158 command: ['sh']
159159 args:
160160 - '-c'
@@ -186,7 +186,7 @@ permissions: read-all
186186on: push
187187
188188env:
189- ENVIRONMENT: 'dev'
189+ ENVIRONMENT: ${{ vars.ENVIRONMENT }}
190190 PROJECT_ID: ${{ vars.PROJECT_ID }}
191191 REGION: ${{ vars.REGION }}
192192 WORKLOAD_IDENTITY_PROVIDER_NAME: ${{ vars.PROVIDER_NAME }}
@@ -225,7 +225,7 @@ jobs:
225225 id: 'publish-integration'
226226 uses: docker://us-docker.pkg.dev/appintegration-toolkit/images/integrationcli:%s #pin to version of choice
227227 with:
228- args: integrations apply --env=${{ env.ENVIRONMENT}} --folder=. --userlabel=${{ steps.calc-vars.outputs.SHORT_SHA }} --wait=true --proj=${{ env.PROJECT_ID }} --reg=${{ env.REGION }} --token ${{ steps.gcp-auth.outputs.access_token }}`
228+ args: integrations apply --env=${{ env.ENVIRONMENT}} --folder=. --userlabel=${{ steps.calc-vars.outputs.SHORT_SHA }} --run-tests=true -- wait=true --proj=${{ env.PROJECT_ID }} --reg=${{ env.REGION }} --token ${{ steps.gcp-auth.outputs.access_token }}`
229229
230230func GetCloudDeployYaml (integrationName string , env string ) string {
231231 if env == "" {
Original file line number Diff line number Diff line change 11#! /bin/sh
2- gcloud deploy releases create test-release-$(( RANDOM % 900 + 100 )) --project=${PROJECT_ID} --region=${LOCATION} --to-target=dev-env --delivery-pipeline=appint-sample-pipeline
2+ RELEASE_NAME=test-release
3+ gcloud deploy releases create $RELEASE_NAME --$( date +' %Y%m%d%H%M%S' ) --project=${PROJECT_ID} --region=${LOCATION} --to-target=dev --delivery-pipeline=appint-sample-pipeline
You can’t perform that action at this time.
0 commit comments