-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run updatecli manually, as there is currently a failure related to credentials that is preventing updatecli from running.
- Loading branch information
Showing
9 changed files
with
11 additions
and
34 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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
name: Lint and Test Prefect Agent Chart | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- .github/workflows/agent-lint-and-test.yaml | ||
- .github/linters/agent-ct.yaml | ||
- 'charts/prefect-agent/**' | ||
|
||
jobs: | ||
lint-test: | ||
name: "lint-test (${{ matrix.kubernetes }})" | ||
|
@@ -21,28 +19,22 @@ jobs: | |
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Helm | ||
uses: azure/[email protected] | ||
with: | ||
version: v3.11.2 | ||
|
||
- name: Set up chart-testing | ||
uses: helm/[email protected] | ||
|
||
- name: Run chart-testing (lint) | ||
run: ct lint --config .github/linters/agent-ct.yaml | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
with: | ||
version: v0.18.0 | ||
version: v0.20.0 | ||
node_image: "kindest/node:v${{ matrix.kubernetes }}" | ||
|
||
- name: Create API Secret for Agent Chart | ||
run: | | ||
kubectl create ns prefect | ||
kubectl create secret generic prefect-api-key --from-literal=key=${{ secrets.PREFECT_CLOUD_API_KEY }} -n prefect | ||
- name: Run chart-testing (install) | ||
run: ct install --config .github/linters/agent-ct.yaml --helm-extra-set-args "--set=agent.config.workQueueName=test-helm --set=agent.cloudApiConfig.accountId=${{ secrets.PREFECT_CLOUD_ACCOUNT_ID }} --set=agent.cloudApiConfig.workspaceId=${{ secrets.PREFECT_CLOUD_WORKSPACE_ID }}" |
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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
name: Lint and Test Prefect Server Chart | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- .github/workflows/server-lint-and-test.yaml | ||
- .github/linters/server-ct.yaml | ||
- 'charts/prefect-server/**' | ||
|
||
jobs: | ||
lint-test: | ||
name: "lint-test (${{ matrix.kubernetes }})" | ||
|
@@ -21,23 +19,18 @@ jobs: | |
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Helm | ||
uses: azure/[email protected] | ||
with: | ||
version: v3.11.2 | ||
|
||
- name: Set up chart-testing | ||
uses: helm/[email protected] | ||
|
||
- name: Run chart-testing (lint) | ||
run: ct lint --config .github/linters/server-ct.yaml | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
with: | ||
version: v0.18.0 | ||
version: v0.20.0 | ||
node_image: "kindest/node:v${{ matrix.kubernetes }}" | ||
|
||
- name: Run chart-testing (install) | ||
run: ct install --config .github/linters/server-ct.yaml --helm-extra-set-args "--set=postgresql.auth.password=TESTING" |
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 |
---|---|---|
@@ -1,12 +1,10 @@ | ||
name: Lint and Test Prefect Worker Chart | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- .github/workflows/worker-lint-and-test.yaml | ||
- .github/linters/worker-ct.yaml | ||
- 'charts/prefect-worker/**' | ||
|
||
jobs: | ||
lint-test: | ||
name: "lint-test (${{ matrix.kubernetes }})" | ||
|
@@ -21,28 +19,22 @@ jobs: | |
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Helm | ||
uses: azure/[email protected] | ||
with: | ||
version: v3.11.2 | ||
|
||
- name: Set up chart-testing | ||
uses: helm/[email protected] | ||
|
||
- name: Run chart-testing (lint) | ||
run: ct lint --config .github/linters/worker-ct.yaml | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
with: | ||
version: v0.18.0 | ||
version: v0.20.0 | ||
node_image: "kindest/node:v${{ matrix.kubernetes }}" | ||
|
||
- name: Create API Secret for Agent Chart | ||
run: | | ||
kubectl create ns prefect | ||
kubectl create secret generic prefect-api-key --from-literal=key=${{ secrets.PREFECT_CLOUD_API_KEY }} -n prefect | ||
- name: Run chart-testing (install) | ||
run: ct install --config .github/linters/worker-ct.yaml --helm-extra-set-args "--set=worker.config.workPool=test-helm --set=worker.cloudApiConfig.accountId=${{ secrets.PREFECT_CLOUD_ACCOUNT_ID }} --set=worker.cloudApiConfig.workspaceId=${{ secrets.PREFECT_CLOUD_WORKSPACE_ID }}" |
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