Skip to content

Using docker/util #10

Merged
6 commits merged into from
Jul 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
bin/build.sh
bin/destroy.sh
bin/install.sh
bin/rebuild.sh
bin/rerun.sh
bin/run.sh
bin/test.sh
34 changes: 34 additions & 0 deletions BINSCRIPTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# util

This repository is intended to be downloaded into a container repository during development for convenience purposes. Since the major mechanisms of developing to the Docker container construction lifecycle are identical across container images, this repository allows for consistency and additional ease of use across all container images.

## Install

To use these scripts on your container image construction project, issue these commands in the root directory of your container project:

```
```

### common.bash

The installation process will create a common.bash file. This file should be the central, canonical authority for management of environment variables. While a subprocess may override them, the files in common.bash should be treated as authoritative defaults. Processes (e.g. `docker build`, `bats`, inside `Jenkinsfile`) can read this file and process the results therein.

You should edit this file to change the image name, and add any other helpful environment variables.

## Use


### Building

#### build.sh
`bin/build `
#### destroy.sh
#### rebuild.sh

### Running
### rerun.sh
### run.sh


### Testing
#### test.sh
10 changes: 10 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ node {
stage 'Checkout'

checkout scm

stage 'Acquire util'

sh 'mkdir -p bin'
dir('bin'){
git([ url: "https://github.internet2.edu/docker/util.git",
credentialsId: "jenkins-github-access-token" ])
sh 'ls'
sh 'mv bin/* .'
}

stage 'Base'

Expand Down
6 changes: 0 additions & 6 deletions bin/build.sh

This file was deleted.

6 changes: 0 additions & 6 deletions bin/destroy.sh

This file was deleted.

3 changes: 0 additions & 3 deletions bin/rebuild.sh

This file was deleted.

3 changes: 0 additions & 3 deletions bin/rerun.sh

This file was deleted.

5 changes: 0 additions & 5 deletions bin/retry.sh

This file was deleted.

5 changes: 0 additions & 5 deletions bin/run.sh

This file was deleted.

3 changes: 0 additions & 3 deletions bin/test.sh

This file was deleted.