Skip to content

fix: update enrichTasksEnv params#3133

Merged
warren830 merged 6 commits intoapache:mainfrom
merico-ai:enrich-env
Sep 20, 2022
Merged

fix: update enrichTasksEnv params#3133
warren830 merged 6 commits intoapache:mainfrom
merico-ai:enrich-env

Conversation

@abeizn
Copy link
Copy Markdown
Contributor

@abeizn abeizn commented Sep 19, 2022

Summary

update environmentRegex to productionPattern, stagingPattern and testingPattern

Does this close any open issues?

related to #2876

Screenshots

Include any relevant screenshots here.

Other Information

Any other information that is important to this PR.

@abeizn abeizn force-pushed the enrich-env branch 5 times, most recently from bb162cb to fabfe94 Compare September 19, 2022 13:57
@abeizn abeizn marked this pull request as ready for review September 19, 2022 14:22
@abeizn abeizn changed the title fix: update enrichTasksEnv fix: update enrichTasksEnv params Sep 19, 2022
pr.OrigReviewTimespan = int64(pr.MergedDate.Sub(*firstReviewTime).Minutes())
}
deployTime, err := getDeployTime(repoId, data.Options.Environment, *pr.MergedDate, db)
deployTime, err := getDeployTime(repoId, devops.PRODUCTION, *pr.MergedDate, db)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So we will never calculate devops.Staging?

@abeizn abeizn force-pushed the enrich-env branch 2 times, most recently from 7d70881 to 12ca91b Compare September 20, 2022 11:36
Copy link
Copy Markdown
Contributor

@warren830 warren830 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@warren830 warren830 merged commit 1ce353f into apache:main Sep 20, 2022
@warren830 warren830 deleted the enrich-env branch September 20, 2022 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants