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

(PDK-987) Save CI resources / reduce developer feedback time #88

Merged
merged 2 commits into from
May 17, 2018

Conversation

npwalker
Copy link
Contributor

@npwalker npwalker commented May 14, 2018

Prior to this PR, we spent quite a bit of time spinning up containers and installing software instead of actually checking anything.

After this PR, we get quicker feedback and save resources on our various free CI providers by running more checks at the same time instead of in new containers.

Example of Travis before ( 311 seconds ):
image

Example of Travis after ( 66 seconds ):
image

Specifically Travis notes it only takes 2.89 seconds to run all checks:
image

Example Gitlab CI before:
image

Example Gitlab CI After:
image

Prior to this commit, we did syntax, lint, metadata lint in
different containers.  Depending on the CI system some were
combined or they were all seperate.

After this commit, we do all syntax, lint, metadata lint and some
various checks from release_checks in one run.  We leave rubocop
separate for the time being.
Prior to this commit, rubocop ran in its own container seperate
from all the other checks.

After this commit, rubocop runs at the same time as the other
lint, syntax, etc... checks.
@npwalker npwalker changed the title (PDK-897) Save CI resources (PDK-897) Save CI resources / reduce developer feedback time May 15, 2018
@DavidS DavidS changed the title (PDK-897) Save CI resources / reduce developer feedback time (PDK-987) Save CI resources / reduce developer feedback time May 15, 2018
@bmjen
Copy link
Contributor

bmjen commented May 17, 2018

I like these changes. Before I merge though, I'd like @HelenCampbell or @pmcmaw to take a look and see if this will impact supported modules .sync.yml in a major way.

Copy link
Contributor

@HelenCampbell HelenCampbell left a comment

Choose a reason for hiding this comment

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

The time this cuts down on is brilliant, plus it would require no work on our part .sync.yml wise as the changes are all centralised to config_defaults. LGTM!

@bmjen bmjen merged commit 85ca41b into puppetlabs:master May 17, 2018
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.

4 participants