Skip to content

Commit

Permalink
golden files
Browse files Browse the repository at this point in the history
  • Loading branch information
jakeyheath committed Sep 13, 2023
1 parent 9f332c4 commit fa64a5d
Show file tree
Hide file tree
Showing 47 changed files with 450 additions and 246 deletions.
11 changes: 0 additions & 11 deletions config/v2/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,6 @@ func (c *Config) GenerateStamp(fs afero.Fs, configFile string) {
c.Stamp = stamp
}

// TODO: write out functions to generate tag data
func (c *Config) GenerateStamp(fs afero.Fs, configFile string) {
stamp := Stamp{}
stamp.Date = DateAsTag()
stamp.FilePath = fs.Name()
stamp.FoggUser = ""
stamp.GitRepository = ""
stamp.CommitHash = ""
c.Stamp = stamp
}

func DateAsTag() string {
formatLayout := "2006-01-02"
currentTime := time.Now()
Expand Down
15 changes: 10 additions & 5 deletions testdata/auth0_provider_yaml/terraform/accounts/foo/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/auth0_provider_yaml/terraform/envs/bar/bam/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/auth0_provider_yaml/terraform/global/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/bless_provider_yaml/terraform/accounts/foo/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/bless_provider_yaml/terraform/envs/bar/bam/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/bless_provider_yaml/terraform/global/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/circleci/terraform/global/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/github_actions/terraform/global/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/github_provider_yaml/terraform/accounts/foo/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/github_provider_yaml/terraform/envs/bar/bam/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/github_provider_yaml/terraform/global/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/okta_provider_yaml/terraform/accounts/foo/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/okta_provider_yaml/terraform/envs/bar/bam/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/okta_provider_yaml/terraform/global/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/remote_backend_yaml/terraform/accounts/acct1/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/remote_backend_yaml/terraform/global/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 10 additions & 5 deletions testdata/snowflake_provider_yaml/terraform/accounts/foo/fogg.tf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit fa64a5d

Please sign in to comment.