Archive non-GCP workflows, rename GCP variants to drop -gcp suffix, replace Gitea-hosted aws-cli-action with aws-actions/configure-aws-credentials@v4.
29 lines
1.3 KiB
Markdown
29 lines
1.3 KiB
Markdown
# Tasks: Migrate Workflows to GitHub Actions
|
|
|
|
**Change**: 260406-vhk4-migrate-workflows-github-actions
|
|
**Spec**: `spec.md`
|
|
**Intake**: `intake.md`
|
|
|
|
## Phase 1: Archive Non-GCP Workflows
|
|
|
|
- [x] T001 Create `.github/workflows/archive/` directory and move `base-build-image.yml`, `dispatch-container-base.yml`, `push-container.yml`, `push-s3.yml` into it
|
|
|
|
## Phase 2: Rename GCP Workflows
|
|
|
|
- [x] T002 [P] Rename `.github/workflows/base-build-image-gcp.yml` → `.github/workflows/base-build-image.yml`
|
|
- [x] T003 [P] Rename `.github/workflows/dispatch-container-base-gcp.yml` → `.github/workflows/dispatch-container-base.yml`
|
|
- [x] T004 [P] Rename `.github/workflows/push-container-gcp.yml` → `.github/workflows/push-container.yml`
|
|
- [x] T005 [P] Rename `.github/workflows/push-s3-gcp.yml` → `.github/workflows/push-s3.yml`
|
|
|
|
## Phase 3: Fix S3 Upload Action
|
|
|
|
- [x] T006 In `.github/workflows/push-s3.yml`, replace the Gitea-hosted `aws-cli-action` step with `aws-actions/configure-aws-credentials@v4` + inline `aws s3 cp`, and uppercase all AWS secret/var names (`AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, `AWS_DEFAULT_REGION`, `AWS_UPLOAD_BUCKET`)
|
|
|
|
---
|
|
|
|
## Execution Order
|
|
|
|
- T001 must complete before T002-T005 (archive frees the base filenames)
|
|
- T002-T005 are independent and parallel
|
|
- T006 depends on T005 (operates on the renamed `push-s3.yml`)
|