Git Product home page Git Product logo

unir-build-tools's Introduction

Repo para EIEC - DevOps - UNIR

Este repositorio incluye comandos para facilitar el arranque de servidores de Jenkins, GitLab y Nexus. El despliegue de una instancia local de GitLab se incluye como ejemplo, ya que el temario cubre el uso de la oferta SaaS.

Los comandos del Makefile funcionarán en Linux y MacOS. En caso de usar Windows, necesitarás adaptarlos o ejecutarlos en una máquina virtual Linux.

Guía rápida para Jenkins

  • Ejecuta make build-agents para construir las imágenes de los agentes.
  • Ejecuta make start-jenkins. El arrange de los agentes fallará.
  • Ejecuta make jenkins-password y copia la password al portapapeles.
  • Accede a http://localhost:8080 y usa la password anterior.
  • Completa el asistente de configuración inicial.
  • Crea 2 agentes:
    • agent01, con Remote root directory /var/jenkins y etiqueta docker.
    • agent02, con Remote root directory /var/jenkins y etiqueta maven.
  • Copia el secreto del agente 1 en la variable JENKINS_DOCKER_AGENT_SECRET del Makefile y el secreto del agente 2 en la variable JENKINS_MAVEN_AGENT_SECRET. Los secretos están disponibles en la página del agente. Jenkins muestra el código que hay que ejecutar para arrancar el servicio del agente, y el secreto está embebido en estos comandos, tal como se muestra la imagen.

agent-secret

  • Ejecuta make stop-jenkins, seguido de make start-jenkins.
  • Cuando termines de trabajar con Jenkins, ejecuta make stop-jenkins.

Guía rápida para Nexus

  • Ejecuta make start-nexus.
  • Ejecuta make nexus-password y copia la password al portapapeles.
  • Accede a http://localhost:8081 y usa la password anterior para crear el primer usuario.
  • Cuando termines de trabajar con Nexus, ejecuta make stop-nexus.

unir-build-tools's People

Contributors

robersantamaria 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.