8000 GitHub - BoazHalter/GM
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

BoazHalter/GM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
8000
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GM Devops Exam

This repo is for deploying a docker jenkins server on windows machine localhost.
The jenkins server uses docker container as nodes.
The repo contains a pipeline Jenkinsfile for a pipeline job named gm.
The job build and lint a python app.py application in /src directory it also test and publish the application docker images artifact to docker hub.

prerequisite:

.\infra-install.ps1 "username" "password"
.\ngrok http http://localhost:8080

The repo contains a Jcasc jenkins.yaml which is used by the infra-install.ps1 to set the jenkins configuration.

The "gm" job is triggered by a push event to the current repo.
The connectivity between GitHub Webhooks and the jenkins server,
is possible by using the reverse proxy tool ngrok which exposes the localhost as an https://adress to the internet.
After ngrok is executed the command would output an address which needs to be updated on the GitHub repo settings Webhooks section.

The "gm" job pushes the artifacts to:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0