Wilken Rivera
072b0451db
backport of commit 9ac3000a59
2023-11-09 02:30:09 +00:00
hc-github-team-packer
43d2f92bb8
Merge pull request #12691 from hashicorp/backport/update/prepare-changelog-for-backports/namely-innocent-duck
...
This pull request was automerged via backport-assistant
2023-11-09 11:08:57 -05:00
Wilken Rivera
e587324988
backport of commit 3201a9751b
2023-11-09 16:06:15 +00:00
hc-github-team-packer
4579a5ad5c
Merge pull request #12680 from hashicorp/backport/patch-1/horribly-moral-corgi
...
This pull request was automerged via backport-assistant
2023-11-02 05:37:05 -04:00
ygXXII
72aa544f82
backport of commit ec971e10d9
2023-11-02 00:58:17 +00:00
Jamie Finnigan
cb927a035c
go get -u google.golang.org/grpc && go mod tidy
2023-10-30 11:05:26 -04:00
Jamie Finnigan
2706c0b407
go get -u golang.org/x/net && go mod tidy
2023-10-30 11:05:03 -04:00
Jamie Finnigan
7594e0b503
build with Go 1.20.10
2023-10-30 11:04:46 -04:00
hc-github-team-packer
5ade6cf6b6
Merge pull request #12677 from hashicorp/backport/fix_docs_expressions/heavily-literate-feline
...
This pull request was automerged via backport-assistant
2023-10-30 09:36:35 -04:00
Lucas Bajolet
52ffc097cf
backport of commit 6b93237fb6
2023-10-30 13:28:40 +00:00
hc-github-team-packer
8ea9c9c87e
Merge pull request #12675 from hashicorp/backport/fix/consul-env-variable-link/intensely-optimal-crow
...
This pull request was automerged via backport-assistant
2023-10-30 07:51:19 -04:00
Wilken Rivera
92e7973bf9
backport of commit 2e442feeac
2023-10-30 09:32:37 +00:00
hc-github-team-packer
909bab61f9
Merge pull request #12648 from hashicorp/backport/add-ipsw-data-source-plugin/clearly-modern-jackass
...
This pull request was automerged via backport-assistant
2023-10-05 14:20:23 -04:00
Tor Arne Vestbø
d563aefe6d
backport of commit a1b1ab1ee0
2023-10-05 18:01:59 +00:00
Lucas Bajolet
0339c670a7
hcl2template: fix func to get vars from a config
...
The previous implementation of the GetVarsByType function worked only on
top-level attributes, ignoring the nested blocks in the structure.
This implies that if a datasource depends on another through an
expression within a nested block, we may not execute it first, and then
executing this datasource before its dependent is possible, resulting in
an error in the end.
This commit is an attempt at making this more reliable for HCL configs,
but only works on configs lifted from HCL files for now. We need to make
this more reliable for later iterations.
2023-10-05 10:38:14 -04:00
Lucas Bajolet
1a3bc66708
hcl2template: simplify startDatasource function
2023-10-05 10:38:14 -04:00
Lucas Bajolet
69ffe8d839
hcl2template: extract attr filter code from ds
...
Datasources use their attribute's expressions to determine whether or
not they depend on another datasource, in order to get the list of
dependencies and execute them before executing a datasource.
This code may be useful later on for figuring out the dependencies for
any block, so we move this code to the utils.go file, and use this for
datasources.
2023-10-05 10:38:14 -04:00
Lucas Bajolet
5a92ac5ffa
hcl2template: report localtion for cycle detection
...
When a datasource fails to be evaluated because a cycle has been
detected, we point out one of the links of the chain now so that users
have a better idea of what to look at.
2023-10-05 10:38:14 -04:00
Lucas Bajolet
b4b332152f
hcl2template: simplify datasource evaluation
...
Since datasources are recursively evaluated depending on their
dependencies, we don't need to pre-execute those that depend on nothing,
as the recursive traversal of the datasources will take care of that for
us.
2023-10-05 10:38:14 -04:00
Lucas Bajolet
17ef86bf0f
hcl2template: remove unused shouldContinue bool
...
Not sure why this was defined and returned, but the value was set, but
never used, as such this is not useful to keep in the code, so let's
simplify this now.
2023-10-05 10:38:14 -04:00
hc-github-team-packer
87dad883aa
Merge pull request #12639 from hashicorp/backport/init_warn_no_required_plugin/amazingly-gorgeous-frog
...
This pull request was automerged via backport-assistant
2023-09-27 14:48:20 -04:00
Lucas Bajolet
b4669c8da8
backport of commit 3245c60d91
2023-09-27 14:50:11 +00:00
hc-github-team-packer
619021159d
Merge pull request #12636 from hashicorp/backport/bump-lz4/infinitely-careful-panther
...
This pull request was automerged via backport-assistant
2023-09-26 12:17:03 -04:00
Shengjing Zhu
9d0c7765ea
backport of commit d91e2e5fb9
2023-09-26 15:40:37 +00:00
hc-github-team-packer
f8c495c44b
Merge pull request #12635 from hashicorp/backport/ioutil/gratefully-mutual-fox
...
This pull request was automerged via backport-assistant
2023-09-26 11:39:22 -04:00
hc-github-team-packer
6f879f80f9
Merge pull request #12634 from hashicorp/backport/fmt/broadly-coherent-skylark
...
This pull request was automerged via backport-assistant
2023-09-26 11:38:58 -04:00
guoguangwu
de2e2898e6
backport of commit 4911ff8b63
2023-09-22 07:44:03 +00:00
guoguangwu
ec1e161f09
backport of commit 1dfc1baddf
2023-09-21 05:14:19 +00:00
hc-github-team-packer
de137853a5
Merge pull request #12630 from hashicorp/backport/docs/hashicorp-intergration-updates/willingly-cute-giraffe
...
This pull request was automerged via backport-assistant
2023-09-15 12:04:57 -04:00
Wilken Rivera
f8cb5de503
backport of commit 135c70bf01
2023-09-15 13:14:26 +00:00
hc-github-team-packer
4c5959bfc8
Merge pull request #12628 from hashicorp/backport/register-document-ksyun/reliably-game-poodle
...
This pull request was automerged via backport-assistant
2023-09-15 09:13:58 -04:00
hc-github-team-packer
5b373c5ae1
Merge pull request #12621 from hashicorp/backport/rm_local_validation/uniformly-poetic-hippo
...
This pull request was automerged via backport-assistant
2023-09-06 12:08:02 -04:00
Lucas Bajolet
7b370db177
backport of commit f5ffc112bf
2023-09-06 15:10:53 +00:00
hc-github-team-packer
6cedd402c4
Merge pull request #12611 from hashicorp/backport/main/closely-ace-bedbug
...
This pull request was automerged via backport-assistant
2023-08-25 10:55:39 -04:00
hc-github-team-es-release-engineering
fa9fef2f61
Bumped product version to 1.9.5.
2023-08-18 21:00:09 +01:00
Lucas Bajolet
6e3a8f0f7d
version: prepare v1.9.5-dev
2023-08-18 15:42:15 -04:00
hc-github-team-packer
05b6f700b3
Merge pull request #12603 from hashicorp/backport/changelog_setup_1.9.5/forcibly-enough-mastiff
...
This pull request was automerged via backport-assistant
2023-08-18 15:41:49 -04:00
Lucas Bajolet
7913085d31
backport of commit dd7ce7724e
2023-08-18 19:25:26 +00:00
hc-github-team-packer
ae9daec102
Merge pull request #12600 from hashicorp/backport/bump_go/uniformly-classic-yeti
...
This pull request was automerged via backport-assistant
v1.9.4
2023-08-18 13:51:50 -04:00
Jamie Finnigan
018706563f
backport of commit cce2219833
2023-08-18 17:18:53 +00:00
Wilken Rivera
990adc3011
Cut release 1.9.4
2023-08-18 11:00:17 -04:00
hc-github-team-packer
67122ed61c
Merge pull request #12597 from hashicorp/backport/update_changelog_1.9.4/publicly-creative-drum
...
This pull request was automerged via backport-assistant
2023-08-18 10:59:41 -04:00
Lucas Bajolet
9f3e9ccd7c
backport of commit 680d8157cd
2023-08-18 14:32:43 +00:00
hc-github-team-packer
e92e9ac13a
Merge pull request #12594 from hashicorp/backport/nywilken/catch-nil-checkpoint-reporter/poorly-generous-puma
...
This pull request was automerged via backport-assistant
2023-08-18 10:26:11 -04:00
Ilya Voronin
fdac550c98
backport of commit b3f3d9baca
2023-08-18 11:48:33 +00:00
Wilken Rivera
b746ad2c94
backport of commit f871e0e162
2023-08-18 10:42:04 +00:00
Lucas Bajolet
bff91f4093
packer: remove implicit required plugins
...
Since this feature is no longer something we plan to activate later, as
it contradicts with our efforts to remove bundled plugins, and
encouraging users to move to either manually installing plugins, or
managing them through `packer init', we clean-up the code for this
feature.
2023-08-17 17:06:17 -04:00
hc-github-team-es-release-engineering
6da4fabac7
Bumped product version to 1.9.4.
2023-08-17 18:37:12 +01:00
hc-github-team-packer
3ea3c8cf53
Merge pull request #12590 from hashicorp/backport/perpare_1.9.4_changelog/fully-certain-shepherd
...
This pull request was automerged via backport-assistant
2023-08-17 13:11:55 -04:00
Lucas Bajolet
83dd44d33e
version: prepare 1.9.4-dev
2023-08-17 13:10:05 -04:00