a.k.a
β¨ + β + π΄
βΈ Software Developer
βΆ Linux Infra & Ops
π¦ @paulRb_r
π»
Β·
π
π
π
β
π
Willing to contribute code
Working in the 25kv team
.gitlab-ci.yml
filejob1:
script: make build
job2:
script: make test
stages:
- build
- test
- deploy
job1-unit-test:
stage: test
job2-acceptance-test:
stage: test
jobs x stages
.gitlab-ci.yml
image: ruby:2.4
bundle:
stage: build
script:
- bundle install --deployment
artifacts:
paths: [ '.bundle/', 'vendor/' ]
test:
stage: test
script:
- bundle exec rake test
lint:
stage: test
script:
- bundle exec rubocop
.gitlab-ci.yml
image: ruby:2.4
bundle:
stage: build
script:
- bundle install --deployment
artifacts:
paths: [ '.bundle/', 'vendor/' ]
test:
stage: test
script:
- bundle exec rake test
lint:
stage: test
script:
- bundle exec rubocop
.gitlab-ci.yml
image: ruby:2.4
bundle:
stage: build
script:
- bundle install --deployment
artifacts:
paths: [ '.bundle/', 'vendor/' ]
test:
stage: test
script:
- bundle exec rake test
lint:
stage: test
script:
- bundle exec rubocop
.gitlab-ci.yml
image: ruby:2.4
bundle:
stage: build
script:
- bundle install --deployment
artifacts:
paths: [ '.bundle/', 'vendor/' ]
test:
stage: test
script:
- bundle exec rake test
lint:
stage: test
script:
- bundle exec rubocop
.gitlab-ci.yml
image: ruby:2.4
# β¦
security:
stage: test
script:
- bundle exec brakeman
test:
stage: test
script:
- bundle exec rake test
lint:
stage: test
script:
- bundle exec rubocop
.gitlab-ci.yml
image: ruby:2.4
# β¦
security:
stage: test
script:
- bundle exec brakeman
bundle-audit:
stage: test
script:
- bundle exec bundle-audit check --update
lint:
stage: test
script:
- bundle exec rubocop
Review π
.gitlab-ci.yml
image: ruby:2.4
deploy:integration:
stage: deploy
script:
- bundle exec rake deploy env=${CI_COMMIT_REF_NAME}
only:
- dev
bundle-audit:
stage: test
script:
- bundle exec bundle-audit check --update
lint:
stage: test
script:
- bundle exec rubocop
.gitlab-ci.yml
image: ruby:2.4
stages:
- build
- test
- deploy
- # Something missing?
#
bundle-audit:
stage: test
script:
- bundle exec bundle-audit check --update
lint:
stage: test
script:
- bundle exec rubocop
.gitlab-ci.yml
image: ruby:2.4
stages:
- build
- test
- deploy
- qa
#
bundle-audit:
stage: test
script:
- bundle exec bundle-audit check --update
lint:
stage: test
script:
- bundle exec rubocop
.gitlab-ci.yml
image: ruby:2.4
deploy:integration:
stage: deploy
script:
- bundle exec rake deploy env=${CI_COMMIT_REF_NAME}
only:
- dev
performance:
stage: qa
script:
- bundle exec rake performance \
target="https://${CI_COMMIT_REF_NAME}.test.trainline.eu/"
only:
- dev
lint:
.gitlab-ci.yml
image: ruby:2.4
deploy:integration:
stage: deploy
script:
- bundle exec rake deploy env=${CI_COMMIT_REF_NAME}
only:
- dev
bundle-audit:
stage: test
script:
- bundle exec bundle-audit check --update
lint:
stage: test
script:
- bundle exec rubocop
#
.gitlab-ci.yml
image: ruby:2.4
deploy:integration:
stage: deploy
script:
- bundle exec rake deploy env=${CI_COMMIT_REF_NAME}
only:
- dev
- master
stage: test
script:
- bundle exec bundle-audit check --update
lint:
stage: test
script:
- bundle exec rubocop
#
.gitlab-ci.yml
image: ruby:2.4
deploy:integration:
stage: deploy
script:
- bundle exec rake deploy env=${CI_COMMIT_REF_NAME}
only:
- dev
- master
deploy:production:
stage: deploy
script:
- bundle exec rake deploy env=production
only:
- master
when: manual # β Manual button to trigger Job
#
Thank you!