Giter Site home page Giter Site logo

Comments (10)

sethvargo avatar sethvargo commented on May 25, 2024 1

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.

sethvargo avatar sethvargo commented on May 25, 2024 1

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.

clintonb avatar clintonb commented on May 25, 2024

Source of the problem: v1.1.0...v1.2.0#diff-4fab5baaca5c14d2de62d8d2fceef376ddddcc8e9509d86cfa5643f51b89ce3dR289

from deploy-appengine.

sethvargo avatar sethvargo commented on May 25, 2024

Duplicate of #302, fix is in #305.

from deploy-appengine.

sethvargo avatar sethvargo commented on May 25, 2024

Actually wait - this is a slightly different error.

from deploy-appengine.

sethvargo avatar sethvargo commented on May 25, 2024

How are you deploying without an app.yaml deliverable?

from deploy-appengine.

clintonb avatar clintonb commented on May 25, 2024

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.

clintonb avatar clintonb commented on May 25, 2024

The new version is a bit too "smart".

from deploy-appengine.

sethvargo avatar sethvargo commented on May 25, 2024

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.

clintonb avatar clintonb commented on May 25, 2024

Confirmed that our deploys are working once more after renaming to (dev|prod)-app.yaml.

from deploy-appengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.