Skip to content

Commit

Permalink
adding ML102 workshop app
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdjscott committed Nov 7, 2023
1 parent abbf3bf commit b3ce3e7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
11 changes: 11 additions & 0 deletions roles/ml102_workshop/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
- name: Create directory for ML102
file:
path: /opt/ml102_workshop
state: directory
mode: 0755
- name: Pull ML102 image
command: 'apptainer pull ML102.sif oras://docker.io/cdjs/ml102_workshop:latest'
args:
chdir: /opt/ml102_workshop
creates: /opt/ml102_workshop/ML102.sif
3 changes: 2 additions & 1 deletion setup-training-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,12 @@
roles:
- keycloak

- name: Install Apptainer
- name: Install Workshops
become: yes
hosts: webnode
roles:
- apptainer
- ml102_workshop

# run ondemand role
- name: Install ondemand
Expand Down
6 changes: 5 additions & 1 deletion vars/ondemand-config.yml.example
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ ood_install_apps:
repo: https://github.com/chrisdjscott/ood_ml101_test.git
version: main

jupyter_ml102:
repo: https://github.com/chrisdjscott/ood_ml102_workshop.git
version: main

# HTTPS LetsEncrypt Settings

acme_directory: https://acme-v02.api.letsencrypt.org/directory
Expand Down Expand Up @@ -132,4 +136,4 @@ kube_oidc_groups_prefix: 'oidc:'
ca_file_path: /usr/local/share/ca-certificates

rdc_private_key_path: "{{ ca_file_path }}/rdc-CA.key"
rdc_certificate_path: "{{ ca_file_path }}/rdc-CA.crt"
rdc_certificate_path: "{{ ca_file_path }}/rdc-CA.crt"

0 comments on commit b3ce3e7

Please sign in to comment.