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

Sync/upstream + upgrade/security #21

Merged
merged 445 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
445 commits
Select commit Hold shift + click to select a range
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
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
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
61199ae
Update internal HashiCorp actions to address Node 20 deprecation
nywilken May 8, 2024
747cb00
packer: remove temp zipfile after installation
lbajolet-hashicorp Apr 10, 2024
56fab30
plugin: factorise calling describe on binaries
lbajolet-hashicorp Apr 10, 2024
d40df8e
packer: check if errs is nil before getting length
lbajolet-hashicorp Apr 10, 2024
64ae3e8
packer: alias version as goversion for getter
lbajolet-hashicorp Apr 10, 2024
04a2542
packer/getter: don't report other os/arch as errs
lbajolet-hashicorp Apr 10, 2024
32e64c9
packer: fix filename in verbose logs
lbajolet-hashicorp Apr 10, 2024
77d537c
packer: remove duplicate version variable
lbajolet-hashicorp Apr 23, 2024
7823a40
packer: ensure versions match for remote installs
lbajolet-hashicorp Apr 10, 2024
2d8aa69
init: fix --force and pre-releases installed case
lbajolet-hashicorp Apr 29, 2024
b24ab44
command: list releases only for remote installs
lbajolet-hashicorp May 2, 2024
35bd020
plugin-getter: rm vocal log on checksum entries
lbajolet-hashicorp May 2, 2024
eafdda8
Update plugin-getter version matching check
nywilken May 3, 2024
2ca5b27
Add PrereleaseError for handling failed pre-release version installs
nywilken May 4, 2024
2e8bdb5
Use single buffer for storing binary file before writes
nywilken May 7, 2024
11dc684
Add ConintuableInstallError for continuing installation on version mi…
nywilken May 7, 2024
20345f9
Add check to prevent the installation of version constraints matching…
nywilken May 7, 2024
5ced785
docs: fix typo in HCP Packer artifact/version docs
lbajolet-hashicorp May 10, 2024
f80ba28
packer: error multiple paths in PACKER_PLUGIN_PATH
lbajolet-hashicorp May 10, 2024
d2ade9a
packer: register plugin components only once
lbajolet-hashicorp Apr 17, 2024
9f2d6ce
docs/plugins/remove: Update command usage text
nywilken May 13, 2024
f52502c
website: remove trailing whitespace
lbajolet-hashicorp May 13, 2024
266c4d9
website: update discovery/envvar documentation
lbajolet-hashicorp May 13, 2024
9f3dd5b
website: update install plugins docs
lbajolet-hashicorp May 13, 2024
9b38e0e
addrs: limit source component length to 16
lbajolet-hashicorp May 9, 2024
c7f2508
addrs: return error on ParsePluginSource
lbajolet-hashicorp May 9, 2024
d8a95a7
docs: update plugins install command documentation
lbajolet-hashicorp May 14, 2024
4444623
build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.93.0 to 0.95.0
dependabot[bot] May 8, 2024
47d8df3
Update Example of Parsing a Manifest to Use Only `jq` (#12894)
estheruary May 15, 2024
ec682af
addrs: require at least 3 parts to source URIs
lbajolet-hashicorp May 15, 2024
4015e4d
init:Document force flag option for init command
nywilken May 13, 2024
ce7205e
required_plugins:Add source addresses section
nywilken May 13, 2024
27b5f27
Add section for Non-GitHub source addresses
nywilken May 14, 2024
a7591c9
Add details on the importance of using required_plugins
nywilken May 14, 2024
e161367
Update CHANGELOG
nywilken Apr 29, 2024
682968d
packer: don't load plugins with metadata in name
lbajolet-hashicorp May 15, 2024
a852434
packer: fix listing on windows with .exe ext
lbajolet-hashicorp May 15, 2024
ec92d23
packer: use filepath for getting plugin basename
lbajolet-hashicorp May 15, 2024
97db9d8
packer: fix splitting error message on pathsep
lbajolet-hashicorp May 15, 2024
f1efdee
Bump Go version to 1.12.10 to address CVE-2024-24787
nywilken May 17, 2024
a9ba14f
website: fix myawesomecloud reference
lbajolet-hashicorp May 17, 2024
493ddb1
build(deps): bump github.com/hashicorp/hcp-sdk-go from 0.95.0 to 0.96.0
dependabot[bot] May 15, 2024
5d43239
datasource/http: don't error on 2xx code
lbajolet-hashicorp May 21, 2024
92aabc7
Bump github.com/hashicorp/go-getter/v2 modules to v2.2.2
nywilken May 20, 2024
accbe97
hcl2template: add text(encode|decode)base64 funcs (#12997)
lbajolet-hashicorp May 30, 2024
8d4a9d6
config: rm mono-component support from config file (#12998)
lbajolet-hashicorp May 30, 2024
b4a843c
commands: reject constraints with pre-releases (#12999)
lbajolet-hashicorp May 30, 2024
bfd264b
CHANGELOG: update changelog for Packer 1.11.0
lbajolet-hashicorp May 30, 2024
3591d64
scripts: remove wait for changelog listing
lbajolet-hashicorp May 30, 2024
2ea0889
scripts: re-add wait for changelog listing (#13002)
lbajolet-hashicorp May 31, 2024
a5d220e
CHANGELOG: Update release date for 1.11
nywilken May 31, 2024
766c3d7
docs: consistent code blocks around types
SKalt May 31, 2024
d759758
Update plugins install docs for v1.11.0 (#12995)
trujillo-adam May 31, 2024
361a432
version: bump main to 1.12.0-dev
lbajolet-hashicorp May 31, 2024
d625694
refactor: remove deprecated InitializePluginVersion, replace with New…
IAMDAVID0920 Jun 3, 2024
9390f71
refactor: remove deprecated function
komisan19 May 21, 2024
3fb6b76
Fixed wrong parameter in doc
mr-aboutin Apr 30, 2024
4bd7e95
Result of tsccr-helper -log-level=info gha update .
hashicorp-tsccr[bot] Jun 1, 2024
d83f581
Merge branch 'main' of github.com:hashicorp/packer into sync/upstream…
RodrigoCMoraes Jun 4, 2024
cc3ce2a
merge + add inloco packages
RodrigoCMoraes Jun 4, 2024
ce514c5
set version v1.12.0
RodrigoCMoraes Jun 4, 2024
d0a2286
fix lint + allow trigger in tags
RodrigoCMoraes Jun 4, 2024
8ecf4ff
upgrade js dependencies
RodrigoCMoraes Jun 5, 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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- 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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
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