Skip to content

Commit

Permalink
Update the CI to reflect parca changes
Browse files Browse the repository at this point in the history
Signed-off-by: Vibhu Prashar <[email protected]>
  • Loading branch information
vprashar2929 committed Aug 1, 2023
1 parent 220286c commit aaaa662
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion services/minio-template.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local minio = (import 'github.com/observatorium/observatorium/configuration/comp
version:: '${IMAGE_TAG}',
accessKey:: '${MINIO_ACCESS_KEY}',
secretKey:: '${MINIO_SECRET_KEY}',
buckets:: ['thanos', 'loki', 'rules'],
buckets:: ['thanos', 'loki', 'rules', 'parca'],
replicas: 1,
}) + {
deployment+: {
Expand Down
7 changes: 1 addition & 6 deletions tests/ci/ci_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,22 +56,17 @@ observatorium_tools(){
oc wait --for=jsonpath='{.status.phase}=Active' namespace/observatorium-tools --timeout=5s
oc apply --namespace observatorium-tools -f ../deploy/manifests/observatorium-tools-network-policy.yaml
oc process --param-file=env/logging.test.ci.env -f ../../resources/services/meta-monitoring/logging-template.yaml | oc apply --namespace observatorium-tools -f -
oc process --param-file=env/observatorium-parca.test.ci.env -f ../../resources/services/meta-monitoring/profiling-template.yaml | oc apply --namespace observatorium-tools -f -
}

observatorium() {
oc wait --for=jsonpath='{.status.phase}=Active' namespace/observatorium --timeout=5s
oc apply -f ../deploy/manifests/observatorium-rules-objstore-secret.yaml --namespace observatorium
oc apply -f ../deploy/manifests/observatorium-rhobs-tenant-secret.yaml --namespace observatorium
oc apply --namespace observatorium -f ../deploy/manifests/observatorium-service-account.yaml
oc apply -f ../deploy/manifests/observatorium-parca-secret.yaml --namespace observatorium
oc process -f ../../resources/services/parca-observatorium-remote-ns-rbac-template.yaml | \
oc apply -f -
oc process --param-file=env/observatorium.test.ci.env \
-f ../../resources/services/observatorium-template.yaml | \
oc apply --namespace observatorium -f -
oc process --param-file=env/observatorium-parca.test.ci.env \
-f ../../resources/services/parca-template.yaml| \
oc apply --namespace observatorium -f -
oc process --param-file=env/observatorium-jaeger.test.ci.env \
-f ../../resources/services/jaeger-template.yaml| \
oc apply --namespace observatorium -f -
Expand Down
13 changes: 7 additions & 6 deletions tests/ci/env/observatorium-parca.test.ci.env
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
PARCA_REPLICAS=1
IMAGE=ghcr.io/parca-dev/parca
PARCA_CPU_REQUEST=30m
PARCA_MEMORY_REQUEST=500Mi
PARCA_CPU_LIMITS=50m
PARCA_MEMORY_LIMITS=500Mi
PARCA_PROXY_CPU_REQUEST=25m
PARCA_PROXY_MEMORY_REQUEST=100Mi
PARCA_PROXY_CPU_LIMITS=50m
PARCA_PROXY_MEMORY_LIMITS=100Mi
STORAGE_ACTIVE_MEMORY=536870912
ACCESS_KEY_ID=minio
SECRET_ACCESS_KEY=minio123
S3_BUCKET_NAME=parca
S3_BUCKET_ENDPOINT=minio.minio.svc.cluster.local:9000
S3_BUCKET_REGION=eu-central-1
SD_NAMESPACE_LIST='["observatorium-metrics"]'
2 changes: 1 addition & 1 deletion tests/deploy/manifests/minio-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ objects:
- /bin/sh
- -c
- |
mkdir -p /storage/thanos /storage/loki /storage/rules && \
mkdir -p /storage/thanos /storage/loki /storage/rules /storage/parca && \
/usr/bin/docker-entrypoint.sh minio server /storage
env:
- name: MINIO_ROOT_USER
Expand Down

0 comments on commit aaaa662

Please sign in to comment.