Skip to content

Commit

Permalink
actually run validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Aug 5, 2024
1 parent 23ee5ef commit abec4fe
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 71 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:
run: |
export PATH="/tmp/canary-bin:${PATH}"
sh ./ci/container-canary/run-checks.sh ${{ inputs.BASE_TAG }}
# - name: (notebooks) container-canary checks
# run: |
# sh ./ci/container-canary/run-checks.sh ${{ inputs.NOTEBOOK_TAG }}
- name: (notebooks) container-canary checks
run: |
export PATH="/tmp/canary-bin:${PATH}"
sh ./ci/container-canary/run-checks.sh ${{ inputs.NOTEBOOK_TAG }}
135 changes: 67 additions & 68 deletions ci/container-canary/rapids.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,74 +9,73 @@ command:
- -c
- "sleep 9999"
checks:
- name: always-succeed
description: always pass
# - name: always-succeed
# description: always pass
# probe:
# exec:
# command:
# - id
- name: tool-conda
description: conda can be executed
probe:
exec:
command:
- id
# - name: tool-conda
# description: conda can be executed
# probe:
# exec:
# command:
# - conda
# - --version
# timeoutSeconds: 120
# - name: tool-dask-cli
# description: Dask CLI can be executed
# probe:
# exec:
# command:
# - python
# - -m dask
# - --version
# # ref: https://github.com/rapidsai/docker/issues/668
# - name: tool-distributed-spec-cli
# description: Distributed dask_spec CLI can be executed
# probe:
# exec:
# command:
# - python
# - "-m distributed.cli.dask_spec"
# - --version
# - name: tool-jupyter-lab
# description: jupyter lab can be executed
# probe:
# exec:
# command:
# - jupyter
# - lab
# - --version
# - name: user-is-rapids
# description: Default user is rapids (uid=1001)
# probe:
# exec:
# command:
# - /bin/sh
# - -c
# - 'test "$(id)" = "uid=1001(rapids) gid=1000(conda) groups=1000(conda)"'
# - name: home-directory
# description: $HOME is "/home/rapids"
# probe:
# exec:
# command:
# - /bin/sh
# - -c
# - 'test "$HOME" = "/home/rapids"'
# - name: working-directory
# description: Working directory is /home/rapids
# probe:
# exec:
# command:
# - /bin/sh
# - -c
# - 'test "$(pwd)" = "/home/rapids"'
# - name: conda-only-base-env
# description: The only defined conda env is "base"
# probe:
# exec:
# command:
# - /bin/bash
# - -c
# - "[[ $(conda env list --quiet | grep --count -E '^[A-Za-z]+') == 1 ]];"
- conda
- --version
- name: tool-dask-cli
description: Dask CLI can be executed
probe:
exec:
command:
- python
- -m dask
- --version
# ref: https://github.com/rapidsai/docker/issues/668
- name: tool-distributed-spec-cli
description: Distributed dask_spec CLI can be executed
probe:
exec:
command:
- python
- "-m distributed.cli.dask_spec"
- --version
- name: tool-jupyter-lab
description: jupyter lab can be executed
probe:
exec:
command:
- jupyter
- lab
- --version
- name: user-is-rapids
description: Default user is rapids (uid=1001)
probe:
exec:
command:
- /bin/sh
- -c
- 'test "$(id)" = "uid=1001(rapids) gid=1000(conda) groups=1000(conda)"'
- name: home-directory
description: $HOME is "/home/rapids"
probe:
exec:
command:
- /bin/sh
- -c
- 'test "$HOME" = "/home/rapids"'
- name: working-directory
description: Working directory is /home/rapids
probe:
exec:
command:
- /bin/sh
- -c
- 'test "$(pwd)" = "/home/rapids"'
- name: conda-only-base-env
description: The only defined conda env is "base"
probe:
exec:
command:
- /bin/bash
- -c
- "[[ $(conda env list --quiet | grep --count -E '^[A-Za-z]+') == 1 ]];"

0 comments on commit abec4fe

Please sign in to comment.