Skip to content

Commit

Permalink
Merge pull request #85 from equinor/add-missing-flag
Browse files Browse the repository at this point in the history
add environment flag to deploy pipeline job
  • Loading branch information
nilsgstrabo authored Jan 18, 2024
2 parents b2042d3 + 4d4b89d commit f1e55fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/createDeployPipelineJob.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ func validateCommitID(commitID string) error {
func init() {
createJobCmd.AddCommand(createDeployPipelineJobCmd)
createDeployPipelineJobCmd.Flags().StringP(flagnames.Application, "a", "", "Name of the application to deploy")
createDeployPipelineJobCmd.Flags().StringP(flagnames.Environment, "e", "", "Target environment to deploy in ('prod', 'dev', 'playground')")
createDeployPipelineJobCmd.Flags().StringP(flagnames.User, "u", "", "The user who triggered the deploy")
createDeployPipelineJobCmd.Flags().StringToStringP(flagnames.ImageTagName, "t", map[string]string{}, "Image tag name for a component: component-name=tag-name. Multiple pairs can be specified.")
createDeployPipelineJobCmd.Flags().StringP(flagnames.CommitID, "i", "", "An optional 40 character commit id to tag the new pipeline job")
Expand Down

0 comments on commit f1e55fb

Please sign in to comment.