Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Security/upgrade #12

Merged
merged 393 commits into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
393 commits
Select commit Hold shift + click to select a range
13ed8d9
Update github-script action REST calls
nywilken Jul 20, 2023
682f2e7
.github/workflows: Replace untrusted GHA in repo workflows (#12530)
Jul 21, 2023
2401add
Fix body attribute for github-script comment
nywilken Jul 24, 2023
a1957a1
[COMPLIANCE] Add Copyright and License Headers
hashicorp-copywrite[bot] Jul 24, 2023
74b5c2a
issue-comment-created: Add guard for labels
nywilken May 30, 2023
55decee
.github: fix issues-opened.yml workflow
lbajolet-hashicorp Jul 24, 2023
38101a6
hcp: Add support for project level service principals
nywilken Jul 19, 2023
60c66fd
Add additional validation for manually set project ids
nywilken Jul 20, 2023
d0198c8
packer: track bundled plugins usage on telemetry
lbajolet-hashicorp Jul 24, 2023
3512a17
command: change wording for init's postitional arg
lbajolet-hashicorp Jul 24, 2023
3922329
website: add usage notice to init
lbajolet-hashicorp Jul 24, 2023
5c9ab19
Result of tsccr-helper -log-level=info -pin-all-workflows .
hashicorp-tsccr[bot] Jul 27, 2023
d1aa103
workflows/jira: Fix syntax error for createComment
nywilken Jul 27, 2023
d3d3371
Update plugin loading for current directory
nywilken Jul 27, 2023
a96584f
Update plugin discover logic
nywilken Jul 27, 2023
848039d
Update plugin discover testing
nywilken Jul 28, 2023
99c79ec
Add build tags to skip amd64 tests on darwin/arm64 (#12549)
Aug 2, 2023
b29abbc
Dockerfile: remove trailing whitespaces
lbajolet-hashicorp Jul 20, 2023
ffe2776
README: fix link to CONTRIBUTING
lbajolet-hashicorp Jul 21, 2023
8387369
Dockerfile: add release-full target
lbajolet-hashicorp Jul 21, 2023
c6da777
workflows: add docker-full to build workflow
lbajolet-hashicorp Jul 21, 2023
55854f5
Makefile: only build dev version of binary/docker
lbajolet-hashicorp Jul 25, 2023
376f0e9
docker: remove trailing spaces for Docker README
lbajolet-hashicorp Aug 3, 2023
168e464
docker: add full image to docker README
lbajolet-hashicorp Aug 3, 2023
9ccec0d
Removed repetitive statement from HCP debug logs (#12552)
Aug 8, 2023
4d0a51c
go.mod: bump golang.org/x/net to v0.13.0
lbajolet-hashicorp Aug 8, 2023
19055df
[COMPLIANCE] License changes (#12568)
hashicorp-copywrite[bot] Aug 10, 2023
320fd8d
Update licensing for product release pipeline (#12570)
Aug 11, 2023
c575946
Update terminology to reflect community editions of Packer (#12571)
Aug 11, 2023
2b32903
Document PLSP-related environment variables
lbajolet-hashicorp Aug 16, 2023
a961adf
Update BUSL LICENSE to include licensed product and version. (#12575)
hashicorp-copywrite[bot] Aug 16, 2023
50e8f50
Update CHANGELOG for 1.9.3
nywilken Aug 16, 2023
999d751
Rename duplicate ami name to fix failing test
nywilken Aug 17, 2023
f961715
Prepare for 1.9.4 dev mode
nywilken Aug 17, 2023
eb9e1a4
packer: remove implicit required plugins
lbajolet-hashicorp Aug 9, 2023
f8ebf69
telemetry: Add nil check in SetBundledUsage
nywilken Aug 18, 2023
42da69e
CHANGELOG: cut 1.9.4 release
lbajolet-hashicorp Aug 18, 2023
a0cb199
.go-version: bump version of Go to 1.20.7
finnigja Aug 18, 2023
3c6e3f5
CHANGELOG: preparing for 1.9.5
lbajolet-hashicorp Aug 18, 2023
ebdee64
Bump backport assistant to latest version
nywilken Aug 18, 2023
fa663b4
Updating Community Tools webpage
Aug 25, 2023
2325c7e
Set ivoronin/packer-plugin-sshkey version to 'latest'
ivoronin Aug 18, 2023
48e8c3e
Update version output for `-v` and `--version` flags
nywilken Aug 11, 2023
318529f
hcl2template: remove value validation for locals
lbajolet-hashicorp Sep 6, 2023
6fa0d25
website: register ksyun docuement
notone0010 Aug 4, 2023
7f7567f
Remove plugins on the integration framework
nywilken Sep 15, 2023
324e628
chore: unnecessary use of fmt.Sprintf
testwill Sep 21, 2023
7eb6a45
chore: remove refs to deprecated io/ioutil
testwill Sep 22, 2023
d56db70
Bump github.com/pierrec/lz4 to v4.1.18
zhsj Jul 30, 2023
c0e5947
init: warn if no requirements specified
lbajolet-hashicorp Sep 27, 2023
8490333
Fix broken acctest for Amazon data source
nywilken Oct 2, 2023
8dcc6b9
Bump Go tooling version to 1.20.8
nywilken Oct 3, 2023
8438d81
hcl2template: remove unused shouldContinue bool
lbajolet-hashicorp Aug 24, 2023
2a6ccac
hcl2template: simplify datasource evaluation
lbajolet-hashicorp Aug 24, 2023
14b6ad1
hcl2template: report localtion for cycle detection
lbajolet-hashicorp Aug 24, 2023
d9259d6
hcl2template: extract attr filter code from ds
lbajolet-hashicorp Aug 24, 2023
51ec786
hcl2template: simplify startDatasource function
lbajolet-hashicorp Aug 25, 2023
434a163
hcl2template: fix func to get vars from a config
lbajolet-hashicorp Aug 25, 2023
a1722ab
website: Add community maintained IPSW data source Packer plugin
torarnv Jul 26, 2023
020f18e
command: remove unused FlagSetFlags enum
lbajolet-hashicorp Oct 6, 2023
0e5776a
build with Go 1.20.10
finnigja Oct 20, 2023
193f5e1
go get -u golang.org/x/net && go mod tidy
finnigja Oct 20, 2023
9a1d4b5
go get -u google.golang.org/grpc && go mod tidy
finnigja Oct 20, 2023
fa5d035
build(deps-dev): bump @babel/traverse from 7.17.9 to 7.23.2 in /website
dependabot[bot] Oct 17, 2023
ac71611
Remove all HashiCorp vendored plugins
nywilken Oct 18, 2023
c65bb2f
Remove amazon plugin from acceptance test
nywilken Oct 18, 2023
e8d5436
Remove functions for detecting plugin usage
nywilken Oct 19, 2023
da06116
cmd/hcl2_upgrade: Don't error when using a HashiCorp plugin that is n…
nywilken Oct 19, 2023
3c8de6e
plugins: install SHA256SUM file with 0644 perms
lbajolet-hashicorp Oct 25, 2023
d47cbe7
command: remove SHA256SUM file on plugin removal
lbajolet-hashicorp Oct 25, 2023
452e855
Update README
nywilken Oct 23, 2023
71aa2f3
Bump required Go version in CONTRIBUTING guide
nywilken Oct 23, 2023
0ec424a
Fix broken link to Consul's environment variables page (#12673)
Oct 30, 2023
c528681
docs: amend HCL templates/functions docs
lbajolet-hashicorp Oct 27, 2023
f221a79
command: error on invalid plugins remove
lbajolet-hashicorp Oct 26, 2023
19c14fd
docs: fix aws_secretsmanager Title Name (#12678)
ygxxii Nov 2, 2023
98176f5
Update LICENSE text
hc-github-team-es-release-engineering Nov 8, 2023
edaa10e
Update CHANGELOG
nywilken Nov 8, 2023
c703d2e
Fix notes section in CHANGELOG
nywilken Nov 8, 2023
b328049
Update CHANGELOG
nywilken Nov 8, 2023
360df8f
scripts/prepare_changelog: Replace python for with gh and jq commands
nywilken Nov 8, 2023
631ed14
scripts/prepare_changelog:Update to output entries not in CHANGELOG.md
nywilken Nov 10, 2023
4b1553c
Bump Go to 1.20.11 to mitigate against insecure Windows path parsing
nywilken Nov 9, 2023
85e9e22
Update CHANGELOG
nywilken Nov 10, 2023
2b7bfae
Apply suggestions from code review
Nov 10, 2023
ebc1317
Bumped product version to 1.11.0.
nywilken Nov 10, 2023
a118b54
Bumped product version to 1.11.0
nywilken Nov 10, 2023
c59edfa
Remove dangling upgrade external plugins script
nywilken Nov 10, 2023
cc22e28
Bumped product version to 1.12.0.
hc-github-team-packer Nov 10, 2023
c138ce5
Revert "Bumped product version to 1.12.0."
nywilken Nov 10, 2023
c245b1f
deps: Bump github.com/hashicorp/hcp-sdk-go to v0.73.0
nywilken Nov 15, 2023
7951607
Remove release-engineering as codeowners
sarahethompson Nov 22, 2023
9b2d9f4
build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.73.0 to 0.74.0
dependabot[bot] Nov 22, 2023
efe182b
packer: link to docs if a component is missing
lbajolet-hashicorp Nov 22, 2023
311ba90
Update Acceptance Test to include BuilderSet
nywilken Nov 23, 2023
17ff508
Update didyoumean to call provisioners.List()
nywilken Nov 23, 2023
c90ea91
Update LICENSE
hc-github-team-es-release-engineering Nov 27, 2023
708653c
Update LICENSE
hc-github-team-es-release-engineering Nov 27, 2023
8c7b973
hcl2: don't show an empty source on var errors
lbajolet-hashicorp Nov 27, 2023
ebaf831
cmd/hcl2upgrade: Add VirtualBox as known plugin
nywilken Nov 28, 2023
2aad170
Bumps github.com/hashicorp/packer-plugin-sdk from 0.4.0 to 0.5.2
nywilken Nov 28, 2023
263821a
hcl2template/functions: Add Non-null refinements for various functions
nywilken Nov 28, 2023
083243c
Bump github.com/go-jose/go-jose/v3 to address GO-2023-2334
nywilken Nov 29, 2023
aad03ba
docs: reorg plugins installation tabs
lbajolet-hashicorp Nov 27, 2023
35d20c2
docs: rm implicit github urls from install guide
lbajolet-hashicorp Nov 28, 2023
24430e2
docs: reorganise plugin installation docs
lbajolet-hashicorp Nov 29, 2023
327d8a4
Update CHANGELOG for upcoming releases
nywilken Dec 4, 2023
6f43a82
command: add packer plugins install path flag
lbajolet-hashicorp Oct 3, 2023
a2d9c9d
command: add --force option to init/install
lbajolet-hashicorp Oct 25, 2023
ae5b918
command: reject version with --path for install
lbajolet-hashicorp Nov 24, 2023
e293f2d
command: plugins install reject non-releases
lbajolet-hashicorp Nov 24, 2023
8e2a22e
command: simplify local binary installation
lbajolet-hashicorp Dec 1, 2023
97e2e9e
docs: add exerpt on packer plugins install --path
lbajolet-hashicorp Dec 4, 2023
91a16aa
Remove migrated plugins from old plugin docs framework
nywilken Dec 5, 2023
da97f46
plugin-getter: don't rely only on version for list
lbajolet-hashicorp Dec 4, 2023
4d5f1a3
Update CHANGELOG for 1.10.0 release
nywilken Dec 5, 2023
c0de07c
Document process for registering a plugin as a Packer Integration
nywilken Nov 20, 2023
6d7d266
Replace relative links
nywilken Nov 30, 2023
149a809
Address review feedback
nywilken Dec 1, 2023
e2a2a08
Add example shell commands for copying integration files into plugin …
nywilken Dec 1, 2023
9565eca
Remove reference to deprecated single components
nywilken Dec 1, 2023
9d46c90
Apply suggestions from code review
Dec 5, 2023
2241b1f
Update spacing for flags within Help text
nywilken Dec 5, 2023
fd7fc49
update year in license files
hc-github-team-es-release-engineering Dec 6, 2023
699c0f8
Update plugin_integration.md
Dec 13, 2023
4825c65
Merge pull request #12752 from hashicorp/RELPLAT-955-EOY-license-updates
hc-github-team-es-release-engineering Jan 2, 2024
9afafd9
Pin UpCloud plugin version
BrianMMcClain Jan 3, 2024
76de1d3
Merge pull request #12767 from hashicorp/bmm/upcloud-version-pin
BrianMMcClain Jan 3, 2024
311a3b1
website: remove UpCloud from manifest
lbajolet-hashicorp Jan 8, 2024
0b06cb5
Fix Typo `make check-generate` -> `make generate-check`
aidan-mundy Dec 22, 2023
0a64a5f
Bump Go version to 1.20.12
nywilken Jan 8, 2024
2515aa2
Bump golang.org/x/crypto to address CVE-2023-48795
nywilken Jan 8, 2024
bfc3f8b
Bump github.com/go-git/go-git/v5 to address CVE-2023-49568
nywilken Jan 8, 2024
a9000f3
build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.74.0 to 0.79.0
dependabot[bot] Jan 8, 2024
beb5fcf
Bump github.com/cloudflare/circl to address GHSA-9763-4f94-gfch (#12781)
Jan 10, 2024
6c99f38
packer: remove single-component plugins
lbajolet-hashicorp Jan 11, 2024
96755d2
Remove migrated integrations from plugin manifest
nywilken Jan 17, 2024
91ce018
build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.79.0 to 0.81.0
dependabot[bot] Jan 17, 2024
3fa637c
Migrate HCP Packer to API V2 and new nomenclature changes (#12794)
devashish-patel Jan 24, 2024
12b8c88
Update error messaging for HCP incompatible plugin builds (#12800)
Jan 25, 2024
91ce35f
Expose versionFingerprint instead of versionId from packer template
devashish-patel Jan 26, 2024
cbc16cf
Add versionFingerprint to EvalContext
devashish-patel Jan 26, 2024
b77d581
Add the deprecation warning and update docs
devashish-patel Jan 26, 2024
14ce2a5
fix shell session in the docs
devashish-patel Jan 26, 2024
4b591d6
Add PR suggestions
devashish-patel Jan 26, 2024
682eca2
Remove repeated code
devashish-patel Jan 26, 2024
da65323
Remove all external plugin docs
nywilken Jan 23, 2024
ec40355
Updated next, node, npm, nvmrc and Docker node versions; added husky …
heatlikeheatwave Jan 29, 2024
1e6041a
docs/plugins:Fix incorrect plugin directory path
nywilken Dec 7, 2023
ca066f7
Update CHANGELOG
nywilken Jan 23, 2024
08d41c2
Fix URL rewrite check error for DevDot portal (#12818)
Jan 30, 2024
7670051
website: fix husky command (#12821)
heatlikeheatwave Jan 30, 2024
dff49df
hcl2template: check bucket name at parse-time
lbajolet-hashicorp Jan 30, 2024
4d38323
Remove external Plugins from left navbar
nywilken Feb 7, 2024
9b01bfa
build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.82.0 to 0.83…
dependabot[bot] Feb 8, 2024
548893b
build: don't suggest lack of HCP support on fail
lbajolet-hashicorp Feb 7, 2024
72db1c3
Don't use old nomenclature in terminology docs (#12843)
JenGoldstrich Feb 16, 2024
047b5d7
build(deps-dev): bump json5 from 1.0.1 to 1.0.2 in /website
dependabot[bot] Feb 23, 2024
8a1d1e0
build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.83.0 to 0.85…
dependabot[bot] Feb 24, 2024
32f8901
hcp: fix hcp artifact extraction method
lbajolet-hashicorp Feb 26, 2024
94aaff4
packer: only support one directory for plugins
lbajolet-hashicorp Jan 15, 2024
664700d
packer: rm support for manually-installed plugins
lbajolet-hashicorp Jan 15, 2024
4b00a81
packer: remove directory slices from structs
lbajolet-hashicorp Jan 15, 2024
4cda3b6
packer: remove path argument to discover installed
lbajolet-hashicorp Jan 16, 2024
2af3ff0
plugin-getter: fix docs for Installation
lbajolet-hashicorp Jan 17, 2024
698bcdc
plugin-getter: implement Sort interface for List
lbajolet-hashicorp Jan 17, 2024
fd5f668
plugin: consolidate loading logic
lbajolet-hashicorp Jan 17, 2024
492cb72
plugin-getter: reject plugin version mismatches
lbajolet-hashicorp Jan 17, 2024
ee01cf8
command: move plugins remove tests outside of repo
lbajolet-hashicorp Jan 17, 2024
b51c350
packer: fix plugin version sorting and pickup
lbajolet-hashicorp Feb 1, 2024
5bcf6da
packer: support loading pre-release plugins
lbajolet-hashicorp Feb 1, 2024
e099c5c
main: move Discover to DetectPluginBinaries
lbajolet-hashicorp Feb 2, 2024
9f7e6ca
plugins: add a release only flag to Discover
lbajolet-hashicorp Feb 2, 2024
b5848b9
command: add --release-only flag to validate/build
lbajolet-hashicorp Feb 2, 2024
9a6e74a
command: add dev support for plugins install
lbajolet-hashicorp Feb 2, 2024
503768c
command: trim trailing spaces from help message
lbajolet-hashicorp Feb 2, 2024
2e2038b
command: migrate tests using the comment plugin
lbajolet-hashicorp Feb 23, 2024
7113dea
plugin-getter: fix typo in API mismatch error
lbajolet-hashicorp Feb 23, 2024
525b0a7
plugin: use API version for loading plugins
lbajolet-hashicorp Feb 23, 2024
17b69be
Update CHANGELOG
nywilken Mar 4, 2024
7e1fb1c
Update release date for 1.10.2
nywilken Mar 6, 2024
008422c
Clean up CHANGELOG
nywilken Mar 6, 2024
910a22f
Bump google.golang.org/protobuf to address CVE-2024-24786
nywilken Mar 6, 2024
e3c8d9b
Bump Go toolchain to 1.21.8
nywilken Mar 6, 2024
ea1e798
fmt: print parse errors on error
lbajolet-hashicorp Mar 7, 2024
f75a8d1
Update CHANGELOG
nywilken Mar 11, 2024
bb8e194
Fix invalid path for copy command
nywilken Mar 11, 2024
7f05621
commands: rename plugin to execute
lbajolet-hashicorp Mar 5, 2024
a463abd
commands: introduce plugin as alias to plugins
lbajolet-hashicorp Mar 5, 2024
0159f05
Bump github.com/go-jose/go-jose/v3 to address CVE-2024-28180
nywilken Mar 12, 2024
a27ef0d
chore: remove repetitive words
pavedroad Mar 12, 2024
bd0423d
Add ignore-prerelease-flag to command help text
nywilken Mar 12, 2024
0a5e51c
Update CHANGELOG
nywilken Mar 12, 2024
c171362
.github/workflows/jira.yml: Update JIRA component name
nywilken Mar 13, 2024
7baca4d
Update CHANGELOG
nywilken Mar 11, 2024
e6c6520
Update CHANGELOG.md
Mar 11, 2024
930b6c3
command: support local paths for plugins remove
lbajolet-hashicorp Mar 12, 2024
a8f8902
test: remove directory
lbajolet-hashicorp Mar 14, 2024
28adb06
CHANGELOG: call out lexicographic version ordering
lbajolet-hashicorp Mar 21, 2024
0d66848
plugins: rely more on version lib for checks
lbajolet-hashicorp Mar 14, 2024
385ba4c
plugins: ensure valid checksum before exec
lbajolet-hashicorp Mar 14, 2024
3f721ff
cmd/plugin_install: use semver to render version
lbajolet-hashicorp Mar 15, 2024
d7f2998
command: scrub metadata from version at install
lbajolet-hashicorp Mar 19, 2024
0502e09
packer: check API version matches between name/bin
lbajolet-hashicorp Mar 21, 2024
66912bf
packer: use API version for ordering installations
lbajolet-hashicorp Mar 21, 2024
208afbe
packer: change mock set instantiation methods
lbajolet-hashicorp Mar 22, 2024
0e6ee70
plugins: reject non-canonical version numbers
lbajolet-hashicorp Mar 22, 2024
132e3d2
packer: fix version string variable name typo
lbajolet-hashicorp Mar 25, 2024
4076934
CHANGELOG: add 1.11.0-alpha2 changes
lbajolet-hashicorp Mar 26, 2024
1c7930b
build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.85.0 to 0.90.0
dependabot[bot] Mar 27, 2024
595b45e
Packer tracks Version and Plugins Metadata (#12860)
devashish-patel Mar 5, 2024
8e92027
HPR-1537: Packer Core sends metadata to HCP Packer in UpdateBuild API…
devashish-patel Mar 26, 2024
edc8a4d
Use latest version of hcp-sdk-go
devashish-patel Mar 27, 2024
70d2efe
Report metadata only when the build completes (#12923)
devashish-patel Apr 15, 2024
f19b9b7
Remove GetMetadata from StartBuild and add to CompleteBuild for HCL (…
devashish-patel Apr 15, 2024
fed9101
Bump golang.org/x/net to v0.24.0 to address GO-2024-2687
nywilken Apr 15, 2024
3f083fe
github: only publish latest release images
lbajolet-hashicorp Apr 9, 2024
55a11fe
release/ci: disable automatic version bump
lbajolet-hashicorp Apr 16, 2024
27538f3
release/ci: remove trailing whitespace
lbajolet-hashicorp Apr 16, 2024
93bec31
version: embed version/VERSION as version string
lbajolet-hashicorp Apr 15, 2024
f05124e
version: set version to 1.11.0-dev
lbajolet-hashicorp Apr 15, 2024
72a2604
Add LICENSE to zipped Go binaries
nywilken Apr 11, 2024
c37a892
Add LICENSE details to Docker release binaries
nywilken Apr 11, 2024
98fd73a
Add LICENSE to Linux packages
nywilken Apr 11, 2024
0b00f52
Copy license into zip with txt extension
Apr 11, 2024
33d9550
packer: make Ui implementations match new SDK's
lbajolet-hashicorp Apr 2, 2024
cdaad0c
version: up version handling code for SDK update
lbajolet-hashicorp Apr 16, 2024
7526cd6
build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.90.0 to 0.92…
dependabot[bot] Apr 18, 2024
baa6701
Add CHANGELOG entries for 1.10.3
nywilken Apr 22, 2024
094e00e
Update CHANGELOG
nywilken Apr 23, 2024
f767d06
Dockerfile: Add Product directory to /usr/share/doc directory
nywilken Apr 23, 2024
410e59f
version: compute SemVer from rawVersion
lbajolet-hashicorp Apr 16, 2024
00f39e7
Add missing option doc for 'packer fmt' (#12944)
QubitPi Apr 29, 2024
1bf3e86
hcl2template: fix invalid_inexplicit_source_2 test
lbajolet-hashicorp Apr 17, 2024
6fc1d15
packer: relax constraints on sources
lbajolet-hashicorp Apr 4, 2024
26b2bb8
build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.92.0 to 0.93…
dependabot[bot] Apr 30, 2024
403e35d
Add thread-safe add and get methods for plugin storage
devashish-patel Apr 18, 2024
029895f
build(deps): bump ejs and @hashicorp/platform-cli in /website
dependabot[bot] May 1, 2024
b7cae34
Merge branch 'main' of github.com:hashicorp/packer into security/upgrade
RodrigoCMoraes May 3, 2024
b45f29f
fix: duplicate configs and rm empty lines
RodrigoCMoraes May 3, 2024
fe47e14
fix: lint errors
RodrigoCMoraes May 3, 2024
72d75d9
upgrade golangci-lint to fix the typecheck error
RodrigoCMoraes May 3, 2024
93d5356
fix: rm deprecated lints
RodrigoCMoraes May 3, 2024
d081c4a
set new version of the packer
RodrigoCMoraes May 3, 2024
5f47c99
Bump actions/checkout to address Node.js 16 deprecation issues
nywilken May 7, 2024
1a79aab
Bump actions/setup-go to address Node.js 16 deprecation issues (#12957)
May 7, 2024
5e043ab
Bump required actions to address Node.js 16 deprecation issue (#12958)
May 7, 2024
35bdd36
Merge branch 'main' of github.com:hashicorp/packer into security/upgrade
RodrigoCMoraes May 7, 2024
efb0221
Merge branch 'dependabot/npm_and_yarn/website/json5-1.0.2' of github.…
RodrigoCMoraes May 7, 2024
6674aad
Merge branch 'dependabot/npm_and_yarn/website/multi-bf2b7de81e' of gi…
RodrigoCMoraes May 7, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .copywrite.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
project {
license = "BUSL-1.1"
copyright_year = 2024
header_ignore = [
"*.hcl2spec.go", # generated code specs, since they'll be wiped out until we support adding the headers at generation-time
"hcl2template/testdata/**",
"test/**",
"**/test-fixtures/**",
"examples/**",
"hcl2template/fixtures/**",
"command/plugin.go",
"website/**" # candidates for copyright are coming from external sources, so we should not handle those in Packer
]
}
4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ runtime in order to build packer.

1. This project always releases from the latest version of golang.
[Install go](https://golang.org/doc/install#install) To properly build from
source, you need to have golang >= v1.18
source, you need to have golang >= v1.20

## Setting up Packer for dev

Expand Down Expand Up @@ -274,7 +274,7 @@ does not attempt to track the latest version for each dependency.
Packer relies on `go generate` to generate a [peg parser for boot
commands](https://github.com/hashicorp/packer/blob/master/packer-plugin-sdk/bootcommand/boot_command.go),
[docs](https://github.com/hashicorp/packer/blob/master/website/pages/partials/builder/amazon/chroot/_Config-not-required.mdx)
and HCL2's bridging code. Packer's testing suite will run `make check-generate`
and HCL2's bridging code. Packer's testing suite will run `make generate-check`
to check that all the generated files Packer needs are what they should be.
`make generate` re-generates all these file and can take a while depending on
your machine's performances. To make it faster it is recommended to run
Expand Down
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1

blank_issues_enabled: false
contact_links:
- name: Packer Community Support
Expand Down
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/plugin_integration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Plugin Integration Request
about: Open request to add your plugin as a Packer integration (https://developer.hashicorp.com/packer/integrations)
labels: integration-request
---

#### Description

A written description of your plugin along with a link to the plugin repository.

#### Integration Tier
<!--- By default all integrations are registered as community integrations.
HashiCorp Technology partners https://www.hashicorp.com/partners/find-a-partner will be registered as a partner once verified. --->

#### Checklist
- [ ] Has valid [`metadata.hcl`](https://github.com/hashicorp/integration-template) file in plugin repository.
- [ ] Has added integration scripts [packer-plugin-scaffolding](https://github.com/hashicorp/packer-plugin-scoffolding) to plugin repository.
- [ ] Has added top-level integration README.md file to plugin `docs` directory.
- [ ] All plugins components have one README.md describing their usage.
- [ ] Has a fully synced `.web-docs` directory ready for publishing to the integrations portal.

6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,4 @@ updates:
interval: daily
allow:
- dependency-name: "github.com/hashicorp/packer-plugin-sdk"
- dependency-name: "github.com/hashicorp/hcl/v2"
- dependency-name: "github.com/zclconf/go-cty"
- dependency-name: "github.com/hashicorp/hcp-sdk-go"
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
3 changes: 3 additions & 0 deletions .github/labeler-issue-triage.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1

bug:
- 'panic:'
crash:
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/acceptance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ jobs:
outputs:
go-version: ${{ steps.get-go-version.outputs.go-version }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: 'Determine Go version'
id: get-go-version
# We use .go-version as our source of truth for current Go
# version, because "goenv" can react to it automatically.
run: |
echo "Building with Go $(cat .go-version)"
echo "::set-output name=go-version::$(cat .go-version)"
echo "go-version=$(cat .go-version)" >> $GITHUB_OUTPUT
acceptance-test:
runs-on: ubuntu-latest
name: Acceptance Test
Expand All @@ -37,13 +37,15 @@ jobs:
AWS_ACCESS_KEY_ID: ${{ secrets.TESTACC_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.TESTACC_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.TESTACC_AWS_REGION }}
# Packer GH Token for API Rate Limiting
PACKER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
- name: IAM Assume Role
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2
with:
role-to-assume: ${{ env.AWS_ROLE_ARN }}
aws-region: ${{ env.AWS_REGION }}
Expand All @@ -68,7 +70,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Send slack notification on failure
uses: slackapi/slack-github-action@v1.23.0
uses: slackapi/slack-github-action@70cd7be8e40a46e8b0eced40b0de447bdb42f68e # v1.26.0
with:
payload: |
{
Expand All @@ -90,4 +92,4 @@ jobs:
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
2 changes: 1 addition & 1 deletion .github/workflows/auto-close-stale-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5.2.0
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-issue-stale: 23
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
contents: none
if: github.event.pull_request.merged
runs-on: ubuntu-latest
container: hashicorpdev/backport-assistant:0.2.3
container: hashicorpdev/backport-assistant:0.3.4
steps:
- name: Backport changes to stable-website
run: |
Expand Down
Loading
Loading