Change into facebooc directory which containts the source code. This assumes you have already cloned the repo. If not, clone it from https://github.com/schoolofdevops/facebooc
cd facebooc
ls
| # .github/workflows/mlops-pipeline.yml | |
| name: MLOps Pipeline | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| run_all: | |
| description: 'Run all jobs' | |
| required: false | |
| default: 'true' |
| import org.jooq.util.jaxb.* | |
| import org.jooq.util.* | |
| ext.db = [ | |
| url: 'jdbc:postgresql://host/db', | |
| user: 'user', | |
| password: 'user', | |
| schema: 'schema' | |
| ] |
| var autoElm = document.getElementById('elm-name'); | |
| autocomplete = new google.maps.places.Autocomplete(autoElm); | |
| google.maps.event.addListener(autocomplete, 'place_changed', function () { | |
| var place = autocomplete.getPlace(); | |
| if (!place.geometry) { | |
| return; | |
| } | |
| instance.setCenter(place.geometry.location); | |
| instance.setZoom(19); |
| sudo yum update -y | |
| sudo yum install htop -y | |
| # Install Erlang | |
| sudo yum install https://github.com/rabbitmq/erlang-rpm/releases/download/v21.3.4/erlang-21.3.4-1.el7.x86_64.rpm -y | |
| # Install RabbitMQ | |
| sudo yum install https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.14/rabbitmq-server-3.7.14-1.el7.noarch.rpm -y | |
| # Allow remote connections |
| docker.withRegistry('https://index.docker.io/v1/', 'dockerlogin') { | |
| def dockerImage = docker.build("xxxxxx/xxxxx:v${env.BUILD_ID}", "./") | |
| dockerImage.push() | |
| dockerImage.push("latest") | |
| } |
| version: "3" | |
| networks: | |
| nw01: | |
| driver: bridge | |
| volumes: | |
| db-data: | |
| services: |
| version: "3" | |
| networks: | |
| nw01: | |
| driver: overlay | |
| volumes: | |
| db-data: | |
| services: |
Change into facebooc directory which containts the source code. This assumes you have already cloned the repo. If not, clone it from https://github.com/schoolofdevops/facebooc
cd facebooc
ls
| version: "3.8" | |
| networks: | |
| jenkins: | |
| driver: bridge | |
| volumes: | |
| jenkins-docker-certs: | |
| jenkins-data: |