Commit Graph

353 Commits (6c40bfb0cdfd4e3ae3132d240387999cfb4500a2)

Author SHA1 Message Date
Lucas Bajolet 8d6b8da996 hcl2template: locals evaluation returns a variable
1 year ago
Lucas Bajolet d28982c29a hcl2template: fix datasource dependency detection
1 year ago
Lucas Bajolet 0dcb8c02c2 hcl2template: don't use Walk for walking on DAG
1 year ago
Lucas Bajolet 4a4b837386 hcl2template: rename `Name`->`LocalName` for local
1 year ago
Lucas Bajolet 09774aaeb8 internal/dag: adapt Validate to not check for Root
1 year ago
Lucas Bajolet 586762564b hcl2template: intro and add UseSequential init opt
1 year ago
Lucas Bajolet 56e08c2eff hcl2template: add DAG-based eval for local/data
1 year ago
Lucas Bajolet 9c3ec44379 hcl2template: use refString for local/data deps
1 year ago
Lucas Bajolet 8ba998a5d0 hcl2template: add function to eval one datasource
1 year ago
Lucas Bajolet 8f1da2fa79 hcl2template: split local evaluation functions
1 year ago
Lucas Bajolet e1b8edf8d8 hcl2template: rename Datasource.Name to DSName
1 year ago
Lucas Bajolet 8e21597e30 hcl2template: add refstring type for generic refs
1 year ago
Wenfeng Pan 1b160e5df0
Add base64gzip function support to Packer template
2 years ago
Lucas Bajolet 3e3b136f3c packer: address unused lint errors
2 years ago
Lucas Bajolet 36e43e30ee hcl2template: detect duplicate locals during parse
2 years ago
Lucas Bajolet 14cf4b40d4 hcl2template: recursively evaluate local variables
2 years ago
Lucas Bajolet 5673af108f hcl2template: split GetVarsByType in two functions
2 years ago
Lucas Bajolet b4a843c4e2
commands: reject constraints with pre-releases (#12999)
2 years ago
Lucas Bajolet accbe97e1e
hcl2template: add text(encode|decode)base64 funcs (#12997)
2 years ago
Lucas Bajolet ec682afc4a addrs: require at least 3 parts to source URIs
2 years ago
Lucas Bajolet c7f2508373 addrs: return error on ParsePluginSource
2 years ago
Lucas Bajolet 9b38e0eb5c addrs: limit source component length to 16
2 years ago
Lucas Bajolet d2ade9a783 packer: register plugin components only once
2 years ago
Lucas Bajolet 6fc1d154bd packer: relax constraints on sources
2 years ago
Lucas Bajolet 1bf3e86ee1 hcl2template: fix invalid_inexplicit_source_2 test
2 years ago
Lucas Bajolet 93bec31ec9 version: embed version/VERSION as version string
2 years ago
Devashish 595b45e67c Packer tracks Version and Plugins Metadata (#12860)
2 years ago
Lucas Bajolet ea1e798c47 fmt: print parse errors on error
2 years ago
Lucas Bajolet 9f7e6ca52b plugins: add a release only flag to Discover
2 years ago
Lucas Bajolet e099c5c661 main: move Discover to DetectPluginBinaries
2 years ago
Lucas Bajolet b51c350bd6 packer: fix plugin version sorting and pickup
2 years ago
Lucas Bajolet fd5f668ee9 plugin: consolidate loading logic
2 years ago
Lucas Bajolet 4b00a81bf3 packer: remove directory slices from structs
2 years ago
Lucas Bajolet 94aaff44a1 packer: only support one directory for plugins
2 years ago
Lucas Bajolet dff49df129 hcl2template: check bucket name at parse-time
2 years ago
Devashish 682eca2877 Remove repeated code
2 years ago
Devashish 4b591d6937 Add PR suggestions
2 years ago
Devashish b77d581cda Add the deprecation warning and update docs
2 years ago
Devashish cbc16cfed5 Add versionFingerprint to EvalContext
2 years ago
Wilken Rivera 263821ac25 hcl2template/functions: Add Non-null refinements for various functions
2 years ago
Lucas Bajolet 8c7b97331b hcl2: don't show an empty source on var errors
2 years ago
Lucas Bajolet efe182b221 packer: link to docs if a component is missing
2 years ago
Lucas Bajolet 434a1637f8 hcl2template: fix func to get vars from a config
2 years ago
Lucas Bajolet 51ec78622d hcl2template: simplify startDatasource function
2 years ago
Lucas Bajolet d9259d6d12 hcl2template: extract attr filter code from ds
2 years ago
Lucas Bajolet 14b6ad10fe hcl2template: report localtion for cycle detection
2 years ago
Lucas Bajolet 2a6ccaccab hcl2template: simplify datasource evaluation
2 years ago
Lucas Bajolet 8438d81d4d hcl2template: remove unused shouldContinue bool
2 years ago
guoguangwu 7eb6a45cd4 chore: remove refs to deprecated io/ioutil
2 years ago
guoguangwu 324e628b86 chore: unnecessary use of fmt.Sprintf
2 years ago