-
-
Notifications
You must be signed in to change notification settings - Fork 1k
/
Copy pathconfig.yml
937 lines (883 loc) · 26.4 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
orbs:
# The Windows orb gives us everything we need to start using the Windows executor.
win: circleci/[email protected]
go: circleci/[email protected]
# The "sign binary" rubs in a MacOS environment, so it's necessary to download GW's binaries
env: &env
environment:
GRUNTWORK_INSTALLER_VERSION: v0.0.39
MODULE_CI_VERSION: v0.57.0
OPENTOFU_VERSION: "1.9.0"
TERRAFORM_VERSION: "1.9.7"
TFLINT_VERSION: "0.47.0"
TOFU_ENGINE_VERSION: "v0.0.11"
defaults: &defaults
docker:
- image: 087285199408.dkr.ecr.us-east-1.amazonaws.com/circle-ci-test-image-base:go1.23.1-tf1.5-tg58.8-pck1.8-ci58.2
# Install Terraform which is not available in the default image
install_terraform_latest: &install_terraform_latest
name: Install the latest Terraform
command: |
pushd .
cd /tmp
curl -L "https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip" -o terraform.zip
unzip -o terraform.zip
sudo install -m 0755 terraform /usr/local/bin/terraform
rm -rf terraform
rm -rf terraform.zip
popd
terraform --version
install_tofu: &install_tofu
name: Install OpenTofu
command: |
pushd .
cd /tmp
curl -L "https://github.com/opentofu/opentofu/releases/download/v${OPENTOFU_VERSION}/tofu_${OPENTOFU_VERSION}_linux_amd64.zip" -o tofu.zip
unzip -o tofu.zip
sudo install -m 0755 tofu /usr/local/bin/tofu
rm -rf tofu
rm -rf tofu.zip
popd
tofu --version
export TERRAGRUNT_TFPATH=tofu
sudo rm -f $(which terraform)
install_tflint: &install_tflint
name: Install TFlint
command: |
pushd .
cd /tmp
curl -L "https://github.com/terraform-linters/tflint/releases/download/v${TFLINT_VERSION}/tflint_linux_amd64.zip" -o tflint.zip
unzip -o tflint.zip
sudo install -m 0755 tflint /usr/local/bin/tflint
rm -rf tflint
rm -rf tflint.zip
popd
tflint --version
install_tofu_engine: &install_tofu_engine
name: Install OpenTofu Engine
command: |
# Download the OpenTofu Engine binary
set -x
export REPO="gruntwork-io/terragrunt-engine-opentofu"
export ASSET_NAME="terragrunt-iac-engine-opentofu_rpc_${TOFU_ENGINE_VERSION}_linux_amd64.zip"
wget -O "engine.zip" "https://github.com/${REPO}/releases/download/${TOFU_ENGINE_VERSION}/${ASSET_NAME}"
unzip -o "engine.zip"
setup_test_environment: &setup_test_environment
name: Setup integration tests environment
command: |
# Make GCP Service Account creds available as a file
echo $GCLOUD_SERVICE_KEY > ${HOME}/gcloud-service-key.json
echo 'export GOOGLE_APPLICATION_CREDENTIALS=${HOME}/gcloud-service-key.json' >> $BASH_ENV
# Import test / dev key for SOPS
gpg --import --no-tty --batch --yes ./test/fixtures/sops/test_pgp_key.asc
mkdir -p logs
no_output_timeout: 30m
run_integration_test: &run_integration_test
name: Run integration tests
command: |
run-go-tests --packages "$(go list ./... | grep /test | tr '\n' ' ')" | tee logs/test-results.log
no_output_timeout: 30m
run_integration_tofu_only_test: &run_integration_tofu_only_test
name: Run tofu-only integration tests
command: |
run-go-tests --packages "-tags tofu -run ^TestTofu ./..." | tee logs/test-results.log
no_output_timeout: 30m
environment:
TERRAGRUNT_TFPATH: tofu
run_integration_gcp_test: &run_integration_gcp_test
name: Run integration tests GCP
command: |
run-go-tests --packages "-tags=gcp -run ^TestGcp ./..." | tee logs/test-results.log
no_output_timeout: 30m
run_integration_aws_test: &run_integration_aws_test
name: Run integration tests AWS
command: |
run-go-tests --packages "-tags=aws -run ^TestAws ./..." | tee logs/test-results.log
no_output_timeout: 30m
run_integration_engine_test: &run_integration_engine_test
name: Run integration tests engine
command: |
run-go-tests --packages "-tags=engine -run ^TestEngine ./test" | tee logs/test-results.log
no_output_timeout: 30m
run_tflint_test: &run_tflint_test
name: Run TFlint tests
command: |
run-go-tests --packages "-tags tflint -run TestTflint ./test" | tee logs/test-results.log
no_output_timeout: 30m
run_race_test: &run_race_test
name: Run Race tests
command: |
run-go-tests --packages "-run '.*WithRacing' -race ./test" | tee logs/test-results.log
no_output_timeout: 30m
run_terratest_log_parser: &run_terratest_log_parser
name: Terratest log parser
command: |
gruntwork-install --binary-name 'terratest_log_parser' --repo 'https://github.com/gruntwork-io/terratest' --tag 'v0.30.0'
terratest_log_parser --testlog logs/test-results.log --outputdir logs
when: always
run_markdownlint: &run_markdownlint
name: Run markdownlint
command: |
markdownlint \
--disable MD013 MD024 \
-- \
docs
codespell: &codespell
name: Run codespell
command: |
pip install codespell==2.4.0
codespell .
win_install_golang: &win_install_golang
name: Install golang
shell: powershell.exe
command: ./_ci/install-golang.ps1
win_install_tflint: &win_install_tflint
name: Install TFLint
shell: powershell.exe
command: ./_ci/install-tflint.ps1
version: 2.1
jobs:
test_windows_terraform:
executor:
name: win/default
size: "large"
<<: *env
steps:
- checkout
- run:
<<: *win_install_golang
- run:
<<: *win_install_tflint
- run:
name: Install Terraform
shell: powershell.exe
command: ./_ci/install-terraform.ps1
- run:
name: Run go terraform tests
shell: powershell.exe
no_output_timeout: 45m
command: |
go test -tags windows -v -run ^TestWindows ./... -timeout 45m
test_windows_tofu:
executor:
name: win/default
size: "large"
<<: *env
steps:
- checkout
- run:
<<: *win_install_golang
- run:
<<: *win_install_tflint
- run:
name: Install Opentofu
shell: powershell.exe
command: ./_ci/install-opentofu.ps1
- run:
name: Run go tofu tests
shell: powershell.exe
no_output_timeout: 45m
environment:
TERRAGRUNT_TFPATH: tofu
command: |
go test -tags windows -v -run ^TestWindows ./... -timeout 45m
# We're running unit tests separately from integration tests - with no parallelization.
# With heavy parallelization coupled with re-use of test fixtures we've witnessed slight
# instability with the tests. The unit tests are fast to execute, so there is negligible
# performance penalty.
unit_test:
<<: *defaults
<<: *env
steps:
- checkout
# Run pre-commit hooks and fail the build if any hook finds required changes.
- run:
name: run precommit
command: |
# Oct 26, 2019: Install the last known working version of pre-commit. Also, we have to pin the version of
# transitive dependencies that are being pulled in which released new versions that are no longer compatible
# with any python < 3.6.
pip3 install pre-commit==1.21.0 cfgv==2.0.1 zipp==1.1.0
go install golang.org/x/tools/cmd/goimports@latest
export GOPATH=~/go/bin && export PATH=$PATH:$GOPATH
pre-commit install
pre-commit run --all-files
- run:
name: generate mocks
command: |
make install-mockery
make generate-mocks
- run:
name: run lint
command: |
make install-lint
make run-lint
- run:
command: |
mkdir -p logs
go mod tidy
run-go-tests --parallelism 1 --packages "$(go list ./... | grep -v /test | tr '\n' ' ')" | tee logs/test-results.log
go test -run=TestParseDependencyBlockMultiple -race ./config | tee -a logs/block-multiple-test-results.log
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_terraform_1_5:
resource_class: xlarge
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *install_tflint
- run:
<<: *setup_test_environment
- run:
<<: *run_integration_test
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_terraform_with_provider_cache:
resource_class: xlarge
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *install_tflint
- run:
<<: *setup_test_environment
- run:
<<: *run_integration_test
environment:
TERRAGRUNT_PROVIDER_CACHE: "1"
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_terraform_latest:
resource_class: xlarge
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *install_terraform_latest
- run:
<<: *install_tflint
- run:
<<: *setup_test_environment
- run:
<<: *run_integration_test
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_tofu:
resource_class: xlarge
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *install_tofu
- run:
<<: *install_tflint
- run:
<<: *setup_test_environment
- run:
<<: *run_integration_test
environment:
TERRAGRUNT_TFPATH: tofu
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_tofu_only:
resource_class: medium
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *install_tofu
- run:
<<: *install_tflint
- run:
<<: *setup_test_environment
- run:
<<: *run_integration_tofu_only_test
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_tofu_with_provider_cache:
resource_class: xlarge
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *install_tofu
- run:
<<: *install_tflint
- run:
<<: *setup_test_environment
- run:
<<: *run_integration_test
environment:
TERRAGRUNT_TFPATH: tofu
TERRAGRUNT_PROVIDER_CACHE: "1"
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_tofu_engine:
resource_class: xlarge
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *install_tofu
- run:
<<: *install_tofu_engine
- run:
<<: *setup_test_environment
- run:
<<: *run_integration_engine_test
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_tofu_gcp:
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *install_tofu
- run:
<<: *setup_test_environment
- run:
<<: *run_integration_gcp_test
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_terraform_gcp:
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *setup_test_environment
- run:
<<: *run_integration_gcp_test
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_terraform_latest_gcp:
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *setup_test_environment
- run:
<<: *install_terraform_latest
- run:
<<: *run_integration_gcp_test
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_tofu_aws:
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *install_tofu
- run:
<<: *setup_test_environment
- run:
<<: *run_integration_aws_test
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_terraform_aws:
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *setup_test_environment
- run:
<<: *run_integration_aws_test
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
integration_test_terraform_latest_aws:
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *setup_test_environment
- run:
<<: *install_terraform_latest
- run:
<<: *run_integration_aws_test
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
test_mocks:
resource_class: small
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *install_tofu
- run:
<<: *setup_test_environment
- run:
name: generate mocks
command: |
make install-mockery
make generate-mocks
- run:
name: Run mocks tests
command: |
run-go-tests --packages "-tags=mocks -run ^TestMock ./terraform/getproviders/." | tee logs/test-results.log
no_output_timeout: 30m
environment:
TERRAGRUNT_TFPATH: tofu
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
strict_lint:
resource_class: medium
<<: *defaults
<<: *env
steps:
- checkout
# The `run-strict-lint` target requires the `main` ref for comparison.
- run: git fetch
- run:
name: Run strict lint
command: |
make install-lint
make run-strict-lint
# Run TFLint tests separately as tflint during execution change working directory.
integration_test_tflint:
resource_class: large
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *install_tofu
- run:
<<: *install_tflint
- run:
<<: *setup_test_environment
- run:
<<: *run_tflint_test
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
race_test:
resource_class: medium
<<: *defaults
<<: *env
steps:
- checkout
- run:
<<: *install_tofu
- run:
<<: *setup_test_environment
- run:
<<: *run_race_test
- run:
<<: *run_terratest_log_parser
- store_artifacts:
path: logs
- store_test_results:
path: logs
run_markdownlint:
<<: *defaults
steps:
- checkout
- run:
<<: *run_markdownlint
codespell:
<<: *defaults
steps:
- checkout
- run:
<<: *codespell
build:
resource_class: xlarge
<<: *defaults
steps:
- checkout
- run: build-go-binaries --app-name terragrunt --dest-path bin --ld-flags "-X github.com/gruntwork-io/go-commons/version.Version=$CIRCLE_TAG -extldflags '-static'"
- persist_to_workspace:
root: .
paths: [bin]
test_build_no_proxy:
# build Terragrunt without Go proxy to ensure all dependencies have correct checksums
resource_class: xlarge
<<: *defaults
steps:
- checkout
- run:
name: Building Terragrunt without Go proxy
no_output_timeout: 20m
command: |
GOPROXY=direct build-go-binaries --app-name terragrunt --dest-path bin --ld-flags "-X github.com/gruntwork-io/go-commons/version.Version=$CIRCLE_TAG -extldflags '-static'"
test_signing:
<<: *env
macos:
xcode: 15.3.0
resource_class: macos.m1.medium.gen1
steps:
- checkout
- attach_workspace:
at: .
- go/install:
version: "1.20.5"
- run:
name: Install sign-binary-helpers
command: |
curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/v0.0.40/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version "${GRUNTWORK_INSTALLER_VERSION}"
gruntwork-install --module-name "gruntwork-module-circleci-helpers" --repo "https://github.com/gruntwork-io/terraform-aws-ci" --tag "${MODULE_CI_VERSION}"
gruntwork-install --module-name "sign-binary-helpers" --repo "https://github.com/gruntwork-io/terraform-aws-ci" --tag "${MODULE_CI_VERSION}"
- run:
name: Compile and sign the binaries
command: |
export AC_PASSWORD=${MACOS_AC_PASSWORD}
export AC_PROVIDER=${MACOS_AC_PROVIDER}
sign-binary --os mac --install-macos-sign-dependencies .gon_amd64.hcl
sign-binary --os mac .gon_arm64.hcl
echo "Done signing the binary"
# Replace the files in bin. These are the same file names generated from .gon_amd64.hcl and .gon_arm64.hcl
unzip terragrunt_darwin_amd64.zip
mv terragrunt_darwin_amd64 bin/
unzip terragrunt_darwin_arm64.zip
mv terragrunt_darwin_arm64 bin/
codesign -dv --verbose=4 ./bin/terragrunt_darwin_amd64
codesign -dv --verbose=4 ./bin/terragrunt_darwin_arm64
deploy:
<<: *env
macos:
xcode: 15.3.0
resource_class: macos.m1.medium.gen1
steps:
- checkout
- attach_workspace:
at: .
- go/install:
version: "1.20.5"
- run:
name: Install sign-binary-helpers
command: |
curl -Ls https://raw.githubusercontent.com/gruntwork-io/gruntwork-installer/v0.0.40/bootstrap-gruntwork-installer.sh | bash /dev/stdin --version "${GRUNTWORK_INSTALLER_VERSION}"
gruntwork-install --module-name "gruntwork-module-circleci-helpers" --repo "https://github.com/gruntwork-io/terraform-aws-ci" --tag "${MODULE_CI_VERSION}"
gruntwork-install --module-name "sign-binary-helpers" --repo "https://github.com/gruntwork-io/terraform-aws-ci" --tag "${MODULE_CI_VERSION}"
- run:
name: Compile and sign the binaries
command: |
export AC_PASSWORD=${MACOS_AC_PASSWORD}
export AC_PROVIDER=${MACOS_AC_PROVIDER}
sign-binary --os mac --install-macos-sign-dependencies .gon_amd64.hcl
sign-binary --os mac .gon_arm64.hcl
echo "Done signing the binary"
# Replace the files in bin. These are the same file names generated from .gon_amd64.hcl and .gon_arm64.hcl
unzip terragrunt_darwin_amd64.zip
mv terragrunt_darwin_amd64 bin/
unzip terragrunt_darwin_arm64.zip
mv terragrunt_darwin_arm64 bin/
- run:
name: Run SHA256SUM
command: |
brew install coreutils
cd bin && sha256sum * > SHA256SUMS
- run: upload-github-release-assets bin/*
- run:
name: Verify that assets attached to the release
command: |
./_ci/verify-release-assets.sh
workflows:
version: 2
build-and-test:
jobs:
- test_windows_terraform:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- test_windows_tofu:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- unit_test:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- integration_test_terraform_1_5:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- integration_test_terraform_latest:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- integration_test_terraform_with_provider_cache:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- integration_test_tofu:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- integration_test_tofu_only:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- integration_test_tofu_with_provider_cache:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- integration_test_tflint:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- test_mocks:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- race_test:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- integration_test_tofu_engine:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- APPLE__OSX__code-signing
- integration_test_tofu_gcp:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- APPLE__OSX__code-signing
- integration_test_terraform_gcp:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- APPLE__OSX__code-signing
- integration_test_terraform_latest_gcp:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- APPLE__OSX__code-signing
- integration_test_tofu_aws:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- AWS__PHXDEVOPS__terragrunt-oidc-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- APPLE__OSX__code-signing
- integration_test_terraform_aws:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- AWS__PHXDEVOPS__terragrunt-oidc-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- APPLE__OSX__code-signing
- integration_test_terraform_latest_aws:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- AWS__PHXDEVOPS__terragrunt-oidc-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- APPLE__OSX__code-signing
- run_markdownlint:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- codespell:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- build:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- test_signing:
requires:
- build
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- APPLE__OSX__code-signing
- test_build_no_proxy:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- deploy:
requires:
- build
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci
- APPLE__OSX__code-signing
unessential:
jobs:
- strict_lint:
filters:
tags:
only: /^v.*/
context:
- AWS__PHXDEVOPS__circle-ci-test
- GCP__automated-tests
- GITHUB__PAT__gruntwork-ci