forked from lsst-sqre/phalanx
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'lsst-sqre:main' into master
- Loading branch information
Showing
702 changed files
with
19,961 additions
and
8,214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,17 +12,17 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- name: Set up go | ||
uses: actions/setup-go@v4 | ||
uses: actions/setup-go@v5 | ||
|
||
- name: Install helm-docs | ||
run: go install github.com/norwoodj/helm-docs/cmd/[email protected].0 | ||
run: go install github.com/norwoodj/helm-docs/cmd/[email protected].3 | ||
env: | ||
GOBIN: /usr/local/bin/ | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.11" | ||
python-version: "3.12" | ||
|
||
- name: Run pre-commit | ||
uses: pre-commit/[email protected] | ||
|
@@ -35,6 +35,7 @@ jobs: | |
matrix: | ||
python: | ||
- "3.11" | ||
- "3.12" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -54,22 +55,16 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
- uses: azure/setup-helm@v3 | ||
with: | ||
python-version: "3.11" | ||
|
||
- name: Install test dependencies | ||
run: make init | ||
|
||
- name: Expand modified charts | ||
run: expand-charts | ||
|
||
- name: Set up chart-testing | ||
uses: helm/[email protected] | ||
# Used to query GitHub for the latest Helm release. | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Run chart-testing (lint) | ||
run: ct lint --all --config ct.yaml | ||
- uses: lsst-sqre/run-tox@v1 | ||
with: | ||
python-version: "3.12" | ||
tox-envs: phalanx-lint-change | ||
cache-key-prefix: test | ||
|
||
# The minikube job always runs, but it quickly does nothing if no files that | ||
# would affect minikube were changed. This unfortunately requires a lot of | ||
|
@@ -93,12 +88,12 @@ jobs: | |
filters: | | ||
minikube: | ||
- ".github/workflows/ci.yaml" | ||
- "applications/*/Chart.yaml" | ||
- "applications/*/templates/**" | ||
- "applications/*/values.yaml" | ||
- "applications/*/values-minikube.yaml" | ||
- "applications/{argocd,gafaelfawr,ingress-nginx,mobu,postgres,squareone,vault-secrets-operator}/Chart.yaml" | ||
- "applications/{argocd,gafaelfawr,ingress-nginx,mobu,postgres,squareone,vault-secrets-operator}/templates/**" | ||
- "applications/{argocd,gafaelfawr,ingress-nginx,mobu,postgres,squareone,vault-secrets-operator}/values.yaml" | ||
- "applications/{argocd,gafaelfawr,ingress-nginx,mobu,postgres,squareone,vault-secrets-operator}/values-minikube.yaml" | ||
- "environments/Chart.yaml" | ||
- "environments/templates/**" | ||
- "environments/templates/{argocd,gafaelfawr,ingress-nginx,mobu,postgres,squareone,vault-secrets-operator}*" | ||
- "environments/values-minikube.yaml" | ||
- "installer/**" | ||
|
@@ -117,21 +112,20 @@ jobs: | |
- name: Download installer dependencies | ||
if: steps.filter.outputs.minikube == 'true' | ||
run: | | ||
curl -sSL -o /tmp/vault.zip https://releases.hashicorp.com/vault/1.14.0/vault_1.14.0_linux_amd64.zip | ||
curl -sSL -o /tmp/vault.zip https://releases.hashicorp.com/vault/1.15.4/vault_1.15.4_linux_amd64.zip | ||
unzip /tmp/vault.zip | ||
sudo mv vault /usr/local/bin/vault | ||
sudo chmod +x /usr/local/bin/vault | ||
sudo curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/download/v2.7.10/argocd-linux-amd64 | ||
sudo curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/download/v2.8.6/argocd-linux-amd64 | ||
sudo chmod +x /usr/local/bin/argocd | ||
sudo apt-get install socat | ||
sudo pip install -r installer/requirements.txt | ||
- name: Run installer | ||
timeout-minutes: 15 | ||
if: steps.filter.outputs.minikube == 'true' | ||
run: | | ||
cd installer | ||
./install.sh minikube ${{ secrets.MINIKUBE_VAULT_KEY }} | ||
./install.sh minikube "${{ secrets.MINIKUBE_VAULT_ROLE_ID }}" "${{ secrets.MINIKUBE_VAULT_SECRET_ID }}" | ||
- name: Get final list of resources | ||
if: steps.filter.outputs.minikube == 'true' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
applications/alert-stream-broker/charts/alert-stream-broker/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
applications/alert-stream-broker/charts/alert-stream-broker/templates/kafka-topics.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apiVersion: "kafka.strimzi.io/{{ .Values.strimziAPIVersion }}" | ||
kind: KafkaTopic | ||
metadata: | ||
name: "{{ .Values.testTopicName }}" | ||
labels: | ||
strimzi.io/cluster: "{{ .Values.clusterName }}" | ||
spec: | ||
partitions: {{ .Values.testTopicPartitions }} | ||
replicas: {{ .Values.testTopicReplicas }} | ||
config: | ||
cleanup.policy: "delete" | ||
retention.ms: {{ .Values.maxMillisecondsRetained }} # 7 days | ||
retention.bytes: {{ .Values.maxBytesRetained }} |
Oops, something went wrong.