Skip to content

chore: migrate CI from Zuul to GitHub Actions - #29

Merged
Aloento merged 1 commit into
mainfrom
chore/migrate-ci-to-gha
Sep 23, 2026
Merged

Aloento merged 1 commit into
mainfrom
chore/migrate-ci-to-gha

Conversation

@Aloento

@Aloento Aloento commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Replaces the Zuul check/gate with GitHub Actions.

Zuul's eco2 jobs have been failing before they reach any code:

  • rust-build / rust-test: the rust pre-run in zuul-infra@main references ensure-rust, which does not exist in that repository, so the pre-run aborts and the jobs end as RETRY_LIMIT.
  • cloudmon-metrics-processor-build-image: its nodeset zuul-debian-builder is unreachable (ssh: Could not resolve hostname builder), so the job ends as RESULT_UNREACHABLE.

eco2/check was the only required status check on main, so every pull request was blocked regardless of its content.

The eco2 jobs fail before reaching the code: the rust pre-run in zuul-infra references a missing ensure-rust role, and the builder node is unreachable. Build the image on pull requests and push change_<pr>_latest on merge instead, then drop zuul.yaml.
@Aloento Aloento self-assigned this Sep 23, 2026
@Aloento
Aloento added this pull request to stack #31 September 23, 2026 17:05
@Aloento
Aloento merged commit cac1a72 into main Sep 23, 2026
7 checks passed
@Aloento
Aloento deleted the chore/migrate-ci-to-gha branch September 23, 2026 17:05
Comment on lines +17 to +33
if: github.event.pull_request.merged != true
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v7

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build image
uses: docker/build-push-action@v7
with:
context: .
target: metrics-processor
push: false

push_if_merged:
Comment on lines +35 to +57
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v7

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Container Registry
uses: docker/login-action@v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}

- name: Build and push
uses: docker/build-push-action@v7
with:
context: .
target: metrics-processor
push: true
tags: ${{ env.IMAGE }}:change_${{ github.event.pull_request.number }}_latest
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