Skip to content

Minimal example to setup a Jenkins-CI pipeline for data science projects on OpenShift in a couple of minutes.

License

Notifications You must be signed in to change notification settings

clennan/jenkins-ci

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins-CI for Data Science Projects

Minimal example to setup a Jenkins-CI pipeline for data science projects on OpenShift in a couple of minutes. The goal is to have one CI/CI for each project so that we have no snowflakes.

Getting Started

  1. Start Minishift with VirtualBox: minishift start --vm-driver=virtualbox
  2. Create a new project:
oc new-project <project-name>
  1. Deploy Jenkins:
oc new-app jenkins-persistent
  1. Add custom Jenkins configuration for data science projects:
oc create -f config-map.yaml
  1. Deploy example application and expose route:
git clone https://github.com/idealo/ds-example-project.git
cd ds-example-project
oc new-app -f build-config.yml \
    -p APPLICATION_NAME=ds-example-project \
    -p GIT_URL=https://github.com/idealo/ds-example-project.git
oc new-app -f deployment-config.yml \
    -p APPLICATION_NAME=ds-example-project
oc start-build ds-example-project-pipeline
oc expose svc/ds-example-project

Notes

  • If you want to delete Jenkins and all the related resources then do:
oc delete all,configmaps,networkpolicy,rolebinding,serviceaccount -l app=jenkins-persistent

Requirements

  • Minishift 1.17 / OpenShift 3.9
  • VirutalBox 5.2

Copyright

See LICENSE for details.

About

Minimal example to setup a Jenkins-CI pipeline for data science projects on OpenShift in a couple of minutes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%