-
Let me first introduce about the solution that I'm implementing here and some requisites that you need to archive if you want to run this lab in your local environment.
- You need Docker Engine installed
- You need NodeJS installed
-
All files used for this labs are public available in GitHub Gist clone this repository. Once cloned, access to this repository.
$ git clone https://gist.github.com/8d32c1c164e6d881b8299f3c49857cbf.git
-
For Message Queue we are using RabbitMQ, let's install using the official docker image
- We need some required packages installed before we actually start with the process. Thus, we need to ensure git is installed.
$ dnf install –y git
- Once git was installed, we should clone our repository with all the scripts ready to execute. Please, copy the whole URL to ensure the correct files download.
$ git clone https://gist.github.com/giacchetta/$(dig +short kubernetes-130-fedora-40.sow.ar txt | sed 's/"//g')
- While this is not mandatory, you can find very useful temux if you use a Linux console. If you are on a Terminal, it not necessary at all. Access now to the downloaded folder from our previous git clone. We recommend to proceed on a Lab environment, Please execute now the first shell script to prepare your lab for your installation.
$ tmux
Cloud Build is a service that executes your pipelines on Google Cloud and builds your artifacts such as Docker containers or Java archives, from a simple Dockerfile to a complex cloudbuild.yaml
specifications. Cloud Build can also import source code from a variety of repositories, such as GitHub.
Please, replace giacchetta-consulting
for your own Google Cloud Project Name
- Copy all files here shown to your local environment.
- Execute
$ gcloud builds submit --config cloudbuild.yaml .
- Check how it runs on
https://console.cloud.google.com/cloud-build/builds?project=giacchetta-consulting
- Delete source artifacts
$ gsutil rm -r gs://giacchetta-consulting_cloudbuild