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

fix guarantee autoplan order #1042

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
204 commits
Select commit Hold shift + click to select a range
a7a8ae4
chore: Bump go from 1.17 to 1.18
vincenthsh Sep 21, 2022
b74a646
chore: build CI use go-version-file
vincenthsh Sep 22, 2022
afc2fa6
feat: Add support for multiple modules per component
vincenthsh Sep 21, 2022
bcb7532
chore: Disable integration test
vincenthsh Sep 20, 2022
cb5e45a
Add senstive field from module to module invocation outputs tpl
vincenthsh Sep 22, 2022
09eb228
Add ability to disable Global at env config level
vincenthsh Sep 23, 2022
e626e6f
deprecate template provider
vincenthsh Sep 27, 2022
217ad49
chore: Update random provider to latest
vincenthsh Sep 27, 2022
2efe2bb
Update golden test files
vincenthsh Sep 27, 2022
9e8d383
Merge branch 'chore-update-utility-providers' into feat-multi-module-…
vincenthsh Sep 27, 2022
16acf92
feat: Add Sops provider
vincenthsh Sep 27, 2022
30e7ee2
Merge branch 'main' into feat-multi-module-components
jakeyheath Sep 28, 2022
c6b6f09
Re-enable TestIntegration and update-golden-files
vincenthsh Oct 5, 2022
364f856
chore: Add release please workflow
vincenthsh Oct 21, 2022
07f85ef
chore: bump github.com/fatih/color from 1.10.0 to 1.13.0 (#5)
dependabot[bot] Oct 21, 2022
a811316
chore: bump github.com/go-errors/errors from 1.1.1 to 1.4.2 (#4)
dependabot[bot] Oct 21, 2022
585234d
chore: update fork (#7)
vincenthsh Oct 21, 2022
c26898f
feat: Add support for atlantis repoCfg (#8)
vincenthsh Oct 21, 2022
77998dd
chore: bump github.com/aws/aws-sdk-go from 1.44.105 to 1.44.120 (#3)
dependabot[bot] Oct 21, 2022
d3ae53b
fix: Use github token
vincenthsh Oct 21, 2022
63e6e0c
chore: bump github.com/spf13/cobra from 1.5.0 to 1.6.0 (#1)
dependabot[bot] Oct 21, 2022
dc4c5e5
chore(feat-multi-module-components): release 0.75.0 (#6)
vincenthsh Oct 21, 2022
32304bd
chore: bump github.com/aws/aws-sdk-go from 1.44.120 to 1.44.121 (#9)
dependabot[bot] Oct 25, 2022
3b213ab
chore: bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#10)
dependabot[bot] Oct 25, 2022
db39a91
chore: bump github.com/spf13/cobra from 1.6.0 to 1.6.1 (#12)
dependabot[bot] Oct 25, 2022
4a2d7dc
chore: bump github.com/aws/aws-sdk-go from 1.44.121 to 1.44.122 (#13)
dependabot[bot] Oct 25, 2022
dddef4c
feat: Add pre-commit to Github Actions workflow (#14)
vincenthsh Oct 31, 2022
3d5287c
chore(feat-multi-module-components): release 0.76.0 (#11)
vincenthsh Oct 31, 2022
af6b9d4
fix: Read terraformVersion from ComponentCommon.Common (#15)
vincenthsh Oct 31, 2022
6abcea0
chore(feat-multi-module-components): release 0.76.1 (#16)
vincenthsh Oct 31, 2022
3c7bdf8
chore: bump github.com/aws/aws-sdk-go from 1.44.122 to 1.44.126 (#17)
dependabot[bot] Nov 7, 2022
cd5edbe
chore: bump github.com/aws/aws-sdk-go from 1.44.126 to 1.44.131 (#19)
dependabot[bot] Nov 7, 2022
9db0eda
fix: fogg ci gh actions tflint (#23)
vincenthsh Nov 17, 2022
b22e95c
chore: bump github.com/aws/aws-sdk-go from 1.44.131 to 1.44.136 (#21)
dependabot[bot] Nov 17, 2022
36f8ed8
chore: bump github.com/hashicorp/hcl/v2 from 2.14.1 to 2.15.0 (#22)
dependabot[bot] Nov 17, 2022
39824f3
chore(feat-multi-module-components): release 0.76.2 (#18)
vincenthsh Nov 17, 2022
105b9c8
fix: fogg ci gh actions tflint (#25)
vincenthsh Nov 17, 2022
a4e3987
chore: bump github.com/aws/aws-sdk-go from 1.44.136 to 1.44.139 (#24)
dependabot[bot] Nov 17, 2022
8ff5fef
fix: fogg ci gh actions typo on tflint cache (#27)
vincenthsh Nov 17, 2022
e8c215c
chore(feat-multi-module-components): release 0.76.3 (#26)
vincenthsh Nov 17, 2022
f0b6026
fix: change fogg ci gh actions to run on pr (#28)
vincenthsh Nov 17, 2022
5c2ad4e
chore(feat-multi-module-components): release 0.76.4 (#29)
vincenthsh Nov 17, 2022
3e922b4
fix: Small makefile fixes for visibility (#30)
vincenthsh Nov 18, 2022
e632e75
chore(feat-multi-module-components): release 0.76.5 (#31)
vincenthsh Nov 18, 2022
8c9e885
fix: Add tflint ignores (#32)
vincenthsh Nov 18, 2022
86a78cb
chore(feat-multi-module-components): release 0.76.6 (#33)
vincenthsh Nov 18, 2022
7059854
fix: switching fogg gh ci to pull_request broke commits (#34)
vincenthsh Nov 18, 2022
c8bbe0a
fix fogg ci pr (#36)
vincenthsh Nov 18, 2022
448839c
chore(feat-multi-module-components): release 0.76.7 (#35)
vincenthsh Nov 18, 2022
938dda9
fix: fogg gh ci invalid yaml (#37)
vincenthsh Nov 18, 2022
45174c8
chore(feat-multi-module-components): release 0.76.8 (#38)
vincenthsh Nov 18, 2022
8d94722
fix: prevent changes to .terraform-version (#39)
vincenthsh Nov 20, 2022
d2fe837
chore(feat-multi-module-components): release 0.76.9 (#40)
vincenthsh Nov 20, 2022
564f57f
chore: bump github.com/aws/aws-sdk-go from 1.44.139 to 1.44.204 (#65)
dependabot[bot] Feb 23, 2023
0499f0e
chore: bump github.com/hashicorp/hcl/v2 from 2.15.0 to 2.16.1 (#63)
dependabot[bot] Feb 23, 2023
7136e96
chore: bump github.com/aws/aws-sdk-go from 1.44.204 to 1.44.207 (#67)
dependabot[bot] Feb 23, 2023
72c124d
chore: bump github.com/hashicorp/go-getter from 1.6.2 to 1.7.0 (#62)
dependabot[bot] Feb 23, 2023
a38799c
chore: bump github.com/fatih/color from 1.13.0 to 1.14.1 (#55)
dependabot[bot] Feb 23, 2023
76fa365
chore: bump golang.org/x/net from 0.1.0 to 0.7.0 (#68)
dependabot[bot] Feb 23, 2023
fbc1626
chore: bump github.com/runatlantis/atlantis from 0.20.1 to 0.22.3 (#56)
dependabot[bot] Feb 23, 2023
df05e8a
feat: Split component remote-state files for exclusion in Atlantis au…
vincenthsh Feb 23, 2023
406ce39
chore(feat-multi-module-components): release 0.77.0 (#66)
vincenthsh Feb 23, 2023
f0cf66a
chore: bump github.com/go-git/go-git/v5 from 5.4.2 to 5.5.2 (#51)
dependabot[bot] Feb 23, 2023
b120143
chore: bump github.com/hashicorp/hcl/v2 from 2.16.1 to 2.16.2 (#80)
dependabot[bot] Mar 15, 2023
518acec
chore: bump github.com/fatih/color from 1.14.1 to 1.15.0 (#79)
dependabot[bot] Mar 15, 2023
d3e3927
chore: bump github.com/aws/aws-sdk-go from 1.44.207 to 1.44.219 (#78)
dependabot[bot] Mar 15, 2023
1d67c70
chore: bump github.com/hashicorp/go-getter from 1.7.0 to 1.7.1 (#81)
dependabot[bot] Mar 15, 2023
d6b9eb9
chore: bump github.com/runatlantis/atlantis from 0.22.3 to 0.23.2 (#77)
dependabot[bot] Mar 15, 2023
1553792
chore: bump github.com/go-git/go-git/v5 from 5.5.2 to 5.6.0 (#76)
dependabot[bot] Mar 15, 2023
64aa35b
chore: bump github.com/aws/aws-sdk-go from 1.44.219 to 1.44.221 (#82)
dependabot[bot] Mar 15, 2023
767ea87
chore: bump github.com/jinzhu/copier (#73)
dependabot[bot] Mar 15, 2023
47611cc
chore: bump github.com/chanzuckerberg/go-misc (#71)
dependabot[bot] Mar 15, 2023
eccc952
feat: Use aws_iam_role_name field for GitHub Actions fogg apply job (…
vincenthsh Mar 15, 2023
6f37ee0
chore(feat-multi-module-components): release 0.78.0 (#70)
vincenthsh Mar 15, 2023
f23d16d
fix: GitHub Actions ID Token permissions for AWS IAM Role access (#85)
vincenthsh Mar 15, 2023
289b266
chore(feat-multi-module-components): release 0.78.1 (#86)
vincenthsh Mar 15, 2023
0bf7ecb
chore: bump github.com/go-git/go-git/v5 from 5.6.0 to 5.6.1 (#88)
vincenthsh Apr 25, 2023
571113a
chore: bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#93)
vincenthsh Apr 25, 2023
eb3c653
chore: bump github.com/chanzuckerberg/go-misc from 1.0.6 to 1.0.8 (#97)
vincenthsh Apr 25, 2023
30c07a2
chore: bump github.com/aws/aws-sdk-go from 1.44.240 to 1.44.249 (#101)
dependabot[bot] Apr 25, 2023
598bf02
chore: bump github.com/runatlantis/atlantis from 0.23.2 to 0.23.5 (#98)
dependabot[bot] Apr 25, 2023
815b561
feat: Add support for TF registry hosted modules (#103)
vincenthsh Apr 26, 2023
5f17513
feat: Add support for integration registry (#105)
vincenthsh May 5, 2023
0d380ba
chore: bump github.com/aws/aws-sdk-go from 1.44.249 to 1.44.257 (#107)
dependabot[bot] May 5, 2023
e3b57aa
chore(feat-multi-module-components): release 0.79.0 (#100)
vincenthsh May 5, 2023
b22902e
feat: Support AWS Provider tagging configurations (#140)
vincenthsh Jul 25, 2023
6c15438
chore: bump github.com/go-git/go-git/v5 from 5.6.1 to 5.8.0 (#135)
dependabot[bot] Jul 25, 2023
e048c14
chore: bump github.com/aws/aws-sdk-go from 1.44.257 to 1.44.307 (#142)
dependabot[bot] Jul 25, 2023
5a263be
chore: bump github.com/runatlantis/atlantis from 0.23.5 to 0.24.4 (#132)
dependabot[bot] Jul 25, 2023
d1d7831
chore: bump github.com/chanzuckerberg/go-misc from 1.0.8 to 1.10.2 (#…
dependabot[bot] Jul 25, 2023
806d955
chore(feat-multi-module-components): release 0.80.0 (#141)
vincenthsh Jul 25, 2023
07d54ce
fix: Fix syntax error in aws provider default and ignore tags config …
vincenthsh Jul 26, 2023
1290edd
feat: Re-use existing fogg var.tags (#145)
vincenthsh Jul 26, 2023
fde67f9
feat: Add tfstateKey tag for traceability (#146)
vincenthsh Jul 26, 2023
6315ab7
chore(feat-multi-module-components): release 0.81.0 (#144)
vincenthsh Jul 26, 2023
16eb7c9
feat: Bump dependencies (#151)
vincenthsh Aug 2, 2023
275c775
chore(feat-multi-module-components): release 0.82.0 (#152)
vincenthsh Aug 2, 2023
565466e
fix: tflint v0.47.0 fixes (#154)
vincenthsh Aug 2, 2023
7393a7c
chore: bump github.com/aws/aws-sdk-go from 1.44.312 to 1.44.314 (#153)
dependabot[bot] Aug 2, 2023
7a121d1
chore(feat-multi-module-components): release 0.82.1 (#155)
vincenthsh Aug 2, 2023
6a8dcf7
fix: Ensure tflint config from repo root is used in CI (#156)
vincenthsh Aug 2, 2023
2dc0391
chore(feat-multi-module-components): release 0.82.2 (#157)
vincenthsh Aug 2, 2023
52211f8
chore: bump github.com/runatlantis/atlantis from 0.24.4 to 0.25.0 (#160)
dependabot[bot] Sep 13, 2023
edcd0b2
chore: Group dependabot PRs for ease of maintenance (#173)
vincenthsh Sep 13, 2023
503db2f
chore: bump the gomod group with 6 updates (#175)
dependabot[bot] Sep 13, 2023
564e34d
chore: Add dependabot auto merge workflow (#177)
vincenthsh Sep 13, 2023
f1a2f6e
chore: Fix missing env var for gh cli (#179)
vincenthsh Sep 13, 2023
7728bee
chore: Dependabot integration can't set pr to auto merge (#180)
vincenthsh Sep 13, 2023
aef3cab
chore: bump the github-actions group with 4 updates (#176)
dependabot[bot] Sep 13, 2023
466bdda
chore: bump ci templates (#181)
vincenthsh Sep 13, 2023
5ab29f4
fix: dependabot gomod groups (#182)
vincenthsh Sep 13, 2023
4b0d1a0
fix: Update conventional commit title regex (#184)
vincenthsh Sep 13, 2023
7ed4cee
feat: Add support for module metadata arguments (#186)
vincenthsh Sep 14, 2023
5c111be
chore(feat-multi-module-components): release 0.83.0 (#170)
vincenthsh Sep 14, 2023
383a610
feat: Publish integration registry entries accross AWS Accounts (#187)
vincenthsh Sep 14, 2023
e0b7f00
chore(feat-multi-module-components): release 0.84.0 (#189)
vincenthsh Sep 14, 2023
33cf8be
feat: Add ability to suppress module outputs in component (#190)
vincenthsh Sep 15, 2023
e4717b6
chore(feat-multi-module-components): release 0.85.0 (#191)
vincenthsh Sep 15, 2023
e687e62
feat: Integrate pre-commit and apply tflint fixes (#193)
vincenthsh Sep 17, 2023
e0c0033
chore(feat-multi-module-components): release 0.86.0 (#194)
vincenthsh Sep 17, 2023
570ebf4
chore: bump the gomod group with 2 updates (#195)
dependabot[bot] Sep 17, 2023
e54a078
fix: Wrong fogg_ci job permissions (#197)
vincenthsh Sep 17, 2023
f62adea
fix: Filter out invalid module inputs (#198)
vincenthsh Sep 17, 2023
f6e157e
fix: Fogg github actions make setup add pwd to path (#199)
vincenthsh Sep 17, 2023
67efbc6
chore(feat-multi-module-components): release 0.86.1 (#196)
vincenthsh Sep 17, 2023
b1206cf
chore: bump the gomod group with 3 updates (#200)
dependabot[bot] Sep 25, 2023
b21127f
chore: Bump github/actions from v4.0.0 to v4.1.0 (#202)
vincenthsh Sep 26, 2023
c22a8bf
chore(feat-multi-module-components): release 0.86.2 (#201)
vincenthsh Sep 26, 2023
97c1a0b
chore: Don't ignore envrc file (#203)
vincenthsh Sep 26, 2023
6d74929
chore(feat-multi-module-components): release 0.86.3 (#204)
vincenthsh Sep 26, 2023
f7f6897
chore: bump the github-actions group with 1 update (#205)
dependabot[bot] Oct 2, 2023
48ef5b3
chore: bump the gomod group with 1 update (#207)
dependabot[bot] Oct 2, 2023
a4f900d
chore: bump the atlantis group with 1 update (#208)
dependabot[bot] Oct 9, 2023
873a20c
chore: bump the gomod group with 2 updates (#210)
dependabot[bot] Oct 9, 2023
0cc38f9
chore: templates - Bump the github-actions group with 1 update (#211)
vincenthsh Oct 10, 2023
2354dbf
chore: bump the terraform group with 2 updates (#213)
dependabot[bot] Oct 16, 2023
a7af629
chore: bump the gomod group with 1 update (#214)
dependabot[bot] Oct 16, 2023
19b83f8
chore: bump the terraform group with 1 update (#215)
dependabot[bot] Oct 23, 2023
90e0c86
chore: bump the gomod group with 2 updates (#216)
dependabot[bot] Oct 23, 2023
48d5550
chore: templates - bump gh-actions group with 1 update (#217)
vincenthsh Oct 24, 2023
3a3a5f1
feat: Support splitting fogg config into directory with partials (#218)
vincenthsh Oct 24, 2023
9c99af7
chore(feat-multi-module-components): release 0.87.0 (#206)
vincenthsh Oct 24, 2023
5f67c98
chore: bump the gomod group with 3 updates (#219)
dependabot[bot] Oct 30, 2023
89b3caa
chore: bump the gomod group with 4 updates (#221)
dependabot[bot] Nov 6, 2023
2e8b2b4
fix: Remove duplicate modules from atlantis.yml (#222)
silviana-hs Nov 8, 2023
d065af4
chore: bump the github-actions group with 1 update (#223)
dependabot[bot] Nov 13, 2023
9f66e09
chore: bump the gomod group with 2 updates (#225)
dependabot[bot] Nov 16, 2023
df4f8d3
chore: bump the gomod group with 2 updates (#226)
dependabot[bot] Nov 20, 2023
e1e521e
chore: bump the github-actions group with 1 update (#227)
dependabot[bot] Nov 20, 2023
c71f95c
chore(feat-multi-module-components): release 0.87.1 (#220)
vincenthsh Nov 24, 2023
342f880
feat: Allow outputs integration into the registry even when output is…
vincenthsh Nov 24, 2023
d648cbc
chore: bump the gomod group with 2 updates (#231)
dependabot[bot] Nov 27, 2023
4054a77
chore: bump the github-actions group with 1 update (#232)
dependabot[bot] Dec 4, 2023
fb1a6f0
chore: bump the gomod group with 1 update (#233)
dependabot[bot] Dec 4, 2023
c93c99f
chore: bump the gomod group with 3 updates (#234)
dependabot[bot] Dec 11, 2023
cf8dcc3
chore: bump the github-actions group with 2 updates (#235)
dependabot[bot] Dec 11, 2023
34290d8
chore: bump the atlantis group with 1 update (#236)
dependabot[bot] Dec 18, 2023
e4fa835
chore: bump the gomod group with 1 update (#237)
dependabot[bot] Dec 18, 2023
94d7a67
chore: bump the gomod group with 1 update (#238)
dependabot[bot] Dec 25, 2023
fd9fecb
chore: bump the github-actions group with 1 update (#239)
dependabot[bot] Dec 25, 2023
676c221
chore: bump the gomod group with 1 update (#240)
dependabot[bot] Jan 1, 2024
43c86d0
chore: bump the gomod group with 1 update (#241)
dependabot[bot] Jan 8, 2024
499e9db
chore: bump the gomod group with 1 update (#242)
dependabot[bot] Jan 15, 2024
c1c0fb5
chore: bump the atlantis group with 1 update (#243)
dependabot[bot] Jan 22, 2024
e7128fc
chore: bump the gomod group with 3 updates (#245)
dependabot[bot] Jan 29, 2024
d1320ba
chore: bump the gomod group with 1 update (#246)
dependabot[bot] Feb 5, 2024
ee428f6
chore: bump the gomod group with 1 update (#247)
dependabot[bot] Feb 12, 2024
669fc8d
feat: Atlantis custom module source prefix list and CDKTF support (#249)
vincenthsh Feb 14, 2024
3378246
chore: Bump fogg-ci actions (#250)
vincenthsh Feb 14, 2024
496565a
chore(feat-multi-module-components): release 0.88.0 (#229)
vincenthsh Feb 14, 2024
001a654
fix: Integration Registry for nested for entries bug (#251)
vincenthsh Feb 14, 2024
ad2188a
chore(feat-multi-module-components): release 0.88.1 (#252)
vincenthsh Feb 14, 2024
ed8b905
chore: bump the gomod group with 1 update (#253)
dependabot[bot] Feb 19, 2024
a6b5f1e
chore: bump the gomod group with 1 update (#254)
dependabot[bot] Feb 26, 2024
c2ec5e0
chore: bump the terraform group with 1 update (#255)
dependabot[bot] Mar 4, 2024
0e874bf
chore: bump the gomod group with 3 updates (#256)
dependabot[bot] Mar 4, 2024
45f78c7
chore: bump the gomod group with 1 update (#258)
dependabot[bot] Mar 11, 2024
0b9727f
feat: Modify atlantis integration for depends_on configuration (#260)
vincenthsh Mar 18, 2024
44abc0f
chore(feat-multi-module-components): release 0.89.0 (#261)
vincenthsh Mar 18, 2024
afa0608
chore: bump the atlantis group with 1 update (#257)
dependabot[bot] Mar 18, 2024
8457ea2
chore: bump the github-actions group with 1 update (#262)
dependabot[bot] Mar 18, 2024
3c145c8
chore: bump the gomod group with 1 update (#263)
dependabot[bot] Mar 18, 2024
67c862f
chore: Dependabot bump actions/[email protected] (#264)
vincenthsh Mar 19, 2024
7902825
feat: update aws arn role block (#267)
zackhee997 Mar 19, 2024
16a8d23
chore(feat-multi-module-components): release 0.90.0 (#268)
vincenthsh Mar 19, 2024
d02d5dd
chore: bump the github-actions group with 1 update (#269)
dependabot[bot] Mar 25, 2024
8ca358c
chore: bump the gomod group with 2 updates (#270)
dependabot[bot] Mar 25, 2024
0223b56
chore: bump the terraform group with 1 update (#271)
dependabot[bot] Apr 1, 2024
49b3ea6
chore: bump the gomod group with 2 updates (#272)
dependabot[bot] Apr 1, 2024
0e8a2b6
chore: bump github.com/aws/aws-sdk-go in the gomod group (#273)
dependabot[bot] Apr 8, 2024
df05ed5
chore: Add release please version manifest
vincenthsh Apr 14, 2024
dea585e
chore: bootstrap releases for path: . (#276)
vincenthsh Apr 14, 2024
5aaa83f
feat: Depends on Globs (#275)
vincenthsh Apr 14, 2024
08d7e9a
chore(feat-multi-module-components): release 0.91.0 (#277)
vincenthsh Apr 14, 2024
552fcdc
chore: bump github.com/hashicorp/go-getter in the terraform group (#278)
dependabot[bot] Apr 15, 2024
4bfa92d
chore: bump github.com/aws/aws-sdk-go in the gomod group (#279)
dependabot[bot] Apr 15, 2024
37611ae
chore: bump github.com/aws/aws-sdk-go in the gomod group (#282)
dependabot[bot] Apr 22, 2024
aef1949
feat: add dependency on modules invocation (#283)
zackhee997 Apr 23, 2024
2b6d6ee
feat: Add Atlantis autoplan for nested modules (#285)
vincenthsh Apr 24, 2024
d0024fe
chore(feat-multi-module-components): release 0.92.0 (#284)
vincenthsh Apr 24, 2024
3b52016
ci: Review release please config (#286)
vincenthsh Apr 24, 2024
5db4cca
fix: Ensure autoplan self (#288)
vincenthsh Apr 24, 2024
66b41bd
ci: Fix go 1.22 caching (#289)
vincenthsh Apr 24, 2024
069b6d1
fix: Guarantee autoplan order
vincenthsh Apr 24, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @chanzuckerberg/czi-shared-infra
* @vincenthsh
48 changes: 39 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,41 @@
version: 2
updates:
- package-ecosystem: gomod
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
labels:
- bot/merge
commit-message:
prefix: "chore: "
- package-ecosystem: gomod
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10
labels:
- bot/merge
commit-message:
prefix: "chore: "
groups:
atlantis:
patterns:
- "github.com/runatlantis/*"
terraform:
patterns:
- "github.com/hashicorp/*"
exclude-patterns:
# pin to 0.15.3 (last version with shared registry packages)
- "github.com/hashicorp/terraform/*"
gomod:
patterns:
- "*"
exclude-patterns:
- "github.com/runatlantis/*"
- "github.com/hashicorp/*"
# pin to 0.15.3 (last version with shared registry packages)
- "github.com/hashicorp/terraform/*"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
labels:
- bot/merge
commit-message:
prefix: "chore: "
groups:
github-actions:
patterns:
- "*"
50 changes: 9 additions & 41 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,16 @@
on: pull_request
on:
pull_request:
branches:
- feat-multi-module-components

jobs:
test:
runs-on: ubuntu-18.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
# go-version-file: go.mod
go-version: "1.22"
- name: Run tests
run: make test-ci

lint:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
- uses: hashicorp/setup-terraform@v1
with:
terraform_version: 1.1.3

# - name: tflint
# uses: reviewdog/action-tflint@master
# with:
# github_token: ${{ secrets.github_token }}
# working_directory: "testdata" # Optional. Change working directory
# reporter: github-pr-review # Optional. Change reporter
# fail_on_error: "true" # Optional. Fail action if errors are found
# filter_mode: "nofilter" # Optional. Check all files, not just the diff
# tflint_rulesets: "aws" # Optional. Extra official rulesets to install
# # flags: "--module" # Optional. Add custom tflint flags

- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
reporter: github-pr-review

- name: markdownlint
uses: reviewdog/[email protected]
with:
reporter: github-pr-review
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: terraform fmt
run: terraform fmt -check -diff -recursive testdata
18 changes: 16 additions & 2 deletions .github/workflows/conventional_commits_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ on:

jobs:
conventional_commit_title:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- uses: chanzuckerberg/github-actions/.github/actions/conventional-commits@main
# source https://github.com/chanzuckerberg/github-actions/blob/cac0ba177b109becac01bc340a3a1547feb40fe5/.github/actions/conventional-commits/action.yml
- uses: actions/github-script@v7
with:
script: |
const validator = /^(chore|feat|fix|revert|docs|style|ci)(\((((PETI|HSENG|SAENG)-[0-9]+)|([a-z-]+))\))?(!)?: (.)+$/
const title = context.payload.pull_request.title
const is_valid = validator.test(title)

if (!is_valid) {
const details = JSON.stringify({
title: title,
valid_syntax: validator.toString(),
})
core.setFailed(`Your pr title doesn't adhere to conventional commits syntax. See more details: ${details}`)
}
33 changes: 33 additions & 0 deletions .github/workflows/dependabot_automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# ref: https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#common-dependabot-automations
name: Dependabot auto-approve
on:
pull_request:
branches:
- feat-multi-module-components

permissions:
# required to set pr to auto merge
pull-requests: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
dependabot:
runs-on: ubuntu-22.04
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
- name: Set to Auto Merge
run: |
gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ secrets.VINCENT_PAT }}
- name: Approve PR
run: |
gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ secrets.VINCENT_PAT }}
42 changes: 10 additions & 32 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,60 +1,38 @@
on:
push:
branches:
- main
- feat-multi-module-components

name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v5
id: configure-changelog
with:
result-encoding: string
script: |
const changelogTypes = [
{type: "feat", section: "Features", hidden: false},
{type: "chore", section: "Misc", hidden: false},
{type: "fix", section: "BugFixes", hidden: false},
]

return JSON.stringify(changelogTypes)
# See https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow
# For why we need to generate a token and not use the default
- name: Generate token
id: generate_token
uses: chanzuckerberg/[email protected]
with:
app_id: ${{ secrets.CZI_RELEASE_PLEASE_APP_ID }}
private_key: ${{ secrets.CZI_RELEASE_PLEASE_PK }}

- name: release please
uses: google-github-actions/release-please-action@v3.0.0
uses: google-github-actions/release-please-action@v4.1.0
id: release
with:
release-type: simple
bump-minor-pre-major: true
changelog-types: ${{ steps.configure-changelog.outputs.result }}
token: ${{ steps.generate_token.outputs.token }}
# https://github.com/google-github-actions/release-please-action#github-credentials
token: ${{ secrets.VINCENT_PAT }}

- uses: actions/checkout@v2
- uses: actions/checkout@v4
# we need to fetch all history and tags
# so we build the proper version
with:
fetch-depth: 0
if: ${{ steps.release.outputs.release_created }}

- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
# go-version-file: go.mod
go-version: "1.22"
if: ${{ steps.release.outputs.release_created }}

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.VINCENT_PAT }}
if: ${{ steps.release.outputs.release_created }}
12 changes: 2 additions & 10 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,12 @@ builds:
- amd64
- arm64
ldflags:
- '-w -s -X main.Date={{.CommitDate}} -X github.com/chanzuckerberg/fogg/util.GitSha={{.Commit}} -X github.com/chanzuckerberg/fogg/util.Version={{.Version}} -X github.com/chanzuckerberg/fogg/util.Dirty=false -X github.com/chanzuckerberg/fogg/util.Release=true'
mod_timestamp: '{{ .CommitTimestamp }}'
- "-w -s -X main.Date={{.CommitDate}} -X github.com/chanzuckerberg/fogg/util.GitSha={{.Commit}} -X github.com/chanzuckerberg/fogg/util.Version={{.Version}} -X github.com/chanzuckerberg/fogg/util.Dirty=false -X github.com/chanzuckerberg/fogg/util.Release=true"
mod_timestamp: "{{ .CommitTimestamp }}"

archives:
- files:
- none*

release:
prerelease: false

brews:
- description: 'Terraform without pain.'
tap:
owner: chanzuckerberg
name: homebrew-tap
homepage: 'https://github.com/chanzuckerberg/fogg'
test: system "#{bin}/fogg version"
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.92.0"
}
Loading