Advertisement
Guest User

Untitled

a guest
May 22nd, 2025
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. spec:
  2. inputs:
  3. runnerTag: # Allows developers to override some things from their .gitlab-ci file if they need to, otherwise we default stuff here
  4. buildScript:
  5. ecrRepoName:
  6. dockerBuildArgs:
  7. environments: # New input where a developer lists out what they have (maybe with options so we can account for if people misspell something or use the wrong name for something. Easier to update just this list than an entire YAML file with copied and pasted blocks of jobs with only the environment name changed in the condition)
  8. ---
  9.  
  10. include:
  11. - local: dependencies/java-groovy/template.yml
  12. inputs:
  13. environmentName: dev
  14. runnerTag: $[[ inputs.runnerTag ]]
  15. buildScript: $[[ inputs.buildScript ]]
  16. ecrRepoName: $[[ inputs.ecrRepoName ]]
  17. dockerBuildArgs: $[[ inputs.dockerBuildArgs ]]
  18. environments: $[[ inputs.environments ]]
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement