This file contains hidden or 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
| minikube start --cpus=5 --memory='24g' | |
| minikube addons enable ingress | |
| kubectl --namespace ingress-nginx wait \ | |
| --for=condition=ready pod \ | |
| --selector=app.kubernetes.io/component=controller \ | |
| --timeout=120s | |
| INGRESS_HOST=$(minikube ip) | |
| HOST=argocd.$INGRESS_HOST.nip.io |
This file contains hidden or 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
| pipeline { | |
| agent any | |
| tools { | |
| maven 'mvn' | |
| jdk 'jdk8' | |
| } | |
| options { | |
| buildDiscarder(logRotator(numToKeepStr: '5')) |
This file contains hidden or 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
| # Eclipse | |
| .classpath | |
| .project | |
| .settings/ | |
| bin/ | |
| # Intellij | |
| .idea/ | |
| *.iml | |
| *.iws |
This file contains hidden or 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
| FROM openjdk:8u151 | |
| # Usuario para java, se evita root | |
| RUN groupadd -r java && useradd --no-log-init -r -g java java | |
| USER java | |
| # Copia del ejecutable | |
| COPY build/libs/*.jar /opt/app.jar | |
| # Puertoa exponer |