Comments (10)
v1.2.1 was just released. If you do not set env_variables
or build_env_variables
, everything should work correctly. However, specifying those fields (which are new in 1.2) require the file to be named app.yaml.
If v1.2.1 fixes the issue, we can consider this enhancement to accept other appyaml file names, but it will be a slightly larger refactor and my primary goal is restoring the old behavior.
from deploy-appengine.
Hi @clintonb - with 1.2.1, you should be able to use dev-app.yaml and prod-app.yaml. You just cannot do that and set envvars or build envvars. Can you confirm?
from deploy-appengine.
Source of the problem: v1.1.0...v1.2.0#diff-4fab5baaca5c14d2de62d8d2fceef376ddddcc8e9509d86cfa5643f51b89ce3dR289
from deploy-appengine.
Duplicate of #302, fix is in #305.
from deploy-appengine.
Actually wait - this is a slightly different error.
from deploy-appengine.
How are you deploying without an app.yaml deliverable?
from deploy-appengine.
Our files are named app-dev.yaml
and app-prod.yaml
.
- id: deploy-dev
name: 'Deploy dev services'
uses: google-github-actions/deploy-appengine@v1
with:
promote: true
deliverables: services/flex-worker/app-dev.yaml
flags: '--stop-previous-version'
env:
CLOUDSDK_APP_CLOUD_BUILD_TIMEOUT: 1200
from deploy-appengine.
The new version is a bit too "smart".
from deploy-appengine.
I see. In order to update environment variables, we need to know the app.yaml. I've updated the logic in #305 to only try and parse the app.yaml if env/build_env is given. But short of reading the entire list of deliverables, I don't think we have a good way to determine which one is the "appyaml".
from deploy-appengine.
Confirmed that our deploys are working once more after renaming to (dev|prod)-app.yaml
.
from deploy-appengine.
Related Issues (20)
- 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
- 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
- Not able to deploy the app to Google Cloud HOT 1
- Automatic artifact cleanup HOT 1
- Build in successful in the GCP build Logs for App Engine but GitHub Actions fails later with pnpm HOT 4
- Better logging of failures
- Deploy app engine flex just stops half way HOT 4
- Deploying only cron.yaml fails on output parsing HOT 4
- Documentation misses authorisation for Artifact Registry HOT 2
- `project_id` arg mapped to `--project` for deploy command 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.