Skip to content

An example declaritive Jenkinsfile that launches a kubernetes pod in OpenShift, with some mysql/mariadb containers.

License

Notifications You must be signed in to change notification settings

ryspnc/openshift-declaritive-pipeline-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

openshift-declaritive-pipeline-mysql

Quality Gate Status

An example declaritive jenkins pipeline script that launches a kubernetes pod in OpenShift, with 3 containers:

  • "mysql-client" = mysql:5.7
  • "mysql-server" = mariadb-102-rhel7:1
  • jenkins/jnlp-slave:alpine (added to pod automatically)

what does the pipeline do?

  • Creates a database called "testDB" in the "mysql-server" container, creates a table called "users" and loads some test data into the table.
  • From the "mysql-client" container, connect to the "mysql-server"container over TCP and run a SQL QUERY of SELECT * FROM users.

results

alt text

docs

About

An example declaritive Jenkinsfile that launches a kubernetes pod in OpenShift, with some mysql/mariadb containers.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages