Skip to content

Docker build scripts and shell scripts to demonstrate testing capabilities

Notifications You must be signed in to change notification settings

nborkert/dockerTest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockerTest

Docker build scripts and shell scripts to demonstrate on-demand testing capabilities. The test is simple and found in the Dockerfile in this repository: download web content and grep for a specified word. This concept can be extended to run web integration tests upon startup.

Files:

firstTest - Dockerfile containing content and test

pipeline.sh - Shell script executing tests using Docker. Usage: ./pipeline.sh desiredTestName

QA_pullrun.sh - Assuming success by pipeline.sh, this script would be used by a QA member to pull the image from the public Docker index and independently verify success.


Usage:

Clone the repository.

Run ./pipeline.sh desiredTestName

This will execute the test and push the image named as desiredTestName.


To improve:

As of the initial commit, the test result as emitted by the Docker run is coupled with the pipeline.sh script. An improvement would remove that coupling.


Extremely impressed with Docker's approach. docker build, docker run, Docker done.

About

Docker build scripts and shell scripts to demonstrate testing capabilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages