Skip to content

Commit 66c7005

Browse files
committed
initial public release 2.0.0
1 parent 729c515 commit 66c7005

File tree

3 files changed

+20
-19
lines changed

3 files changed

+20
-19
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### 2.0.0 - Unreleased
1+
### 2.0.0 (2019-Apr-21)
22

33
Rewrites and updates for public release
44
* prefix in variables to `KUDU_` from `AIT_`

README.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,22 @@ All the docker-ops functions are available after you install it.
88
### In current shell
99
If you want to run docker-ops in current shell:
1010
```bash
11-
docker_ops::loaded || eval "$(curl http://archive.ai-traders.com/docker-ops/0.1.0/docker-ops)"
11+
docker_ops::loaded || eval "$(curl https://github.com/kudulab/docker-ops/releases/download/${DOCKER_OPS_VERSION}/docker-ops)"
1212
```
1313
Do not use it in a script as it would always redownload the file.
1414

1515
### In a script
1616

1717
If you want to run docker-ops from a script:
1818
```bash
19-
if [[ ! -f ./docker-ops ]];then
20-
timeout 2 wget -O docker-ops --quiet http://http.archive.ai-traders.com/docker-ops/0.2.4/docker-ops || { echo "Cannot download docker-ops, ignoring"; rm -f ./docker-ops; }
21-
fi
22-
if [[ -f ./docker-ops ]];then
23-
source ./docker-ops
19+
DOCKER_OPS_VERSION="2.0.0"
20+
DOCKER_OPS_FILE=".ops/docker-ops-${DOCKER_OPS_VERSION}"
21+
22+
mkdir -p .ops
23+
if [[ ! -f $DOCKER_OPS_FILE ]];then
24+
wget --quiet -O $DOCKER_OPS_FILE https://github.com/kudulab/docker-ops/releases/download/${DOCKER_OPS_VERSION}/docker-ops
2425
fi
26+
source $DOCKER_OPS_FILE
2527
```
2628

2729
### Validate that loaded
@@ -44,7 +46,7 @@ At the top of file download supporting docker-ops script:
4446
set -e
4547

4648
DOCKER_OPS_VERSION="2.0.0"
47-
DOCKER_OPS_FILE=".ops/releaser-${DOCKER_OPS_VERSION}"
49+
DOCKER_OPS_FILE=".ops/docker-ops-${DOCKER_OPS_VERSION}"
4850

4951
mkdir -p .ops
5052
if [[ ! -f $DOCKER_OPS_FILE ]];then
@@ -112,17 +114,13 @@ When `image_registry=dockerhub` then image name prefix with registry is skipped.
112114

113115
### Lifecycle
114116
1. In a feature branch:
115-
* you make changes
116-
* and run tests:
117+
* you make changes
118+
* and run tests:
117119
* `./tasks itest`
118120
1. You decide that your changes are ready and you:
119-
* merge into master branch
120-
* run locally:
121-
* `./tasks set_version` to set version in CHANGELOG and chart version files to
122-
the version from OVersion backend
123-
* e.g. `./tasks set_version 1.2.3` to set version in CHANGELOG and chart version
124-
files and in OVersion backend to 1.2.3
125-
* push to master onto private git server
121+
* merge into master branch
122+
* run locally:
123+
* `./tasks set_version` to set version in CHANGELOG while bumping patch version
124+
* e.g. `./tasks set_version 1.2.3` to set version in CHANGELOG
125+
* push to master onto private git server
126126
1. CI server (GoCD) tests and releases.
127-
128-
Releaser uses itself, which is treated as true integration test.

tasks

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ case "${command}" in
2222
itest)
2323
time bats ./test/integration/*.bats
2424
;;
25+
test)
26+
./tasks itest
27+
;;
2528
release)
2629
releaser::verify_version_for_release
2730
releaser::git_tag_from_changelog

0 commit comments

Comments
 (0)