From 7f60aeefeff7cc15113181b293224b7b7bd5d397 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Fri, 9 Oct 2026 10:19:45 -0300 Subject: [PATCH] Point deploy workflow at laborious-legacy-worker release - Deploy the repo as its own opt-in release, laborious-legacy-worker, a single Deployment with RUNTIME=legacy, instead of the legacy runtime of laborious-worker. New code now lives in sientia-dataops-laborious. - Set project_name to laborious-legacy so the Gitea mirror target resolves to gitea_admin/sientia-dataops-laborious-legacy. - Bump GITHUB_BRANCH in the chart base .env and the gcp profile .env rather than the old .runtimes.legacy.env path. - Rename the Sonar project to sientia-dataops-laborious-legacy. --- .github/workflows/deploy.yml | 19 +++++++++++-------- sonar-project.properties | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a0451c9..bd50c4b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,15 +18,18 @@ jobs: uses: Aignosi/github_workflow_templates/.github/workflows/reusable-deploy-dataops.yml@main with: branch_name: ${{ github.event.pull_request.head.ref }} - project_name: 'laborious' - chart_name: 'laborious-worker' - # Only the "legacy" runtime, for now (card 13 correction) — laborious-worker has two - # Deployments (basic, legacy). basic's GITHUB_BRANCH lives in the chart base (.global.env) - # and is deliberately left untouched here. legacy's own override exists ONLY at the profile - # level — profiles/gcp.yaml's laborious-worker.runtimes.legacy.env, not the chart base at - # all — hence profile/profile_env_list_path below instead of env_list_path. + project_name: 'laborious-legacy' + # This repo deploys its own opt-in release, laborious-legacy-worker: a single Deployment + # (no runtimes map, like scouter-worker/orchestrator-worker) with RUNTIME=legacy as the + # queue suffix. The new code lives in sientia-dataops-laborious (release laborious-worker). + # The Gitea mirror target is derived from this repo's name: + # gitea_admin/sientia-dataops-laborious-legacy. GITHUB_BRANCH is bumped in the chart base + # .env (release is opt-in; air-gapped profiles pin their own version) and in the gcp + # profile's laborious-legacy-worker.env. + chart_name: 'laborious-legacy-worker' + env_list_path: '[".env"]' profile: 'gcp' - profile_env_list_path: '[".runtimes.legacy.env"]' + profile_env_list_path: '[".env"]' update_version_in: '["pyproject"]' create_tarball: ${{ github.event_name == 'pull_request' }} mirror: true diff --git a/sonar-project.properties b/sonar-project.properties index cb92fd5..148077d 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,5 +1,5 @@ sonar.projectKey=Aignosi_sientia-dataops-laborious_temporal_ca1a7039-6db9-49e5-be78-54d29bc93e4f -sonar.projectName=sientia-dataops-laborious_temporal +sonar.projectName=sientia-dataops-laborious-legacy sonar.sources=laborious sonar.tests=tests sonar.projectVersion=1.0.0