Migrate CI from WAC to vanilla GitHub Actions#2
Closed
Conversation
- Add image.jobs.ts and deploy.jobs.ts for build/deploy job definitions - Add release.wac.ts and release-hotfix.wac.ts workflows - Extend constants.ts with AWS/ECR configuration - Extend helper.steps.ts with AWS credential and ECR login steps - Add check-image-version job to checks.jobs.ts - Update ci.wac.ts with build-image, generate-sbom, deploy-to-k8s jobs - Add Dockerfile for shared-services container image - Add .helm/ directory with Chart and values for dev/staging/production - Add .semver.yaml for version tracking - Add bs-cells.json for cell deployment configuration
Replace WAC (Workflow-as-Code) TypeScript workflow generation with vanilla GitHub Actions YAML. CI, release, and hotfix workflows now use reusable workflows from elastio/gh-actions for golang checks and k8s deployment. - Rewrite ci.yml, release.yml, release-hotfix.yml as plain YAML - Use elastio/gh-actions golang-checks.yml reusable workflow - Use elastio/gh-actions deploy-to-k8s.yml reusable workflow - Use elastio/gh-actions configure-env and cell-config composite actions - Remove all WAC infrastructure (ci/workflows/, package.json, tsconfig, etc) - Retain ci/deployment/bs-cells.json for cell configuration Closes #1
The elastio/gh-actions default branch is master, not main.
Contributor
Author
|
Reverting — need to resolve repo visibility issues first |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
elastio/gh-actionsfor golang checks and k8s deploymentci/workflows/,package.json,tsconfig.json, etc.) — 3,732 lines deleted, 173 addedChanges
Rewritten workflows (
ci.yml,release.yml,release-hotfix.yml):elastio/gh-actions/.github/workflows/golang-checks.yml@mainfor typos, fmt, lint, buildelastio/gh-actions/.github/workflows/deploy-to-k8s.yml@mainfor Helm deploymentselastio/gh-actions/actions/configure-env@mainandcell-config@maincomposite actionsbash --noprofile --norc -euo pipefail {0}TSAR_FERRIS_GITHUB_TOKENfrom deploy-to-k8s passthroughDeleted WAC infrastructure:
ci/workflows/(TypeScript sources and lib/)ci/package.json,ci/package-lock.json,ci/tsconfig.jsonci/wac.config.json,ci/eslint.config.mjsRetained:
ci/deployment/bs-cells.json(cell configuration)Companion PR
elastio/gh-actions@0cef47c— composite actions and reusable workflows already pushed to masterTest plan
ci.yml→golang-checks+check-image-versionpassbuild-image+deploy-to-k8strigger on push to masterrelease.yml/release-hotfix.ymlverify viaworkflow_dispatchCloses #1