File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed
Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1313
1414 - name : lint
1515 run : helm lint charts/*
16+
17+ test_primary_site :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - uses : actions/checkout@v4
21+ 22+ - name : Install primary site chart
23+ env :
24+ FOXGLOVE_API_URL : ${{ }}
25+ FOXGLOVE_SITE_TOKEN : ${{ }}
26+ run : |
27+ set -e
28+ kubectl create namespace foxglove
29+ kubectl create secret generic foxglove-site-token --from-literal="FOXGLOVE_SITE_TOKEN=\"$FOXGLOVE_SITE_TOKEN\"" --namespace foxglove
30+
31+ cat >> ./cloud-credentials-secret.yaml << EOF
32+ apiVersion: v1
33+ kind: Secret
34+ metadata:
35+ name: cloud-credentials
36+ type: Opaque
37+ stringData:
38+ S3_COMPATIBLE_ACCESS_KEY_ID: root
39+ S3_COMPATIBLE_SECRET_ACCESS_KEY: password
40+ S3_COMPATIBLE_SERVICE_REGION: default
41+ S3_COMPATIBLE_SERVICE_URL: http://localhost:9000
42+ EOF
43+
44+ kubectl apply -f ./cloud-credentials-secret.yaml -n foxglove
45+
46+ cat >> ./values.yaml << EOF
47+ globals:
48+ foxgloveApiUrl: "$FOXGLOVE_API_URL"
49+ inbox:
50+ storageProvider: "s3_compatible"
51+ lake:
52+ storageProvider: "s3_compatible"
53+ EOF
54+
55+ helm upgrade --install foxglove-primary-site ./charts/primary-site \
56+ --namespace foxglove \
57+ --values ./values.yaml
You can’t perform that action at this time.
0 commit comments