chore: convert to standard htpasswd 4-workflow pattern #10

Merged
jcabillot merged 8 commits from fix/workflow-standard into master 2026-06-13 19:48:34 -04:00
Owner

Summary

Convert web/dl CI workflows to the standard htpasswd 4-workflow pattern, matching the proven structure used across perso/htpasswd, perso/ansible-lint, perso/awscli, perso/cipherscan, etc.

Changes (4 files)

.gitea/workflows/pr.yaml — PR Checks

  • hadolint: Lint Dockerfile with hadolint
  • build-test: Build image and run tests/test.sh

.gitea/workflows/main.yaml — Main Release (push to master)

  • hadolinttestbuild (image: jcabillot/dl:<sha>) → tag (auto git tag bump, RELEASE_BRANCHES: master)
  • Git auth targets scm.cabillot.eu/web/dl.git

.gitea/workflows/cron.yaml — Nightly Rebuild

  • hadolinttestbuild-push (push to Docker Hub)
  • Keeps original schedule 0 0 * * * and tags: nightly, sha
  • Image: jcabillot/dl (from original metadata)

.gitea/workflows/tag.yaml — Tag Release (push tag)

  • hadolinttestbuild-push (push to Docker Hub)
  • Tags: ref/event=tag, ref/event=tag,suffix=-latest
  • Image: jcabillot/dl

Key details

  • Action SHAs pinned to verified versions from htpasswd reference
  • Secrets: DOCKERHUB_USERNAME, DOCKERHUB_TOKEN, SA_TOKEN_ACTION_PUSH_TAGS
  • DO NOT merge — review first
## Summary Convert `web/dl` CI workflows to the standard **htpasswd 4-workflow pattern**, matching the proven structure used across `perso/htpasswd`, `perso/ansible-lint`, `perso/awscli`, `perso/cipherscan`, etc. ## Changes (4 files) ### `.gitea/workflows/pr.yaml` — PR Checks - **hadolint**: Lint Dockerfile with hadolint - **build-test**: Build image and run `tests/test.sh` ### `.gitea/workflows/main.yaml` — Main Release (push to master) - **hadolint** → **test** → **build** (image: `jcabillot/dl:<sha>`) → **tag** (auto git tag bump, `RELEASE_BRANCHES: master`) - Git auth targets `scm.cabillot.eu/web/dl.git` ### `.gitea/workflows/cron.yaml` — Nightly Rebuild - **hadolint** → **test** → **build-push** (push to Docker Hub) - Keeps original schedule `0 0 * * *` and tags: `nightly`, `sha` - Image: `jcabillot/dl` (from original metadata) ### `.gitea/workflows/tag.yaml` — Tag Release (push tag) - **hadolint** → **test** → **build-push** (push to Docker Hub) - Tags: `ref/event=tag`, `ref/event=tag,suffix=-latest` - Image: `jcabillot/dl` ## Key details - Action SHAs pinned to verified versions from htpasswd reference - Secrets: `DOCKERHUB_USERNAME`, `DOCKERHUB_TOKEN`, `SA_TOKEN_ACTION_PUSH_TAGS` - **DO NOT merge** — review first
cloudix_mcp_server added 4 commits 2026-06-13 17:47:52 -04:00
Standardise cron workflow: hadolint → test → build-push.
Keep original nightly schedule (0 0 * * *) and nightly+sha tag metadata.
Standardise main workflow: hadolint → test → build → tag.
Image from original metadata (jcabillot/dl). Git URL: scm.cabillot.eu/web/dl.git.
Standardise PR workflow: hadolint → build-test.
chore: convert tag to htpasswd 4-workflow pattern
PR Checks / hadolint (pull_request) Failing after 4s
PR Checks / build-test (pull_request) Failing after 22s
4ceb61ea3f
Standardise tag workflow: hadolint → test → build-push.
Image from original metadata (jcabillot/dl). Tags: ref/event=tag, tag-latest.
cloudix_mcp_server added 1 commit 2026-06-13 19:20:23 -04:00
fix: correct all SHAs in cron.yaml
PR Checks / hadolint (pull_request) Failing after 2s
PR Checks / build-test (pull_request) Failing after 26s
6a29224322
cloudix_mcp_server added 1 commit 2026-06-13 19:20:26 -04:00
fix: correct SHAs in main.yaml
PR Checks / hadolint (pull_request) Failing after 3s
PR Checks / build-test (pull_request) Failing after 2s
68da2ceec7
cloudix_mcp_server added 1 commit 2026-06-13 19:20:29 -04:00
cloudix_mcp_server added 1 commit 2026-06-13 19:20:32 -04:00
fix: correct all SHAs in tag.yaml
PR Checks / build-test (pull_request) Successful in 1m11s
PR Checks / hadolint (pull_request) Successful in 8s
69623f8353
jcabillot merged commit 613924e099 into master 2026-06-13 19:48:34 -04:00
jcabillot deleted branch fix/workflow-standard 2026-06-13 19:48:38 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: web/dl#10