Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
92b679d
These changes upgrade the democluster to use slurm 23.11 and ubuntu n…
jamesbeedy Feb 11, 2025
0de8806
poetry.lock
jamesbeedy Feb 13, 2025
23a2ab9
remove unneeded slurmdbd configs
jamesbeedy Feb 13, 2025
4df9009
increase MinJobAge to 24h
jamesbeedy Feb 13, 2025
9a98df0
move hostmounted dir to /nfs/mnt
jamesbeedy Feb 13, 2025
7357285
modify poetry lock
jamesbeedy Mar 6, 2025
a9dba98
final touches
jamesbeedy Feb 14, 2025
692ccd1
remove duplicate oidc-domain configuration
jamesbeedy Feb 14, 2025
689e7f9
increase image size on launch
jamesbeedy Mar 6, 2025
7f15b56
update task interval to 10s
jamesbeedy Mar 6, 2025
708134f
remove default username
jamesbeedy Mar 6, 2025
6660e00
update poetry.lock
jamesbeedy Mar 6, 2025
f71cdcf
update poetry.lock
jamesbeedy Mar 6, 2025
8e855e1
fix user-data
jamesbeedy Mar 6, 2025
e7024f3
update local deploy script
jamesbeedy Mar 6, 2025
6a04aeb
update
jamesbeedy Jul 8, 2025
5459dc5
add vantage-jupyterhub venv
jamesbeedy Aug 25, 2025
1a2c284
add vantage-jupyterhub venv
jamesbeedy Aug 25, 2025
8febfbe
add vantage-jupyterhub venv
jamesbeedy Aug 25, 2025
2bcb5ed
add vantage-jupyterhub venv
jamesbeedy Aug 25, 2025
a781723
add vantage-jupyterhub venv
jamesbeedy Aug 25, 2025
37b15ff
add vantage-jupyterhub venv
jamesbeedy Aug 25, 2025
fefb230
add vantage-jupyterhub venv
jamesbeedy Aug 25, 2025
09a1c33
add vantage-jupyterhub venv
jamesbeedy Aug 25, 2025
c3eee74
add vantage-jupyterhub venv
jamesbeedy Aug 25, 2025
fc393b0
working vantage-jupyterhub
jamesbeedy Aug 25, 2025
2d6695f
testing
jamesbeedy Aug 26, 2025
fabc7e6
testing
jamesbeedy Aug 26, 2025
a57ef29
working pid files
jamesbeedy Aug 26, 2025
7e5fe16
runtime dirs
jamesbeedy Aug 26, 2025
4893260
check
jamesbeedy Aug 27, 2025
a7b122f
checkpoint
jamesbeedy Aug 28, 2025
043a1c0
lxd-profile mods
jamesbeedy Aug 28, 2025
b8c3d3c
bdx_fixes
jamesbeedy Aug 29, 2025
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
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

This project contains the democluster image producing codebase.

## Development Setup

This project uses [uv](https://docs.astral.sh/uv/) for dependency management. To get started:

```bash
# Install dependencies
uv sync

# Install development dependencies
uv sync --extra dev

# Run the image-factory tool
uv run image-factory --help

# Build the democluster image
uv run image-factory build democluster
```

#### Tuning
The environment variables `JG_VERSION`, `VTG_VERSION` and `ENV` are exposed as tunables
Expand Down
10 changes: 5 additions & 5 deletions democluster/democluster.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ locals {

variable "ubuntu_series" {
type = string
default = "jammy"
default = "noble"
description = "The codename of the Ubuntu series to build."
}

Expand All @@ -56,7 +56,7 @@ source "qemu" "stage0" {
boot_wait = "2s"
cpus = 4
disk_image = true
disk_size = "5G"
disk_size = "7G"
format = "qcow2"
headless = true
http_directory = var.http_directory
Expand All @@ -69,8 +69,8 @@ source "qemu" "stage0" {
["-cpu", "${lookup(local.qemu_cpu, var.architecture, "")}"],
["-serial", "stdio"],
["-device", "virtio-gpu-pci"],
["-drive", "if=pflash,format=raw,id=ovmf_code,readonly=on,file=/usr/share/${lookup(local.uefi_imp, var.architecture, "")}/${lookup(local.uefi_imp, var.architecture, "")}_CODE.fd"],
["-drive", "if=pflash,format=raw,id=ovmf_vars,file=${lookup(local.uefi_imp, var.architecture, "")}_VARS.fd"],
["-drive", "if=pflash,format=raw,id=ovmf_code,readonly=on,file=/usr/share/OVMF/OVMF_CODE_4M.fd"],
["-drive", "if=pflash,format=raw,id=ovmf_vars,file=/usr/share/OVMF/OVMF_VARS_4M.fd"],
["-drive", "file=seeds-cloudimg.iso,format=raw"],
["-drive", "file=output-stage0/packer-stage0,format=qcow2"]
]
Expand All @@ -86,7 +86,7 @@ build {

provisioner "shell-local" {
inline = [
"cp /usr/share/${lookup(local.uefi_imp, var.architecture, "")}/${lookup(local.uefi_imp, var.architecture, "")}_VARS.fd ${lookup(local.uefi_imp, var.architecture, "")}_VARS.fd",
"cp /usr/share/OVMF/OVMF_VARS_4M.fd OVMF_VARS_4M.fd",
"cloud-localds seeds-cloudimg.iso user-data meta-data"
]
inline_shebang = "/bin/bash -e"
Expand Down
Loading
Loading