8000 Import Jobs Containerization by 2Ryan09 · Pull Request #26 · slaclab/sdf-cli · GitHub
[go: up one dir, main page]

Skip to content

Import Jobs Containerization - #26

Merged
2Ryan09 merged 31 commits into
mainfrom
cli-containerization
Nov 3, 2026
Merged

2Ryan09 merged 31 commits into
mainfrom
cli-containerization

Conversation

@2Ryan09
@2Ryan09 2Ryan09 commented Sep 16, 2026
Copy link
Copy Markdown
Contributor

No description provided.

2Ryan09 and others added 24 commits August 18, 2026 13:15
Resolutions:
- modules/coact.py: overage keeps explicit --username/--password-file
  (graphql_options now means COACT_PASSWORD on this branch) and adopts
  main's OVERAGE_WINDOW_THRESHOLDS, dropping --windows/--threshold.
  Completes the truncated comment explaining why.
- tests/test_slurm_account_parsing.py: SlurmImporter takes password=.
- Makefile, import-jobs.sh: branch versions (main only removed comments).
- ansible-runner/project: main's sdf-ansible bump (32f410e).
- uv.lock: regenerated with uv lock.

Pin setuptools<81: removing cliff dropped setuptools from the lock, and
ansible-runner 2.3.1 imports pkg_resources, so every sdf_click.py
command failed at import (also affects main).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The deploy overlay, its README and the umbrella CLAUDE.md all point at
`make push` and `make update-sdf-ansible`, which this branch had dropped.
build now checks out the sdf-ansible submodule first so the image ships
the playbooks, and TAG is expanded once so build and push agree.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
setuptools<81 is pinned in pyproject.toml, so uv sync --frozen already
installs it; move the explanation next to the pin.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
uv:latest made builds non-reproducible; pin 0.12.12 by digest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The image COPYs ansible-runner/project, which was empty in CI. Needs the
SDF_ANSIBLE_DEPLOY_KEY secret (read-only deploy key on slaclab/sdf-ansible).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The main merge (0e0a47c) staged the stale working-tree checkout
(c48e7b1) instead of main's 32f410e.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@2Ryan09
2Ryan09 changed the base branch from slurm-prempt-assoc to main October 26, 2026 21:07
…m.conf

slurm.conf sets SlurmUser=slurm, and sacct aborts with "Invalid user for
SlurmUser" unless it resolves.  SDF hosts create it locally (uid 16924,
sdf-ansible install_slurm.yaml) rather than in LDAP.  The entrypoint's
`sacct -V` check was inside an argument, where set -e does not apply, so
a broken config logged an empty version and carried on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2Ryan09 added a commit that referenced this pull request Oct 26, 2026
GitHub only registers workflow_run/workflow_dispatch triggers from the
default branch, so the workflow on cli-containerization (sdf-cli#26) has
never been runnable. Landing it dispatch-only lets an image be built
from that branch with `gh workflow run Docker --ref cli-containerization`
before #26 merges. #26 adds the workflow_run trigger together with the
Dockerfile.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2Ryan09 and others added 2 commits October 26, 2026 15:09
Keeps this branch's docker_publish.yaml (with the workflow_run trigger)
over main's dispatch-only registration copy from #31.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…repos use

slaclab requires actions pinned to full commit SHAs; the tag refs failed
at "Set up job". Matches coact-api, coactui and user-lookup (checkout
v7.0.1, attest-build-provenance v4.1.1).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2Ryan09 and others added 4 commits October 26, 2026 15:28
Plain YYYYMMDD-HHMM stamp for every build, plus metadata-action's
schedule/branch/tag/pr refs, matching coact-api, coactui and
user-lookup instead of a <branch-slug>-<stamp> prefix.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@2Ryan09
2Ryan09 marked this pull request as ready for review November 3, 2026 17:46
@2Ryan09
2Ryan09 merged commit 2e246cc into main Nov 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0