Skip to content

Commit

Permalink
Fix github actions tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nuwang committed Nov 22, 2024
1 parent 745068b commit 8f398ba
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@ jobs:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Helm dep update
- name: Helm dep update for galaxy-deps
run: cd galaxy-deps/ && helm dep update && cd ..
- name: Helm linting for galaxy-deps
run: helm lint galaxy-deps/
- name: Helm dep update for galaxy
run: cd galaxy/ && helm dep update && cd ..
- name: Helm linting
- name: Helm linting for galaxy
run: helm lint galaxy/

test:
runs-on: ubuntu-latest
steps:
Expand All @@ -29,7 +34,9 @@ jobs:
- uses: actions/checkout@v3
with:
persist-credentials: false
- name: Helm dep update
- name: Helm dep update for galaxy-deps
run: cd galaxy-deps/ && helm dep update && cd ..
- name: Helm dep update for galaxy
run: cd galaxy/ && helm dep update && cd ..
- name: Start k8s locally
uses: jupyterhub/action-k3s-helm@v3
Expand All @@ -47,6 +54,8 @@ jobs:
helm list
- name: Helm repo add galaxy
run: helm repo add galaxy https://github.com/CloudVE/helm-charts/raw/master
- name: Helm install galaxy-deps
run: time bash -c 'helm install --create-namespace -n "galaxy-deps" "galaxy-deps" ./galaxy-deps --set cvmfs.cvmfscsi.cache.alien.enabled=false --wait --timeout=1200s'
- name: Helm install Galaxy
run: time bash -c 'helm install --create-namespace -n galaxy galaxy ./galaxy --set persistence.accessMode="ReadWriteOnce" --set resources.requests.memory=0Mi,resources.requests.cpu=0m,cvmfs.cvmfscsi.cache.alien.enabled=false --wait --timeout=1200s'
- name: Get events
Expand Down

0 comments on commit 8f398ba

Please sign in to comment.