-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1673 from 18F/stages/rc-2017-09-18
Promote RC 39 to staging
- Loading branch information
Showing
175 changed files
with
2,862 additions
and
4,028 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
# Ruby CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-ruby/ for more details | ||
# | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# Specify the Ruby version you desire here | ||
- image: circleci/ruby:2.3.3-node-browsers | ||
environment: | ||
RAILS_ENV: test | ||
CC_TEST_REPORTER_ID: faecd27e9aed532634b3f4d3e251542d7de9457cfca96a94208a63270ef9b42e | ||
COVERAGE: true | ||
|
||
# Specify service dependencies here if necessary | ||
# CircleCI maintains a library of pre-built images | ||
# documented at https://circleci.com/docs/2.0/circleci-images/ | ||
- image: circleci/postgres:9.4.12-alpine | ||
environment: | ||
POSTGRES_USER: circleci | ||
|
||
- image: redis:4.0.1 | ||
|
||
working_directory: ~/identity-idp | ||
|
||
steps: | ||
- checkout | ||
|
||
- restore-cache: | ||
key: identity-idp-{{ checksum "Gemfile.lock" }} | ||
|
||
- run: | ||
name: Install dependencies | ||
command: | | ||
gem install bundler | ||
bundle install --deployment --jobs=4 --retry=3 --without deploy development doc production --path vendor/bundle | ||
- run: | ||
name: Install phantomjs | ||
command: | | ||
sudo curl --output /tmp/phantomjs https://s3.amazonaws.com/circle-downloads/phantomjs-2.1.1 | ||
sudo chmod ugo+x /tmp/phantomjs | ||
sudo ln -sf /tmp/phantomjs /usr/local/bin/phantomjs | ||
- run: | ||
name: Install Code Climate Test Reporter | ||
command: | | ||
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter | ||
chmod +x ./cc-test-reporter | ||
# Store bundle cache | ||
- save-cache: | ||
key: identity-idp-{{ checksum "Gemfile.lock" }} | ||
paths: | ||
- vendor/bundle | ||
|
||
- run: | ||
name: Test Setup | ||
command: | | ||
npm install | ||
npm run build | ||
cp config/application.yml.example config/application.yml | ||
cp certs/saml.crt.example certs/saml.crt | ||
cp keys/saml.key.enc.example keys/saml.key.enc | ||
cp keys/equifax_rsa.example keys/equifax_rsa | ||
gpg --dearmor < keys/equifax_gpg.pub.example > keys/equifax_gpg.pub.bin | ||
gpg --import keys/equifax_gpg.example | ||
bundle exec rake db:setup --trace | ||
bundle exec rake assets:precompile | ||
- run: | ||
name: Run Tests | ||
command: | | ||
mkdir /tmp/test-results | ||
./cc-test-reporter before-build | ||
bundle exec rspec --format progress | ||
bundle exec teaspoon | ||
bundle exec slim-lint app/views | ||
- run: | ||
name: Upload Test Results to Code Climate | ||
command: | | ||
./cc-test-reporter format-coverage -t simplecov $CIRCLE_ARTIFACTS/coverage/.resultset.json | ||
./cc-test-reporter upload-coverage | ||
# collect reports | ||
- store_test_results: | ||
path: /tmp/test-results | ||
- store_artifacts: | ||
path: /tmp/test-results | ||
destination: test-results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
GIT | ||
remote: [email protected]:18F/identity-equifax-api-client-gem.git | ||
revision: 889aad815bda2ff2a41cd2b108e2afae7f50d8b8 | ||
revision: 8021646f4a67216b0a1bdb99e501ad652104f889 | ||
branch: master | ||
specs: | ||
equifax (1.0.0) | ||
|
@@ -712,7 +712,6 @@ DEPENDENCIES | |
premailer-rails | ||
proofer! | ||
pry-byebug | ||
rack-attack | ||
rack-cors | ||
rack-mini-profiler | ||
rack-test | ||
|
@@ -759,4 +758,4 @@ RUBY VERSION | |
ruby 2.3.3p222 | ||
|
||
BUNDLED WITH | ||
1.15.3 | ||
1.15.4 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@import 'normalize.css/normalize'; | ||
@import 'hint.css/hint'; | ||
|
||
@import 'basscss-sass/basscss'; | ||
@import 'basscss/margin'; | ||
@import 'basscss/padding'; | ||
@import 'basscss/responsive-margin'; | ||
@import 'basscss/responsive-padding'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
@import 'fonts'; | ||
|
||
@import 'identity-style-guide/src/css/app'; | ||
|
||
@import 'variables/colors'; | ||
@import 'variables/app'; | ||
@import 'vendor'; | ||
@import 'components/all'; | ||
@import 'print'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// normalize.css adds a text underline by default | ||
// scss-lint:disable QualifyingElement | ||
abbr[title] { text-decoration: none; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
.no-js { | ||
.accordion { | ||
.accordion-header { | ||
cursor: initial; | ||
} | ||
|
||
.accordion-footer { | ||
display: none; | ||
} | ||
|
||
.accordion-content { | ||
display: block; | ||
} | ||
|
||
[class*="btn-"] { | ||
display: none; | ||
} | ||
} | ||
} | ||
|
||
.accordion { | ||
border: $border-width solid $border-color; | ||
border-radius: $border-radius-md; | ||
|
||
.accordion-header { | ||
color: $blue; | ||
cursor: pointer; | ||
position: relative; | ||
|
||
img { | ||
position: absolute; | ||
right: 1rem; | ||
top: .8rem; | ||
} | ||
} | ||
|
||
.accordion-content { | ||
border-top: $border-width solid $border-color; | ||
display: none; | ||
opacity: 1; | ||
|
||
&.shown { | ||
display: block; | ||
} | ||
} | ||
|
||
.accordion-footer { | ||
background-color: $blue-lightest; | ||
border-top: $border-width solid $border-color; | ||
color: $blue; | ||
cursor: pointer; | ||
text-align: center; | ||
|
||
img { | ||
margin-top: -2px; | ||
vertical-align: middle; | ||
} | ||
} | ||
} | ||
|
||
.animate-in { | ||
animation: accordionIn .2s normal ease-in both 1; | ||
} | ||
|
||
.animate-out { | ||
animation: accordionOut .15s normal ease-out both 1; | ||
} | ||
|
||
@keyframes accordionIn { | ||
0% { | ||
opacity: 0; | ||
} | ||
|
||
100% { | ||
opacity: 1; | ||
} | ||
} | ||
|
||
@keyframes accordionOut { | ||
0% { | ||
opacity: 1; | ||
} | ||
|
||
100% { | ||
opacity: 0; | ||
} | ||
} |
Oops, something went wrong.