Skip to content

Update ondemand to v3 #291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/fatimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
tasks_from: install.yml

- name: Include distribution variables for osc.ood
include_vars: "{{ appliances_repository_root }}/ansible/roles/osc.ood/vars/Rocky.yml"
include_vars: "{{ appliances_repository_root }}/ansible/roles/osc.ood/vars/Rocky/8.yml"
# FUTURE: install-apps.yml - this is git clones

# - import_playbook: portal.yml
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/openondemand/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- include_role:
name: osc.ood
tasks_from: install-package.yml
vars_from: Rocky.yml
vars_from: Rocky/8.yml
public: yes # Expose the vars from this role to the rest of the play
# can't set vars: from a dict hence the workaround above

Expand Down
6 changes: 6 additions & 0 deletions environments/.stackhpc/hooks/pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
become: yes
gather_facts: false
tasks:
- name: Ensure CI_CLOUD is set
assert:
that: "lookup('env', 'CI_CLOUD') != ''"
fail_msg: "Did you forget to `export CI_CLOUD={SMS,ARCUS}` when running manually?"
delegate_to: localhost

- name: Write CI-generated inventory and secrets for debugging
ansible.builtin.copy:
dest: /etc/ci-config/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# or include regex special characters.
openondemand_host_regex: "{{ (groups['compute'] + groups['grafana']) | to_ood_regex }}"

ondemand_package: ondemand-2.0.29
ondemand_package: ondemand-3.0.1

openondemand_dashboard_links: # TODO: should really only be deployed if grafana is deployed and proxying configured
- name: Grafana
Expand Down
2 changes: 1 addition & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ roles:
# No versions available
- src: https://github.com/OSC/ood-ansible.git
name: osc.ood
version: v2.0.8
version: v3.0.3

collections:
- name: containers.podman
Expand Down