Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(terraform): Implement terraform lock files #10469

Merged
merged 94 commits into from
Jun 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
14307f0
feat(Terraform): update Terraform lock files
secustor Jan 26, 2021
5ec1504
feat(Terraform): use helmv3 implementation instead of npm
secustor Jan 26, 2021
33a7c46
chore: revert npmAdditionalFiles to additionalFiles
secustor Jan 28, 2021
e5be540
feat(Terraform): adding unit test and remove unnecessary file
secustor Jan 28, 2021
d565e44
feat(terraform): add platforms and local dependency mirror
secustor Apr 9, 2021
f053a06
feat(terraform): implement skeleton of build hash in datasource
secustor Apr 13, 2021
6dc6326
feat(terraform): implement hash cache
secustor Apr 13, 2021
35e0fa4
feat(terraform): implement basic builds
secustor Apr 14, 2021
346e4f2
feat(terraform): fix datasource coverage
secustor Apr 14, 2021
cd8548e
feat(terraform): fix datasource coverage
secustor Apr 14, 2021
1a65580
feat(terraform): remove hashing from datasource and moving it to arti…
secustor Apr 16, 2021
a542485
feat(terraform): implement artifact maintenance
secustor Apr 16, 2021
71075a6
merge master
secustor Apr 16, 2021
52b4154
fix: roll back type change and add snapshot
secustor Apr 16, 2021
19b40ab
feat(terraform): add and fix unit tests
secustor Apr 18, 2021
4d3e579
fix(terraform): fix sort hashing
secustor Apr 18, 2021
75a083e
fix(terraform): fix linting errors
secustor Apr 18, 2021
2c8b93b
fix(terraform): change download path of downloads
secustor Apr 18, 2021
3263209
Merge branch 'master' into implement-terraform-lock-files
secustor Apr 18, 2021
33b5aee
feat(CI): checkout git repo with lfs objects
secustor Apr 19, 2021
565f32c
feat(terraform): replace full build archive with a minimal zip file a…
secustor Apr 20, 2021
1cc3174
Merge branch 'master' into implement-terraform-lock-files
secustor Apr 20, 2021
db692d4
Merge branch 'master' into implement-terraform-lock-files
secustor Apr 20, 2021
d7eeb36
Merge branch 'master' into implement-terraform-lock-files
rarkins Apr 20, 2021
1e33330
fix(terraform): fix coverage
secustor Apr 20, 2021
badc6d9
Merge remote-tracking branch 'origin/implement-terraform-lock-files' …
secustor Apr 20, 2021
5b22147
fix(terraform): use import type instead of only import
secustor Apr 20, 2021
64edbd2
merge master
secustor Apr 21, 2021
0afd686
Merge branch 'master' into implement-terraform-lock-files
secustor Apr 22, 2021
65d786b
Merge branch 'main' into implement-terraform-lock-files
secustor Apr 23, 2021
3672cd3
Merge branch 'main' into implement-terraform-lock-files
secustor Apr 25, 2021
0086e6d
Merge branch 'main' into implement-terraform-lock-files
secustor Apr 26, 2021
0f50ae2
Merge branch 'main' into implement-terraform-lock-files
secustor Apr 26, 2021
d785502
fix(terraform): replace getName(__filename) with getName()
secustor Apr 26, 2021
095e08f
fix(terraform): apply simplification requests
secustor Apr 27, 2021
5997054
fix(terraform): use util/fs instead of fs
secustor Apr 27, 2021
ec73ba7
Merge remote-tracking branch 'origin/implement-terraform-lock-files' …
secustor Apr 27, 2021
aecbd74
Merge branch 'main' into implement-terraform-lock-files
secustor Apr 27, 2021
6608407
fix(terraform): fix coverage
secustor Apr 27, 2021
1cfeebe
fix(terraform): use loadFixture
secustor Apr 28, 2021
1c27f93
fix(terraform): fix loadFixture pathes
secustor Apr 28, 2021
6bfdcdf
Merge branch 'main' into implement-terraform-lock-files
secustor Apr 29, 2021
0f17596
fix(terraform): use util/fs for deleting, simplify
secustor Apr 29, 2021
63b2591
Merge branch 'main' into implement-terraform-lock-files
secustor Apr 29, 2021
b36d784
Merge branch 'main' into implement-terraform-lock-files
secustor Apr 29, 2021
4f0f8fc
fix(terraform): cleanup tests and implement requested changes
secustor Apr 30, 2021
6d53330
fix(terraform): add snapshot
secustor Apr 30, 2021
b1fd760
Merge branch 'main' into implement-terraform-lock-files
secustor May 6, 2021
5a85771
Merge branch 'main' into implement-terraform-lock-files
viceice May 6, 2021
4c17e15
fix(terraform): simplify and implement change requests
secustor May 6, 2021
69ef9ec
merge main
secustor May 6, 2021
9b0198e
update lock file
secustor May 6, 2021
b0a409d
Merge branch 'main' into implement-terraform-lock-files
viceice May 7, 2021
3c0836b
fix(terraform): simplify and implement change requests
secustor May 7, 2021
12c4d65
Merge remote-tracking branch 'origin/implement-terraform-lock-files' …
secustor May 7, 2021
625ef60
merge main
secustor May 27, 2021
616c6b4
fix: regressions
secustor May 27, 2021
97b0755
fix: imports
secustor May 27, 2021
2575955
Merge branch 'main' into implement-terraform-lock-files
secustor May 27, 2021
291f4c0
fix: remove jest initialization hash.spec.ts
secustor May 27, 2021
07bd6bd
Merge remote-tracking branch 'origin/implement-terraform-lock-files' …
secustor May 27, 2021
06c1abf
fix: httMock initialization
secustor May 27, 2021
37df791
merge main and resolve conflicts
secustor May 31, 2021
ab170ef
Merge branch 'main' into implement-terraform-lock-files
secustor Jun 1, 2021
bcf5990
Merge branch 'main' into implement-terraform-lock-files
secustor Jun 2, 2021
4c2bdb7
Merge branch 'main' into implement-terraform-lock-files
rarkins Jun 2, 2021
894d492
feat(terraform): add experimental flag for lockfile handling
secustor Jun 5, 2021
20ed863
fix download stream
secustor Jun 5, 2021
9079b6a
feat: set only cache and update if all hashes could be extracted
secustor Jun 5, 2021
aea0b70
Merge branch 'main' into implement-terraform-lock-files
secustor Jun 5, 2021
4216c75
fix: rename experimental flag
secustor Jun 7, 2021
69dd9e1
Merge branch 'main' into implement-terraform-lock-files
secustor Jun 14, 2021
b5dccfb
Merge branch 'main' into implement-terraform-lock-files
secustor Jun 14, 2021
051506c
fix: adapt to TerraformProviderDatasource class
secustor Jun 14, 2021
1574d90
Merge branch 'main' into implement-terraform-lock-files
JamieMagee Jun 15, 2021
af7bcb2
test: cleanup
viceice Jun 16, 2021
597f2c3
Merge branch 'main' into implement-terraform-lock-files
viceice Jun 16, 2021
73cf484
Merge branch 'main' into implement-terraform-lock-files
rarkins Jun 16, 2021
eb78213
Merge branch 'main' into implement-terraform-lock-files
viceice Jun 16, 2021
0806bf5
fix(terraform): use path joins instead of slashes (#10461)
secustor Jun 16, 2021
72781ca
fix(manager): optimize lockfile cache handling (#10463)
viceice Jun 16, 2021
4b9651b
add windows test
rarkins Jun 16, 2021
362ff26
Update build.yml
rarkins Jun 16, 2021
a0d8661
simplify ci
viceice Jun 17, 2021
2542dd1
Merge branch 'main' into implement-terraform-lock-files
viceice Jun 17, 2021
63ff11e
test: snapshot errors
viceice Jun 17, 2021
9823bea
fix: await hash before deleting extracted files
viceice Jun 17, 2021
423b611
Revert "simplify ci"
viceice Jun 17, 2021
b74d0e1
Revert "Update build.yml"
viceice Jun 17, 2021
1bc4636
Revert "add windows test"
viceice Jun 17, 2021
3f12619
Merge remote-tracking branch 'origin/HEAD' into pr/secustor/10469
viceice Jun 17, 2021
3353e47
feat: move registry urls to static property
viceice Jun 17, 2021
c0989f0
Merge branch 'main' into implement-terraform-lock-files
viceice Jun 17, 2021
ade592c
Merge branch 'main' into implement-terraform-lock-files
rarkins Jun 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/usage/self-hosted-experimental.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ If set to any value, Renovate will always paginate requests to GitHub fully, ins

If set to "false" (string), Renovate will remove any existing `package-lock.json` before attempting to update it.

## RENOVATE_X_TERRAFORM_LOCK_FILE

If set to any value, Renovate will update Terraform lock files and allow lockfile maintenance.

## RENOVATE_USER_AGENT

If set to any string, Renovate will use this as the `user-agent` it sends with HTTP requests.
Expand Down
3,525 changes: 3,524 additions & 1 deletion lib/datasource/terraform-provider/__fixtures__/azurerm-provider.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -43,26 +43,26 @@
{
"name": "terraform-provider-google-beta",
"version": "1.20.0",
"os": "openbsd",
"arch": "386",
"filename": "terraform-provider-google-beta_1.20.0_openbsd_386.zip",
"url": "https://releases.hashicorp.com/terraform-provider-google-beta/1.20.0/terraform-provider-google-beta_1.20.0_openbsd_386.zip"
"os": "darwin",
"arch": "amd64",
"filename": "terraform-provider-google-beta_1.20.0_darwin_amd64.zip",
"url": "https://releases.hashicorp.com/terraform-provider-google-beta/1.20.0/terraform-provider-google-beta_1.20.0_darwin_amd64.zip"
},
{
"name": "terraform-provider-google-beta",
"version": "1.20.0",
"os": "openbsd",
"arch": "amd64",
"filename": "terraform-provider-google-beta_1.20.0_openbsd_amd64.zip",
"url": "https://releases.hashicorp.com/terraform-provider-google-beta/1.20.0/terraform-provider-google-beta_1.20.0_openbsd_amd64.zip"
"os": "freebsd",
"arch": "386",
"filename": "terraform-provider-google-beta_1.20.0_freebsd_386.zip",
"url": "https://releases.hashicorp.com/terraform-provider-google-beta/1.20.0/terraform-provider-google-beta_1.20.0_freebsd_386.zip"
},
{
"name": "terraform-provider-google-beta",
"version": "1.20.0",
"os": "solaris",
"os": "freebsd",
"arch": "amd64",
"filename": "terraform-provider-google-beta_1.20.0_solaris_amd64.zip",
"url": "https://releases.hashicorp.com/terraform-provider-google-beta/1.20.0/terraform-provider-google-beta_1.20.0_solaris_amd64.zip"
"filename": "terraform-provider-google-beta_1.20.0_freebsd_amd64.zip",
"url": "https://releases.hashicorp.com/terraform-provider-google-beta/1.20.0/terraform-provider-google-beta_1.20.0_freebsd_amd64.zip"
}
]
},
Expand Down
Loading