Skip to content

Commit

Permalink
bump example refs + cicd-toolbox 3.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
bitsofinfo committed Oct 14, 2020
1 parent 1e0356e commit 2413538
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 19 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.2.3
* bump `FROM bitsofinfo/cicd-toolbox:3.0.5`

# 1.2.2
* Do not emit `None` on `--get` if value returned is `None` (null, not found etc)

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bitsofinfo/cicd-toolbox:3.0.4
FROM bitsofinfo/cicd-toolbox:3.0.5

ARG GIT_TAG=master

Expand Down
2 changes: 1 addition & 1 deletion cicdstatemgr/cicdstatemgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def initialize(self, id:str,
if 'variables' in cicdConfig:
for v in cicdConfig['variables']:
if 'variables' not in cicdContextData:
cicdContextData['variables'] = {}
cicdContextData['variables'] = {}
cicdContextData['variables'][v] = self.parse_template(cicdConfig['variables'][v],cicdContextData)

# handle --handle-event args if passed (do not persist)
Expand Down
2 changes: 1 addition & 1 deletion examples/tekton/pipelines/build/tasks/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ spec:
# STEP load CICD context data
#----------------------------------
- name: load-cicd-context-data
image: bitsofinfo/cicdstatemgr:1.1.3
image: bitsofinfo/cicdstatemgr:1.2.3
command:
- /bin/bash
args:
Expand Down
12 changes: 6 additions & 6 deletions examples/tekton/pipelines/common/conditions/conditions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
command:
- bash
- -c
image: bitsofinfo/cicd-toolbox:3.0.4
image: bitsofinfo/cicd-toolbox:3.0.5
params:
- name: exit-code

Expand All @@ -26,7 +26,7 @@ spec:
command:
- bash
- -c
image: bitsofinfo/cicd-toolbox:3.0.4
image: bitsofinfo/cicd-toolbox:3.0.5
params:
- name: exit-code

Expand All @@ -43,7 +43,7 @@ spec:
- name: operator
- name: rhs
check:
image: bitsofinfo/cicd-toolbox:3.0.4
image: bitsofinfo/cicd-toolbox:3.0.5
command:
- /bin/bash
args:
Expand All @@ -66,7 +66,7 @@ spec:
- name: rhs2

check:
image: bitsofinfo/cicd-toolbox:3.0.4
image: bitsofinfo/cicd-toolbox:3.0.5
command:
- /bin/bash
args:
Expand All @@ -90,7 +90,7 @@ spec:
- name: rhs2

check:
image: bitsofinfo/cicd-toolbox:3.0.4
image: bitsofinfo/cicd-toolbox:3.0.5
command:
- /bin/bash
args:
Expand All @@ -109,7 +109,7 @@ spec:
params:
- name: code
check:
image: bitsofinfo/cicd-toolbox:3.0.4
image: bitsofinfo/cicd-toolbox:3.0.5
command:
- /usr/local/bin/python
args:
Expand Down
2 changes: 1 addition & 1 deletion examples/tekton/pipelines/common/tasks/handle-event.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
# STEP handle event
#----------------------------------
- name: handle-event
image: bitsofinfo/cicdstatemgr:1.1.3
image: bitsofinfo/cicdstatemgr:1.2.3
command:
- /bin/bash
args:
Expand Down
2 changes: 1 addition & 1 deletion examples/tekton/pipelines/common/tasks/init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
# set vars + handle init event
#----------------------------------
- name: load-and-init
image: bitsofinfo/cicdstatemgr:1.1.3
image: bitsofinfo/cicdstatemgr:1.2.3
command:
- /bin/bash
args:
Expand Down
6 changes: 3 additions & 3 deletions examples/tekton/pipelines/deploy/tasks/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
# STEP load CICD context data
#----------------------------------
- name: load-cicd-context-data
image: bitsofinfo/cicdstatemgr:1.1.3
image: bitsofinfo/cicdstatemgr:1.2.3
command:
- /bin/bash
args:
Expand All @@ -74,7 +74,7 @@ spec:
# STEP Generate deployment.yaml
#----------------------------------
- name: generate-deployment-yaml
image: bitsofinfo/cicdstatemgr:1.1.3
image: bitsofinfo/cicdstatemgr:1.2.3
command:
- /bin/bash
args:
Expand Down Expand Up @@ -114,7 +114,7 @@ spec:
# STEP deploy
#----------------------------------
- name: deploy
image: bitsofinfo/cicdstatemgr:1.1.3
image: bitsofinfo/cicdstatemgr:1.2.3
command:
- /bin/bash
args:
Expand Down
2 changes: 1 addition & 1 deletion examples/tekton/pipelines/start/tasks/start.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ spec:
# STEP init CICD context data
#----------------------------------
- name: init-cicd-context-data
image: bitsofinfo/cicdstatemgr:1.1.3
image: bitsofinfo/cicdstatemgr:1.2.3
command:
- /bin/bash
args:
Expand Down
4 changes: 2 additions & 2 deletions examples/tekton/pipelines/test/tasks/test-invoke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
# STEP load CICD context data
#----------------------------------
- name: load-cicd-context-data
image: bitsofinfo/cicdstatemgr:1.1.3
image: bitsofinfo/cicdstatemgr:1.2.3
command:
- /bin/bash
args:
Expand Down Expand Up @@ -64,7 +64,7 @@ spec:
#----------------------------------

- name: test-invoke
image: bitsofinfo/cicdstatemgr:1.1.3
image: bitsofinfo/cicdstatemgr:1.2.3
command:
- /bin/bash
args:
Expand Down
4 changes: 2 additions & 2 deletions examples/tekton/pipelines/validate/tasks/trivy-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
# STEP load CICD context data
#----------------------------------
- name: load-cicd-context-data
image: bitsofinfo/cicdstatemgr:1.1.3
image: bitsofinfo/cicdstatemgr:1.2.3
command:
- /bin/bash
args:
Expand Down Expand Up @@ -103,7 +103,7 @@ spec:
# w/ scan results
#----------------------------------
- name: update-cicd-context-data
image: bitsofinfo/cicdstatemgr:1.1.3
image: bitsofinfo/cicdstatemgr:1.2.3
command:
- /bin/bash
args:
Expand Down

0 comments on commit 2413538

Please sign in to comment.