Git Product home page Git Product logo

Comments (7)

bendory avatar bendory commented on July 28, 2024 1

To report issues or ask questions about the Google Cloud Build service, please use our public issue tracker at
https://issuetracker.google.com/issues/new?component=190802&template=1162743

This GitHub issue tracker is intended for bugs with the officially supported builder images specifically.

from cloud-builders.

skelterjohn avatar skelterjohn commented on July 28, 2024

from cloud-builders.

heygambo avatar heygambo commented on July 28, 2024

thx! It's there!

from cloud-builders.

heygambo avatar heygambo commented on July 28, 2024

It seems like the env vars won't be applied while building from the Dockerfile.

I always get this error now:

AssetSync::Config::Invalid: Fog provider can't be blank

the fog provider is set like this:

config.fog_provider = ENV['ASSETS_PROVIDER']

it was working locally running RAILS_ENV=staging SECRET_KEY_BASE=abc ASSETS_PROVIDER=Google GOOGLE_STORAGE_ACCESS_KEY=ABC GOOGLE_STORAGE_SECRET_KEY=ABC bundle exec rake assets:precompile

Are you sure the env vars are being set correctly while building the image?

from cloud-builders.

skelterjohn avatar skelterjohn commented on July 28, 2024

from cloud-builders.

benAOI avatar benAOI commented on July 28, 2024

Hi, and what is the case of a cloud function? The default github check triggered cloud build fails because of the lack of env variables provided by the cloud build variable substitution. Can you point me somewhere?

from cloud-builders.

skelterjohn avatar skelterjohn commented on July 28, 2024

It's not clear what you're asking. Can you give an example of something that's not working as you expect?

Please keep in mind that cloud build variable substitution and environment variables are different things.

For env vars within build steps, there is an env field per step that you can use.

For env vars within the containers you build, you can specify them in your Dockerfile if that's how you build. If you build some other way, like via GCF, then you'll have to refer to the documentation for that tool or service.

from cloud-builders.

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.