Comments (9)
Thank you for opening an issue. I believe we fixed this bug but have not released a new version yet. Could you please temporarily try using google-github-actions/deploy-appengine@main
to see if that resolves the issue? If not, can you please share the output from running @main
? If it does fix your issue, we plan on releasing a new version this week.
from deploy-appengine.
Hi @sethvargo,
As you can see in the Action YAML file shared above, we are always running deployment using google-github-actions/deploy-appengine@main
and still we are receiving the error shared above.
We have been running with this mode of pipeline and Action YAML for quite a few months and never faced such an issue.
from deploy-appengine.
Are you able to share the full log output?
from deploy-appengine.
@sethvargo please share your email address so that I can share the log output file with you as it is confidential.
from deploy-appengine.
@sethvargo some points from what I have observed from logs and debugging:
- Inside
src/deploy-app-engine.ts
file, the logs can be seen till line 157:logInfo(`Running: ${commandString}`);
- It seems that code is failing somewhere on line 160 inside deploy-app-engine.ts file and hence going inside the catch block.
- Please note, when trying to run
gcloud app deploy dev-app.yaml
command locally on the terminal, the build gets deployed as expected.
from deploy-appengine.
Hi @archita-desai it look like you found my email. In reviewing the logs, I see some inconsistencies with the Action YAML you shared. Specifically, I see ##[group]Run google-github-actions/auth@v0
which is not in your Action YAML. Can you please share your complete Action YAML?
The issue here is that GitHub Actions is swallowing the output from our gcloud
command. I've submitted #216 which, once merged, should make it so we see the complete error output that gcloud is providing.
from deploy-appengine.
@sethvargo yes, just tried the same combination as here and found email.
Since we were receiving deprecation warning of passing auth variables, I had tried the newer way of passing credentials to see if it resolves the error. However, the error still persisted.
Hence, with both Action YAMLs, we are receiving the same error.
Here is the action YAML with google-github-actions/auth@v0
:
name: Manual Branch
on:
workflow_dispatch:
inputs:
branch:
description: "Enter branch to deploy"
required: true
default: "staging"
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- id: checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.branch }}
- uses: actions/setup-node@v1
with:
node-version: "10"
- run: npm ci
- run: npm run build
- id: Auth
uses: google-github-actions/auth@v0
with:
credentials_json: ${{ secrets.DEPLOYMENT_ACCOUNT }}
- id: Deploy
uses: google-github-actions/deploy-appengine@main
with:
deliverables: dev-app.yaml
Hope this helps.
from deploy-appengine.
Since #216 is merged, can you try re-running your workload using deploy-appengine@main
and see if there's additional error output?
from deploy-appengine.
Hi @sethvargo
I tried re-running the deployments and they are running successfully now.
Thanks for the update with detailed error output, if this happens again we can re-open this issue with a detailed error output.
from deploy-appengine.
Related Issues (20)
- Unable to deploy using working_directory/deliverables HOT 2
- Add service-account option HOT 2
- Output URL isn't compatabile with IAP
- Support beta flag for deployments
- Drop "credentials" broke my build HOT 1
- Nothing is returned for `outputs.url` in v1 HOT 5
- [README.md] Text for flags on deploy-appengine makes reference to cloud run instead of app engine
- Missing roles/appengine.deployer role but service account actually has it HOT 11
- Issues with npm and deploy HOT 11
- Invalid JSON payload received. Unknown name "flexibleRuntimeSettings" at 'version': Cannot find field: version HOT 2
- Error: google-github-actions/deploy-appengine failed with: e is not iterable
- Version 1.2 throws with "could not find 'app.yml' file" HOT 10
- v1.2.1 breaks when environment variable contains `=` HOT 1
- app.yaml in main directory not found in version 1.2.2 HOT 2
- Unable to use env_vars HOT 2
- Automated release is not working
- gcloud app deploy failed HOT 1
- The component [app-engine-go] not being installed HOT 3
- Nodejs 18 + HOT 11
- add support for --no-cache flag HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deploy-appengine.