-
Notifications
You must be signed in to change notification settings - Fork 73
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
Version 1.2 throws with "could not find 'app.yml' file" #303
Comments
Source of the problem: v1.1.0...v1.2.0#diff-4fab5baaca5c14d2de62d8d2fceef376ddddcc8e9509d86cfa5643f51b89ce3dR289 |
Actually wait - this is a slightly different error. |
How are you deploying without an app.yaml deliverable? |
Our files are named - 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 |
The new version is a bit too "smart". |
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". |
v1.2.1 was just released. If you do not set 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. |
Confirmed that our deploys are working once more after renaming to |
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? |
TL;DR
The new version 1.2 fails with the following error.
Error: google-github-actions/deploy-appengine failed with: could not find "app.yml" file
Expected behavior
Deployment should succeed without error with other things remaining the same.
Observed behavior
Deployment fails with the following error.
Error: google-github-actions/deploy-appengine failed with: could not find "app.yml" file
Action YAML
Log output
Additional information
Reverting to v1.1.0 fixed the issue.
The text was updated successfully, but these errors were encountered: