Skip to content

Commit

Permalink
feat: Add automap_substitutions flag to use substitutions as envs in …
Browse files Browse the repository at this point in the history
…Cloud Build

PiperOrigin-RevId: 551218480
  • Loading branch information
Google APIs authored and Copybara-Service committed Jul 26, 2023
1 parent 7c762d7 commit f823915
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions google/devtools/cloudbuild/v1/cloudbuild.proto
Expand Up @@ -802,6 +802,11 @@ message BuildStep {
//
// When script is provided, the user cannot specify the entrypoint or args.
string script = 19;

// Option to include built-in and custom substitutions as env variables
// for this build step. This option will override the global option
// in BuildOption.
optional bool automap_substitutions = 20;
}

// Volume describes a Docker container volume which is mounted into build steps
Expand Down Expand Up @@ -2245,6 +2250,10 @@ message BuildOptions {
// overridden in the build configuration file.
bool dynamic_substitutions = 17;

// Option to include built-in and custom substitutions as env variables
// for all build steps.
bool automap_substitutions = 22;

// Option to define build log streaming behavior to Cloud
// Storage.
LogStreamingOption log_streaming_option = 5;
Expand Down

0 comments on commit f823915

Please sign in to comment.