Skip to content
Open
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
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ references:
minio:
persistence:
size: 10Gi
accessKey: ${MINIO_ACCESS_KEY}
secretKey: ${MINIO_SECRET_KEY}
rabbitmq-ha:
replicaCount: 1
ulimitNofiles: 32768
Expand Down
6 changes: 6 additions & 0 deletions .do/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ CODACY_URL?="https://dev.k8s.dev.codacy.org"
GRAFANA_URL?="https://grafana.k8s.dev.codacy.org"
RELEASE_NAME?="codacy"
NAMESPACE?="codacy"
MINIO_ACCESS_KEY=$(shell openssl rand -hex 14)
MINIO_SECRET_KEY=$(shell openssl rand -hex 14)
HELM_REPOSITORY?=codacy-incubator
DEPLOYMENTS?=$(shell kubectl get deployments -n "${NAMESPACE}" | awk '{print $$1}' | tail -n +2 | grep -v minio)
WORKER_VERSION?=$(shell grep "engine" -A 2 ../codacy/requirements.lock | grep version | cut -d : -f 2 | tr -d '[:blank:]')
Expand All @@ -17,6 +19,8 @@ define call_helm_install
-f ../codacy/values-production.yaml \
-f values.yaml \
--namespace ${2} \
--set global.minio.secretKey=$${MINIO_SECRET_KEY} \
--set global.minio.accessKey=$${MINIO_ACCESS_KEY} \
--set global.imagePullSecrets[0].name=docker-credentials \
--set global.play.cryptoSecret=$${SHARED_PLAY_CRYPTO_SECRET} \
--set global.akka.sessionSecret=$${SHARED_AKKA_SESSION_SECRET} \
Expand All @@ -43,6 +47,8 @@ define call_helm_install_infrastructure
-f ../codacy/values-production.yaml \
-f values.yaml \
--namespace ${2} \
--set global.minio.secretKey=$${MINIO_SECRET_KEY} \
--set global.minio.accessKey=$${MINIO_ACCESS_KEY} \
--set codacy-ingress.create=false \
--set portal.create=false \
--set ragnaros.create=false \
Expand Down
2 changes: 0 additions & 2 deletions codacy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ global:
create: true
location: codacy-minio
port: 9000
accessKey: "AKIAIOSFODNN7EXAMPLE"
secretKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"

s3:
bucket:
Expand Down