From 4ed214948a832f78ae0a945ae0e40f1c6af967b4 Mon Sep 17 00:00:00 2001 From: jannfis Date: Mon, 14 Jun 2021 20:55:14 +0200 Subject: [PATCH] fix: Update redis to 6.2.4 Signed-off-by: jannfis --- .github/workflows/ci-build.yaml | 2 +- Procfile | 2 +- manifests/base/redis/argocd-redis-deployment.yaml | 2 +- manifests/ha/base/redis-ha/chart/upstream.yaml | 6 +++--- manifests/ha/base/redis-ha/chart/values.yaml | 2 +- manifests/ha/install.yaml | 6 +++--- manifests/ha/namespace-install.yaml | 6 +++--- manifests/install.yaml | 2 +- manifests/namespace-install.yaml | 2 +- test/container/Dockerfile | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index fd40ecff26d62..512421364774b 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -396,7 +396,7 @@ jobs: run: | docker pull quay.io/dexidp/dex:v2.25.0 docker pull argoproj/argo-cd-ci-builder:v1.0.0 - docker pull redis:6.2.1-alpine + docker pull redis:6.2.4-alpine - name: Create target directory for binaries in the build-process run: | mkdir -p dist diff --git a/Procfile b/Procfile index 02714e7f3b4ec..3f108a1686f35 100644 --- a/Procfile +++ b/Procfile @@ -1,7 +1,7 @@ controller: sh -c "FORCE_LOG_COLORS=1 ARGOCD_FAKE_IN_CLUSTER=true ARGOCD_TLS_DATA_PATH=${ARGOCD_TLS_DATA_PATH:-/tmp/argocd-local/tls} ARGOCD_SSH_DATA_PATH=${ARGOCD_SSH_DATA_PATH:-/tmp/argocd-local/ssh} ARGOCD_BINARY_NAME=argocd-application-controller go run ./cmd/main.go --loglevel debug --redis localhost:${ARGOCD_E2E_REDIS_PORT:-6379} --repo-server localhost:${ARGOCD_E2E_REPOSERVER_PORT:-8081}" api-server: sh -c "FORCE_LOG_COLORS=1 ARGOCD_FAKE_IN_CLUSTER=true ARGOCD_TLS_DATA_PATH=${ARGOCD_TLS_DATA_PATH:-/tmp/argocd-local/tls} ARGOCD_SSH_DATA_PATH=${ARGOCD_SSH_DATA_PATH:-/tmp/argocd-local/ssh} ARGOCD_BINARY_NAME=argocd-server go run ./cmd/main.go --loglevel debug --redis localhost:${ARGOCD_E2E_REDIS_PORT:-6379} --disable-auth=${ARGOCD_E2E_DISABLE_AUTH:-'true'} --insecure --dex-server http://localhost:${ARGOCD_E2E_DEX_PORT:-5556} --repo-server localhost:${ARGOCD_E2E_REPOSERVER_PORT:-8081} --port ${ARGOCD_E2E_APISERVER_PORT:-8080} --staticassets ui/dist/app" dex: sh -c "ARGOCD_BINARY_NAME=argocd-dex go run github.com/argoproj/argo-cd/v2/cmd gendexcfg -o `pwd`/dist/dex.yaml && docker run --rm -p ${ARGOCD_E2E_DEX_PORT:-5556}:${ARGOCD_E2E_DEX_PORT:-5556} -v `pwd`/dist/dex.yaml:/dex.yaml ghcr.io/dexidp/dex:v2.27.0 serve /dex.yaml" -redis: bash -c "if [ $ARGOCD_REDIS_LOCAL == 'true' ]; then redis-server --save '' --appendonly no --port ${ARGOCD_E2E_REDIS_PORT:-6379}; else docker run --rm --name argocd-redis -i -p ${ARGOCD_E2E_REDIS_PORT:-6379}:${ARGOCD_E2E_REDIS_PORT:-6379} redis:6.2.1-alpine --save '' --appendonly no --port ${ARGOCD_E2E_REDIS_PORT:-6379}; fi" +redis: bash -c "if [ $ARGOCD_REDIS_LOCAL == 'true' ]; then redis-server --save '' --appendonly no --port ${ARGOCD_E2E_REDIS_PORT:-6379}; else docker run --rm --name argocd-redis -i -p ${ARGOCD_E2E_REDIS_PORT:-6379}:${ARGOCD_E2E_REDIS_PORT:-6379} redis:6.2.4-alpine --save '' --appendonly no --port ${ARGOCD_E2E_REDIS_PORT:-6379}; fi" repo-server: sh -c "FORCE_LOG_COLORS=1 ARGOCD_FAKE_IN_CLUSTER=true ARGOCD_GNUPGHOME=${ARGOCD_GNUPGHOME:-/tmp/argocd-local/gpg/keys} ARGOCD_GPG_DATA_PATH=${ARGOCD_GPG_DATA_PATH:-/tmp/argocd-local/gpg/source} ARGOCD_TLS_DATA_PATH=${ARGOCD_TLS_DATA_PATH:-/tmp/argocd-local/tls} ARGOCD_SSH_DATA_PATH=${ARGOCD_SSH_DATA_PATH:-/tmp/argocd-local/ssh} ARGOCD_BINARY_NAME=argocd-repo-server go run ./cmd/main.go --loglevel debug --port ${ARGOCD_E2E_REPOSERVER_PORT:-8081} --redis localhost:${ARGOCD_E2E_REDIS_PORT:-6379}" ui: sh -c 'cd ui && ${ARGOCD_E2E_YARN_CMD:-yarn} start' git-server: test/fixture/testrepos/start-git.sh diff --git a/manifests/base/redis/argocd-redis-deployment.yaml b/manifests/base/redis/argocd-redis-deployment.yaml index 7cf41f6df8610..2236be257a8d1 100644 --- a/manifests/base/redis/argocd-redis-deployment.yaml +++ b/manifests/base/redis/argocd-redis-deployment.yaml @@ -21,7 +21,7 @@ spec: serviceAccountName: argocd-redis containers: - name: redis - image: redis:6.2.1-alpine + image: redis:6.2.4-alpine imagePullPolicy: Always args: - "--save" diff --git a/manifests/ha/base/redis-ha/chart/upstream.yaml b/manifests/ha/base/redis-ha/chart/upstream.yaml index 86425dd338711..e2d73eadbd315 100644 --- a/manifests/ha/base/redis-ha/chart/upstream.yaml +++ b/manifests/ha/base/redis-ha/chart/upstream.yaml @@ -878,7 +878,7 @@ spec: automountServiceAccountToken: false initContainers: - name: config-init - image: redis:6.2.1-alpine + image: redis:6.2.4-alpine imagePullPolicy: IfNotPresent resources: {} @@ -906,7 +906,7 @@ spec: containers: - name: redis - image: redis:6.2.1-alpine + image: redis:6.2.4-alpine imagePullPolicy: IfNotPresent command: - redis-server @@ -947,7 +947,7 @@ spec: lifecycle: {} - name: sentinel - image: redis:6.2.1-alpine + image: redis:6.2.4-alpine imagePullPolicy: IfNotPresent command: - redis-sentinel diff --git a/manifests/ha/base/redis-ha/chart/values.yaml b/manifests/ha/base/redis-ha/chart/values.yaml index 2563d3ca9fc8a..a3188a005956a 100644 --- a/manifests/ha/base/redis-ha/chart/values.yaml +++ b/manifests/ha/base/redis-ha/chart/values.yaml @@ -15,6 +15,6 @@ redis-ha: client: 6m checkInterval: 3s image: - tag: 6.2.1-alpine + tag: 6.2.4-alpine sentinel: bind: "0.0.0.0" diff --git a/manifests/ha/install.yaml b/manifests/ha/install.yaml index 52fd4793253b8..94312e7007ea5 100644 --- a/manifests/ha/install.yaml +++ b/manifests/ha/install.yaml @@ -4413,7 +4413,7 @@ spec: - /data/conf/redis.conf command: - redis-server - image: redis:6.2.1-alpine + image: redis:6.2.4-alpine imagePullPolicy: IfNotPresent lifecycle: {} livenessProbe: @@ -4451,7 +4451,7 @@ spec: - /data/conf/sentinel.conf command: - redis-sentinel - image: redis:6.2.1-alpine + image: redis:6.2.4-alpine imagePullPolicy: IfNotPresent lifecycle: {} livenessProbe: @@ -4497,7 +4497,7 @@ spec: value: 40000915ab58c3fa8fd888fb8b24711944e6cbb4 - name: SENTINEL_ID_2 value: 2bbec7894d954a8af3bb54d13eaec53cb024e2ca - image: redis:6.2.1-alpine + image: redis:6.2.4-alpine imagePullPolicy: IfNotPresent name: config-init volumeMounts: diff --git a/manifests/ha/namespace-install.yaml b/manifests/ha/namespace-install.yaml index 975e6e69cb898..44519bb89b98a 100644 --- a/manifests/ha/namespace-install.yaml +++ b/manifests/ha/namespace-install.yaml @@ -1800,7 +1800,7 @@ spec: - /data/conf/redis.conf command: - redis-server - image: redis:6.2.1-alpine + image: redis:6.2.4-alpine imagePullPolicy: IfNotPresent lifecycle: {} livenessProbe: @@ -1838,7 +1838,7 @@ spec: - /data/conf/sentinel.conf command: - redis-sentinel - image: redis:6.2.1-alpine + image: redis:6.2.4-alpine imagePullPolicy: IfNotPresent lifecycle: {} livenessProbe: @@ -1884,7 +1884,7 @@ spec: value: 40000915ab58c3fa8fd888fb8b24711944e6cbb4 - name: SENTINEL_ID_2 value: 2bbec7894d954a8af3bb54d13eaec53cb024e2ca - image: redis:6.2.1-alpine + image: redis:6.2.4-alpine imagePullPolicy: IfNotPresent name: config-init volumeMounts: diff --git a/manifests/install.yaml b/manifests/install.yaml index 9b0741953ef8d..986246fbee0ec 100644 --- a/manifests/install.yaml +++ b/manifests/install.yaml @@ -3102,7 +3102,7 @@ spec: - "" - --appendonly - "no" - image: redis:6.2.1-alpine + image: redis:6.2.4-alpine imagePullPolicy: Always name: redis ports: diff --git a/manifests/namespace-install.yaml b/manifests/namespace-install.yaml index 545727ac5cf27..9b55b03f17ede 100644 --- a/manifests/namespace-install.yaml +++ b/manifests/namespace-install.yaml @@ -489,7 +489,7 @@ spec: - "" - --appendonly - "no" - image: redis:6.2.1-alpine + image: redis:6.2.4-alpine imagePullPolicy: Always name: redis ports: diff --git a/test/container/Dockerfile b/test/container/Dockerfile index 7064543ad92af..bb079d36470c8 100644 --- a/test/container/Dockerfile +++ b/test/container/Dockerfile @@ -1,4 +1,4 @@ -FROM redis:6.2.1 as redis +FROM redis:6.2.4 as redis FROM node:12.18.4 as node