Skip to content
Closed
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
8 changes: 6 additions & 2 deletions .github/workflows/helm-ccv-cell-image-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ permissions:
env:
LABEL: "ci=helm-ccv-cell-image-bump"
VALUES: charts/ccv-cell/values.yaml
COMPOSE: local/docker-compose.yaml
VERSION: ${{ github.event.client_payload.tag || inputs.version }}

jobs:
Expand Down Expand Up @@ -60,16 +61,19 @@ jobs:
sed -i "/^verifier:/,\$ s/tag: .*/tag: \"${VERSION}\"/" "$VALUES"
helm-docs --chart-search-root charts/ccv-cell --template-files README.md.gotmpl

sed -i "s|\(chainlink-ccv-aggregator:\)v[0-9][0-9.]*|\1${VERSION}|" "$COMPOSE"
sed -i "s|\(chainlink-ccv-verifier:\)v[0-9][0-9.]*|\1${VERSION}|" "$COMPOSE"

branch="helm-ccv-cell-image-bump/${VERSION}-${{ github.run_id }}"
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git switch -c "$branch"
git add "$VALUES" charts/ccv-cell/README.md
git add "$VALUES" charts/ccv-cell/README.md "$COMPOSE"
git commit -m "bump ccv images to ${VERSION}"
git push origin "$branch"

gh pr create \
--title "Bump ccv images to ${VERSION}" \
--body "Bumps aggregator and verifier image tags to \`${VERSION}\`." \
--body "Bumps aggregator and verifier image tags to \`${VERSION}\` in the Helm chart and local docker-compose setup." \
--label "$LABEL" \
--head "$branch"
4 changes: 2 additions & 2 deletions charts/ccv-cell/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ A CCV Cell also has a few external pre-requisites for a production grade deploym
| aggregator.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. See [imagePullPolicy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy). |
| aggregator.image.registry | string | `""` | OCI registry, overrides `global.image.registry` when set. |
| aggregator.image.repository | string | `"chainlink/chainlink-ccv-aggregator"` | Image repository. |
| aggregator.image.tag | string | `"v0.11.0"` | Image tag. Mutually exclusive with `digest`. All tags in the default repository are immutable. |
| aggregator.image.tag | string | `"v4.4.4"` | Image tag. Mutually exclusive with `digest`. All tags in the default repository are immutable. |
| aggregator.ingress.annotations | object | `{}` | Annotations to add to the Ingress (e.g. controller-specific TLS/HTTP2 or gRPC wiring). |
| aggregator.ingress.className | string | `""` | Ingress class name. See [Ingress](https://kubernetes.io/docs/concepts/services-networking/ingress/). Make sure that the endpoint is served under TLS with HTTP/2 end-to-end and with gRPC support. Some controllers require annotations, while others support it out of the box. |
| aggregator.ingress.enabled | bool | `false` | Enable an Ingress for the aggregator gRPC endpoint. |
Expand Down Expand Up @@ -294,7 +294,7 @@ A CCV Cell also has a few external pre-requisites for a production grade deploym
| verifier.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy. See [imagePullPolicy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy). |
| verifier.image.registry | string | `""` | OCI registry; overrides `global.image.registry` when set. |
| verifier.image.repository | string | `"chainlink/chainlink-ccv-verifier"` | Image repository. |
| verifier.image.tag | string | `"v0.11.0"` | Image tag. Mutually exclusive with `digest`. All tags in the default repository are immutable. |
| verifier.image.tag | string | `"v4.4.4"` | Image tag. Mutually exclusive with `digest`. All tags in the default repository are immutable. |
| verifier.labels | object | `{}` | Labels to add to the verifier Deployment object. |
| verifier.lifecycle | object | `{}` | Container lifecycle hooks (postStart / preStop). See [lifecycle](https://kubernetes.io/docs/concepts/containers/container-lifecycle-hooks/). |
| verifier.livenessProbe | object | `{"failureThreshold":10,"httpGet":{"path":"/health","port":"bootstrap-info"},"initialDelaySeconds":15,"periodSeconds":15}` | Liveness probe for the verifier container. See [probes](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/). |
Expand Down
4 changes: 2 additions & 2 deletions charts/ccv-cell/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ aggregator:
repository: chainlink/chainlink-ccv-aggregator
# -- Image tag. Mutually exclusive with `digest`.
# All tags in the default repository are immutable.
tag: "v0.11.0"
tag: "v4.4.4"
# -- Image digest (`sha256:...`). Mutually exclusive with `tag`.
digest: ""
# -- Image pull policy. See [imagePullPolicy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy).
Expand Down Expand Up @@ -597,7 +597,7 @@ verifier:
repository: chainlink/chainlink-ccv-verifier
# -- Image tag. Mutually exclusive with `digest`.
# All tags in the default repository are immutable.
tag: "v0.11.0"
tag: "v4.4.4"
# -- Image digest (`sha256:...`). Mutually exclusive with `tag`.
digest: ""
# -- Image pull policy. See [imagePullPolicy](https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy).
Expand Down
4 changes: 2 additions & 2 deletions local/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ services:
retries: 30

aggregator:
image: public.ecr.aws/chainlink/chainlink-ccv-aggregator:v0.6.0
image: public.ecr.aws/chainlink/chainlink-ccv-aggregator:v4.4.4
depends_on:
postgres:
condition: service_healthy
Expand All @@ -39,7 +39,7 @@ services:
retries: 30

verifier:
image: public.ecr.aws/chainlink/chainlink-ccv-verifier:v0.6.0
image: public.ecr.aws/chainlink/chainlink-ccv-verifier:v4.4.4
# Restart on a cold-boot DB race: on the first boot the verifier can panic while writing its
# keystore before Postgres is fully ready. on-failure lets it recover on the next attempt.
restart: on-failure
Expand Down