Skip to content

Screener/CircleCI integration#1207

Merged
msecret merged 1 commit into
stagingfrom
screener-circle
Jun 3, 2016
Merged

Screener/CircleCI integration#1207
msecret merged 1 commit into
stagingfrom
screener-circle

Conversation

@el-mapache

Copy link
Copy Markdown
Contributor

Screener Integration

This PR affects the test builds of the repository. During a build, it connects the CI server to Screener's (https://screener.io) cloud server and checks for visual regressions in the page's layout. These tests are defined via Screener's interface and must be manually configured. Some basic checks have been put in place for purposes of testing these changes, they can be found in the uswds project under the name styleguide-ci.

Description

  • Amends circle.yml file to install screener's tunnel and shell scripts

Additional information

The changes made to the circle.yml file are pretty basic, there are probably optimizations that can be made. Currently, running these regression tests appears to add about 5 minutes to the build; this represents a significant increase in running time.

Comment thread circle.yml
background: true
- sleep 20
# run tests
- ./screener-ci.sh $SCREENER_API_KEY $SCREENER_GROUP_ID $CIRCLE_BUILD_NUM

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.

Does this fail the build if screener detects visual changes?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yep, the build fails if any changes are detected. Someone will have to validate those changes and kick off the build again once those changes are accepted.

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.

Is the build kicked off by somebody going into Travis and restarting it?

I think this looks great btw. I'll start a discussion with team to see if we can merge now.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks! I think you'll always have to rebuild manually, unfortunately.

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.

Oh wait, that makes sense you would because it might not be a code change. K well we still have time to figure out what the full workflow would be.

@msecret msecret merged commit ae68690 into staging Jun 3, 2016
@maya maya deleted the screener-circle branch June 16, 2016 15:42
@shawnbot shawnbot self-requested a review February 1, 2017 22:52
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.

3 participants