-
Notifications
You must be signed in to change notification settings - Fork 204
CI: Begin migration from Azure DevOps to GitHub actions #1128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b21cf3f to
d47b548
Compare
|
I've pushed the MItogen Details#!/usr/bin/env bash
set -o errexit -o nounset -o pipefail
podman push public.ecr.aws/n5z0e8q9/centos6-test ghcr.io/mitogen-hq/centos6-test
podman push public.ecr.aws/n5z0e8q9/centos7-test ghcr.io/mitogen-hq/centos7-test
podman push public.ecr.aws/n5z0e8q9/centos8-test ghcr.io/mitogen-hq/centos8-test
podman push public.ecr.aws/n5z0e8q9/debian10-test ghcr.io/mitogen-hq/debian10-test
podman push public.ecr.aws/n5z0e8q9/debian11-test ghcr.io/mitogen-hq/debian11-test
podman push public.ecr.aws/n5z0e8q9/debian9-test ghcr.io/mitogen-hq/debian9-test
podman push public.ecr.aws/n5z0e8q9/ubuntu1604-test ghcr.io/mitogen-hq/ubuntu1604-test
podman push public.ecr.aws/n5z0e8q9/ubuntu1804-test ghcr.io/mitogen-hq/ubuntu1804-test
podman push public.ecr.aws/n5z0e8q9/ubuntu2004-test ghcr.io/mitogen-hq/ubuntu2004-test |
d47b548 to
47a0309
Compare
|
Made the container images public |
|
GitHub Actions jobs still suffer intermediate failures (#1058), but at a much lower rate: 1 case in https://github.com/mitogen-hq/mitogen/actions/runs/11043748197, vs 5+ in https://dev.azure.com/mitogen-hq/mitogen/_build/results?buildId=1024&view=results. |
This aims to - Reduce duplication - Seperate CI specific setup from test setup - Prepare for migration from Azure DevOps to GitHub Actions
Preperation for migrating from Azure DevOps with Amazon Elastic Container Registry (AWS ECR), to GitHub Actions with GitHub Container Registry (GHCR). DebOps tests are not currently being run, the updates to .ci/debops*.py are best effort only.
CI containers lack the necessary `setfacl` command. This has not previously been noticed because no vanilla Ansible jobs were being run on Linux, only on macOS. refs mitogen-hq#1118
This replaces the use of `os.path.realpath()` which gave incorrect results on macOS - depending on the exact Python build, Python version, macOS version, installation method, and phase of the moon. realpath information kept around to aid debugging.
This replicate the existing Azure DevOps workflow, and adds a couple of new jobs (Python 2.7 on macOS, Python + vanilla Ansible on Linux). The GitHub Actions use container images hosted on GitHub Container Registry (GHCR, ghcr.io/mitogen-hq). These images have been copied straight from the existing Amazon Elastic Cloud Registry (AWS ECR, public.ecr.aws/n5z0e8q9). A short period of parallel running is planned. Then a second PR will remove the Azure DevOps workflow.
|
Green across both the boards 😁 |
47a0309 to
4f60d01
Compare
Previously (and implicitly) used "latest". The tag 2021 is new today, the image contents have not changed since they were generated in 2021. They have moved container registry twice since 2021 - mitogen-hq#791 Docker -> Amazon Elastic Container Registry (public.ecr.aws/n5z0e8q) - mitogen-hq#1128 Amazon ECR -> GitHub Container Registry (ghcr.io/mitogen-hq) This commit also removes the last references to ECR.
Previously (and implicitly) used "latest". The tag 2021 is new today, the image contents have not changed since they were generated in 2021. They have moved container registry twice since 2021 - mitogen-hq#791 Docker -> Amazon Elastic Container Registry (public.ecr.aws/n5z0e8q) - mitogen-hq#1128 Amazon ECR -> GitHub Container Registry (ghcr.io/mitogen-hq) This commit also removes the last references to ECR.
This replicate the existing Azure DevOps workflow, and adds a couple of new jobs (Python 2.7 on macOS, Python + vanilla Ansible on Linux).
The GitHub Actions use container images hosted on GitHub Container Registry (GHCR, ghcr.io/mitogen-hq). These images have been copied straight from the existing Amazon Elastic Cloud Registry (AWS ECR, public.ecr.aws/n5z0e8q9).
A short period of parallel running is planned. Then a second PR will remove the Azure DevOps workflow.