Closed 123Blessed closed 1 year ago
Hi, is this an issue when using Google Cloud Code for VSCode extension? Or is this coming from Google Cloud Build? If its the latter, could you report this bug via the Send Feedback button within the Cloud Build page in Cloud Console?
The issue is happening on github action. This is issue is not completed, it shouldn't be closed
Environment: dev (Hint: "Report Extension Issue on Github" command will fill these out for you.) Managed Dependencies: ON
Version information
Cloud Code Extension version:
VSCode version:
OS: UBUNTU
Cloud SDK: 437.0.1
Skaffold: v2.5.0
Description: I created a workflow on github action that has 2 job. The first build the image and the second deploy to GKE. for some reason the second job is not able to dfeploy to GKE becasue 'The connection to the server localhost:8080 was refused - did you specify the right host or port?'. However, when it was only one job that build and deploy to GKE, it was working fine. Any idea on how to remove this impediment?
Repro step: bellow is my workflow:
name: Low Environment Build and Deploy to GKE
on:
push:
workflow_dispatch: inputs: tags1: description: 'Scenario tags1 after deploying on command' required: false type: choice options:
ls
tags2: description: 'Scenario tags2 after deploying on command' default: 'php artisan inspire' required: true type: string
GKE_environment: description: ' Specifies Environment to run deployment against' type: choice required: true options:
env: PROJECT_ID: ${{ secrets.GKE_PROJECT }} GKE_CLUSTER: ${{vars.GKE_CLUSTER}} # Add your cluster name here. GKE_ZONE: ${{vars.GKE_ZONE}} # Add your cluster zone here. DEPLOYMENT_NAME: medsitter-command # Add your deployment name here. IMAGE: ${{vars.GKE_IMAGE}} NAMESPACE: ${{vars.GKE_NAMESPACE}} DIRECTORY: ${{vars.GKE_DIRECTORY}} APP_KEY: ${{ secrets.APP_KEY }} GITHUB_KEY: ${{ secrets.COMPOSER_GITHUB_KEY }} MIX_PUSHER_APP_KEY: ${{ secrets.MIX_PUSHER_APP_KEY}} MIX_ELIVIO_ACCOUNT_ID: ${{ secrets.MIX_ELIVIO_ACCOUNT_ID}} ACTIONS_STEP_DEBUG: true
jobs: setup-build-publish-deploy: name: Setup, Build, and Publish runs-on: ubuntu-latest environment: ${{inputs.GKE_environment}} permissions: contents: 'read' id-token: 'write'
Deployment_job: name: Deploy runs-on: ubuntu-latest environment: ${{inputs.GKE_environment}} permissions: contents: 'read' id-token: 'write' needs: setup-build-publish-deploy
if#: needs.setup-build-publish-deploy.result == 'success'