Skip to content

Commit

Permalink
Merge pull request #39 from dafyddj/renovate/https-github.com-dafyddj…
Browse files Browse the repository at this point in the history
…-copier-packer-build-2.x

chore(deps): update dependency https://github.com/dafyddj/copier-packer-build to v2
  • Loading branch information
dafyddj authored Nov 15, 2024
2 parents ecc3731 + 811512d commit 68c079c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: v1.1.9
_commit: v2.0.1
_src_path: https://github.com/dafyddj/copier-packer-build
box_name: techneg/tkl17-x64-nocm
5 changes: 5 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@
"extends": [
"config:recommended",
],
"automergeStrategy": "merge-commit",
"git-submodules": {
"enabled": true
},
"packageRules": [
{
"matchFileNames": ["template/**"],
"semanticCommitType": "fix",
},
{
"matchManagers": ["git-submodules"],
"automerge": true,
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/libbuild.yml
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 upload/main.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,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 68c079c

Please sign in to comment.