Launch the docker container registry in a docker container
cd ./registry
sh ./generate-credential.sh
docker-compose up -d
It is ready at the url http://localhost:5000
This command will install jenkins locally
sh ./jenkins/install.sh
cp ./jenkins/jobs/helloapi /var/lib/jenkins/jobs/helloapi
username : developer
password : secret
id : localRegistryCredential
the goal being to have a ci / cd from commit to prod, you can trigger a build by :
- A commit from ./apps/helloapi repository
- A manual trigger on Jenkins ui (http://localhost:5000)