Skip to content

Commit

Permalink
clean up some of teh logs, going to leave some of them though for future
Browse files Browse the repository at this point in the history
  • Loading branch information
smonero committed Apr 20, 2024
1 parent 1bf16d5 commit 3776c55
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,8 @@ func ConstructAdhocExecParams(
return AdhocTerraformWorkflowExecutionParams{}, errors.Wrap(err, "building root cfgs")
}

rootCfgBuilder.Logger.Info("getting roots from merged project cfgs")
roots := getRootsFromMergedProjectCfgs(rootCfgs)

rootCfgBuilder.Logger.Info("returning adhocexecution params")
return AdhocTerraformWorkflowExecutionParams{
Revision: actualCommit.HeadCommit,
GithubRepo: github.Repo{
Expand Down
3 changes: 0 additions & 3 deletions server/neptune/gateway/config/root_config_builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ func (b *Builder) build(ctx context.Context, commit *RepoCommit, installationTok
b.Logger.Info(fmt.Sprintf("localRepo is: full repo name: %s, commit sha: %s, commit branch: %s, commit repo name: %s, repodir: %s", commit.Repo.FullName, commit.Sha, commit.Branch, commit.Repo.Name, repoDir))

// Run pre-workflow hooks
b.Logger.Info("running pre-workflow hooks")
err = b.HooksRunner.Run(ctx, localRepo.Repo, localRepo.Dir)
if err != nil {
return nil, errors.Wrap(err, "running pre-workflow hooks")
Expand All @@ -145,13 +144,11 @@ func (b *Builder) build(ctx context.Context, commit *RepoCommit, installationTok
// TODO: rename project to roots
var mergedRootCfgs []*valid.MergedProjectCfg

b.Logger.Info("parsing repo config")
repoCfg, err := b.ParserValidator.ParseRepoCfg(localRepo.Dir, localRepo.Repo.ID())
if err != nil {
return nil, errors.Wrapf(err, "parsing %s", config.AtlantisYAMLFilename)
}

b.Logger.Info("getting matching roots")
matchingRoots, err := b.getMatchingRoots(ctx, repoCfg, localRepo, installationToken, rootNames)
if err != nil {
return nil, errors.Wrap(err, "getting matching roots")
Expand Down

0 comments on commit 3776c55

Please sign in to comment.