Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automation using Gitlab CI and Docker, DevHeave...

Automation using Gitlab CI and Docker, DevHeaven 2018

Ondrej Sika

April 21, 2018
Tweet

More Decks by Ondrej Sika

Other Decks in Programming

Transcript

  1. Gitlab CI Runner docker-machine create runner eval $(docker-machine env runner)

    git clone [email protected]:ondrejsika/gitlab-ci-runner.git cd gitlab-ci-runner ./create-runner.sh ./register-runner.sh GITLAB_CI_TOKEN
  2. Gitlab - Create Gitlab project - Setup CI sercret variables

    - SSLPASS (password to server which runs the app)
  3. Clone Jekyll Website git clone [email protected]:ondrejsika/jekyll-demo.git cd jekyll-demo git remote

    rename origin github git remote add origin [email protected]:test/jekyll.git git push origin master -u
  4. Make some changes git checkout -b awesome-header vim index.md git

    commit -am 'make header awesome' git push origin awesome-header -u
  5. Thank you & Questions Ondrej Sika email: [email protected] web: ondrej-sika.cz

    twitter: @ondrejsika linkedin: /in/ondrejsika/ Slides: https://sika.link/devheaven2018