Skip to content

Commit

Permalink
Fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateusz Kuziemko committed Mar 15, 2022
1 parent eb48ac7 commit a260150
Show file tree
Hide file tree
Showing 23 changed files with 32 additions and 25 deletions.
2 changes: 1 addition & 1 deletion manifests/implementation/aws/elasticsearch/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ spec:
- name: basicAuth
path: /yamls/basicAuth.yaml
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/aws/rds/postgresql/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ spec:
- name: aws
path: /yamls/aws.yaml
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/aws/redis/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ spec:
- name: provider-credentials
path: /yamls/providercredentials.yaml
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ spec:
path: /yamls/additionalinput.yaml
optional: true
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/bitnami/minio/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ spec:
path: /yamls/additionalinput.yaml
optional: true
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/bitnami/mongodb/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ spec:
path: /yamls/additionalinput.yaml
optional: true
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/bitnami/redis/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ spec:
path: /yamls/additionalinput.yaml
optional: true
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ spec:
container:
image: alpine:latest
command: ["sh", "-c"]
args: ["echo 'Implementation B' && cp /input /upload && echo 'key: true' > /expected && diff /expected /injected && sleep 1"]
args: ["echo 'Implementation B' && cp /input /upload && printf 'value:\n key: true\n' > /expected && diff /expected /injected && sleep 1"]
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ spec:
- name: testUpload
from: upload
backend: validation-storage

capact-updateTypeInstances:
- name: testUpdate
from: update
backend: validation-storage
- name: test
inputs:
artifacts:
Expand All @@ -81,7 +84,9 @@ spec:
artifacts:
- name: upload
path: /upload
- name: update
path: /update
container:
image: alpine:latest
command: ["sh", "-c"]
args: ["echo 'Implementation C' && cp /input /upload && sleep 1"]
args: ["echo 'Implementation C' && cp /input /upload && cp /input /update && sleep 1"]
2 changes: 1 addition & 1 deletion manifests/implementation/concourse/concourse/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ spec:
- name: user
path: /yamls/user.yaml
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ spec:
- name: postgresql
path: /yamls/postgresql.yaml
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ spec:
- name: user
path: /yamls/user.yaml
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/minio/mc/create_bucket.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ spec:
- name: s3
path: /yamls/s3.yaml
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
4 changes: 2 additions & 2 deletions manifests/implementation/postgresql/change-password.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
from: "{{steps.prepare-parameters.outputs.artifacts.merged}}"
- name: configuration
raw:
data: "strip-value: true"
data: "unpackValue: true"

- - name: change-password
template: change-password
Expand Down Expand Up @@ -125,7 +125,7 @@ spec:
- name: postgresql
path: /yamls/postgresql.yaml
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/postgresql/create-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:
from: "{{inputs.artifacts.postgresql}}"
- name: configuration
raw:
data: "strip-value: true"
data: "unpackValue: true"

- - name: fill-params-in-create-db-script
capact-action: jinja2.template
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/postgresql/create-user.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ spec:
from: "{{inputs.artifacts.postgresql}}"
- name: configuration
raw:
data: "strip-value: true"
data: "unpackValue: true"

- - name: create-user
template: create-psql-user
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/rocketchat/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ spec:
- name: mongo
path: /yamls/mongo.yaml
container:
image: ghcr.io/capactio/pr/infra/merger:20c169b
image: ghcr.io/capactio/pr/infra/merger:PR-657
outputs:
artifacts:
- name: merged
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/runner/helm/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ spec:
- name: tmp
emptyDir: { }
container:
image: ghcr.io/capactio/helm-runner:20c169b
image: ghcr.io/capactio/pr/helm-runner:PR-657
env:
- name: RUNNER_OPTIONAL_KUBECONFIG_TI
value: "{{inputs.artifacts.kubeconfig.path}}"
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/runner/helm/upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
path: "/additional.yaml"
optional: true
container:
image: ghcr.io/capactio/helm-runner:20c169b
image: ghcr.io/capactio/pr/helm-runner:PR-657
env:
- name: RUNNER_CONTEXT_PATH
value: "{{inputs.artifacts.runner-context.path}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ spec:
globalName: tfstate
path: "/terraform-state.yaml"
container:
image: ghcr.io/capactio/terraform-runner:20c169b
image: ghcr.io/capactio/pr/terraform-runner:PR-657
env:
- name: RUNNER_CONTEXT_PATH
value: "{{inputs.artifacts.runner-context.path}}"
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/runner/terraform/apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ spec:
globalName: tfstate
path: "/terraform-state.yaml"
container:
image: ghcr.io/capactio/terraform-runner:20c169b
image: ghcr.io/capactio/pr/terraform-runner:PR-657
env:
- name: RUNNER_CONTEXT_PATH
value: "{{inputs.artifacts.runner-context.path}}"
Expand Down
2 changes: 1 addition & 1 deletion manifests/implementation/templating/jinja2/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
- name: render
path: "/render.yml"
container:
image: ghcr.io/capactio/pr/infra/jinja2:20c169b
image: ghcr.io/capactio/pr/infra/jinja2:PR-657
args:
- /template.yml
- /values.yml
Expand Down
4 changes: 3 additions & 1 deletion manifests/type/capactio/capact/validation/download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ spec:
"key": "example key"
}
],
"required": [],
"required": [
"key"
],
"properties": {
"key": {
"$id": "#/properties/key",
Expand Down

0 comments on commit a260150

Please sign in to comment.