Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 785 Bytes

Readme.md

File metadata and controls

36 lines (29 loc) · 785 Bytes

Installation

local docker registry

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

Jenkins

This command will install jenkins locally

sh ./jenkins/install.sh

Add the jenkins job helloapi

cp ./jenkins/jobs/helloapi /var/lib/jenkins/jobs/helloapi

Add docker registry credential in jenkins as global

username : developer
password : secret
id       : localRegistryCredential

Usage

the goal being to have a ci / cd from commit to prod, you can trigger a build by :

jenkins build