Skip to content

Commit

Permalink
use pitzer instead of pitzer-login for apptainer updates (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom authored Dec 15, 2022
1 parent f611249 commit 0f4b5b1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 15 additions & 2 deletions form.yml → form.yml.erb
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
<%-
groups = OodSupport::User.new.groups.sort_by(&:id).tap { |groups|
groups.unshift(groups.delete(OodSupport::Process.group))
}.map(&:name).grep(/^P./)
-%>
---
cluster: "pitzer-login"
cluster: "pitzer"
form:
- account
- bc_num_hours
- working_dir
- version
attributes:
account:
label: "Project"
widget: select
options:
<%- groups.each do |group| %>
- "<%= group %>"
<%- end %>
version:
widget: "select"
label: "Codeserver Version"
options:
- ["3.9", "3.9.3"]
- ["3.4", "3.4.1"]
- ["4.5", "4.5.1"]
# - ["4.5", "4.5.1"]

working_dir:
label: "Working Directory"
Expand Down
2 changes: 2 additions & 0 deletions submit.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ batch_connect:
template: "basic"
conn_params:
- code_server_version
script:
accounting_id: <%= account %>

0 comments on commit 0f4b5b1

Please sign in to comment.