Skip to content

Commit

Permalink
test: approve new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dafyddj committed Nov 15, 2024
1 parent 5b56d57 commit 2b437ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/SetBoxName/libbuild_yml.tt
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ jobs:
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
env:
PACKER_COMMAND: ${{ inputs.upload-box && 'build -timestamp-ui' || 'validate' }}
VAGRANT_CLOUD_TOKEN: ${{ secrets.VAGRANT_CLOUD_TOKEN }}
HCP_CLIENT_ID: ${{ secrets.HCP_CLIENT_ID }}
HCP_CLIENT_SECRET: ${{ secrets.HCP_CLIENT_SECRET }}
run: |
packer $PACKER_COMMAND -only \*.${{ inputs.build-os-version }} -var version=$(bin/version) -var prefix= -var no_release=false -var box_dir=box/${{ inputs.build-type }} upload
2 changes: 1 addition & 1 deletion test/SetBoxName/upload_main.tt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ build {
files = [ "${var.box_dir}/${source.name}.box" ]
}

post-processor "vagrant-cloud" {
post-processor "vagrant-registry" {
box_tag = "${var.vagrant_cloud_org}/${var.prefix}${source.name}-x64-${var.cm}"
version = "${var.version}"
no_release = var.no_release
Expand Down

0 comments on commit 2b437ae

Please sign in to comment.