Skip to content

Packer Gitlab CI/CD pipelines #654

Closed Locked Answered by rcroft-work
dvm191 asked this question in Help
Discussion options

You must be logged in to vote

I have got something working for our internal gitlab setup.

Couple of things to note:

  • I trigger builds manually when I update ISO files/checksum
  • Below works for me and promises/commitments that it works for your env.

Tried to stay inline the gomplate model used for build.sh so created a build-ci.tmpl

##############################################################################
##
## CI/CD for building OVFs in the packer content library on Common Pool
##
##############################################################################

default:
    image: "harbor.sydeng.vmware.com/library/packerplus:dev"

variables:
    SCRIPT_PATH: "${CI_PROJECT_DIR}"
    CONFIG_PATH: "${CI_PROJECT_DIR}/c…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tenthirtyam
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@rcroft-work
Comment options

@tenthirtyam
Comment options

@rcroft-work
Comment options

@tenthirtyam
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants