Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The component [app-engine-go] not being installed #332

Open
dantonio1401 opened this issue Jul 13, 2023 · 3 comments
Open

The component [app-engine-go] not being installed #332

dantonio1401 opened this issue Jul 13, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@dantonio1401
Copy link

TL;DR

For whatever reason my pipeline is no longer deploying to app engine with the error The component [app-engine-go] is required for staging this application What's also strange is that it is actually running:

┌───────────────────────────────────────────────────┐
│        These components will be installed.        │
├──────────────────────────────┬─────────┬──────────┤
│             Name             │ Version │   Size   │
├──────────────────────────────┼─────────┼──────────┤
│ App Engine Go Extensions     │  1.9.75 │  4.5 MiB │
│ Cloud Datastore Emulator     │   2.3.1 │ 36.2 MiB │
│ gRPC Python library          │  1.20.0 │  2.1 MiB │
│ gcloud app Python Extensions │ 1.9.105 │  8.5 MiB │
└──────────────────────────────┴─────────┴──────────┘

For the latest full release notes, please visit:
  https://cloud.google.com/sdk/release_notes

╔════════════════════════════════════════════════════════════╗
╠═ Creating update staging area                             ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: App Engine Go Extensions                     ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: App Engine Go Extensions                     ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: Cloud Datastore Emulator                     ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: gRPC Python library                          ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: gRPC Python library                          ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Installing: gcloud app Python Extensions                 ═╣
╚════════════════════════════════════════════════════════════╝
╔════════════════════════════════════════════════════════════╗
╠═ Creating backup and activating new installation          ═╣
╚════════════════════════════════════════════════════════════╝

which I thought would install the component but it is not. Has anyone else run into this issue? This happened seemingly over night

Expected behavior

No response

Observed behavior

No response

Action YAML

- name: App Engine Auth
        id: auth
        uses: google-github-actions/auth@v1
        with:
          credentials_json: ${{ secrets.gcp_credentials }}

      - name: App Engine Deployment
        id: deploy
        uses: google-github-actions/deploy-appengine@v1
        with:
          deliverables: go/src/github.com/myapp/app-dev.yaml go/src/github.com/myapp/cron.yaml
        env:
          GO111MODULE: off


### Log output

_No response_

### Additional information

_No response_
@dantonio1401 dantonio1401 added the bug Something isn't working label Jul 13, 2023
@ZachBurm
Copy link

+1

@dantonio1401
Copy link
Author

I ended up solving the issue but i was unrelated to this error.

I ran a gcloud deploy from my own machine instead of the pipeline and this gave me more insight as to why it was failing. In my case it was due to some internal error that prevented the service from starting.

So my suggestion for anyone else running into this issue to to potentially run it locally

Hope this helps someone

@ZachBurm
Copy link

I found the same, it was a package error related to a replace in my mod file I had forgotten. Better error handling would be ideal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants