Skip to content

Commit

Permalink
test: set next-release checks
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybellwood committed Jun 18, 2024
1 parent 8d895d3 commit e58a645
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,22 @@ jobs:
(contains(github.event.pull_request.labels.*.name, 'needs-testing'))
- name: Run chart-testing (install)
run: ct install --config ./default.ct.yaml --helm-extra-args "--timeout 30m"
run: |
ct install --config ./default.ct.yaml --helm-extra-args "--timeout 30m"
if: |
${{ !contains(github.event.pull_request.labels.*.name, 'next-release') }}
- name: Run chart-testing (next-release)
run: |
yq eval-all --inplace 'select(fileIndex == 0) * select(fileIndex == 1)' ./charts/lagoon-core/ci/linter-values.yaml ./charts/lagoon-core/ci/testlagoon-main-override.yaml
ct install --config ./default.ct.yaml --helm-extra-args "--timeout 30m"
if: |
${{ (contains(github.event.pull_request.labels.*.name, 'next-release')) }}
- name: Run chart-testing (needs-testing)
run: ct install --config ./default.ct.yaml --helm-extra-args "--timeout 30m" --all
if: |
(contains(github.event.pull_request.labels.*.name, 'needs-testing'))
${{ (contains(github.event.pull_request.labels.*.name, 'needs-testing')) }}
artifacthub-changelog:
runs-on: ubuntu-latest
Expand Down
61 changes: 61 additions & 0 deletions charts/lagoon-core/ci/testlagoon-main-override.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
imageTag: "main"

api:
image:
repository: testlagoon/api

apiDB:
image:
repository: testlagoon/api-db

apiRedis:
image:
repository: testlagoon/api-redis

actionsHandler:
image:
repository: testlagoon/actions-handler

keycloak:
image:
repository: testlagoon/keycloak

keycloakDB:
image:
repository: testlagoon/keycloak-db

broker:
image:
repository: testlagoon/broker

authServer:
image:
repository: testlagoon/auth-server

webhooks2tasks:
image:
repository: testlagoon/webhooks2tasks

webhookHandler:
image:
repository: testlagoon/webhook-handler

backupHandler:
image:
repository: testlagoon/backup-handler

logs2notifications:
image:
repository: testlagoon/logs2notifications

ssh:
image:
repository: testlagoon/ssh

controllerhandler:
image:
repository: testlagoon/controllerhandler

workflows:
image:
repository: testlagoon/workflows

0 comments on commit e58a645

Please sign in to comment.