Giter Site home page Giter Site logo

4dvops's Introduction

Prérequis:

installer docker avoir le télécharger le dossier "tools" ( ou a minima le docker-compose de GITLAB )

installation de docker-compose

sudo curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose

création des runner, ainsi que de l'image docker de gitlab

se rendre dans le dossier TOOLS/GITLAB docker-compose up ( cette commande nous permet de crée une version local de gitlab )

docker run -d --name {runner-name} -v /var/run/docker.sock:/var/run/docker.sock -v /srv/{runner-name}/config:/etc/gitlab-runner --rm gitlab/gitlab-runner ( pensez a changer {runner-name} par le nom de votre runner )

crée un compte ainsi qu'un projet en se rendant sur localhost:10080 et recuperer le token http://localhost:10080/[username]/[project-name]/-/settings/ci_cd ( dans runner puis set up specific runner )

docker exec -it {runner-name} gitlab-runner register -n --url http://{your-ip}:10080 --registration-token {registration-token} --clone-url http://{your-ip}:10080 --executor docker --docker-image "docker:latest" --docker-privileged Cette commande permet d'executer le runner et de le lier a votre projet gitlab

4dvops's People

Contributors

williamdaconceicao avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.