mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-10 03:23:00 +00:00
Use GitHub-hosted aarch64 runners (#2202)
* Use GitHub-hosted aarch64 runners * More updates * Fix * Pin build environment's Python version to 3.12 for consistency * Update date * Sleep to allow Docker daemon to start * Sleep to allow Docker daemon to start on aarch64 and before checkout * Fix typo * Fix * Unify runner.arch usage * Do not sleep as it doesn't help * Try to use ubuntu-22.04-arm * Update changelog date --------- Co-authored-by: Erik Sundell <erik.i.sundell@gmail.com>
This commit is contained in:
@@ -12,13 +12,13 @@ REPOSITORY_OWNER = os.environ["REPOSITORY_OWNER"]
|
||||
|
||||
def generate_matrix() -> dict[str, Any]:
|
||||
dockerfiles = sorted(file.name for file in THIS_DIR.glob("*.dockerfile"))
|
||||
runs_on = ["ubuntu-latest"]
|
||||
if REPOSITORY_OWNER == "jupyter":
|
||||
runs_on.append("ARM64")
|
||||
runs_on = ["ubuntu-latest", "ubuntu-22.04-arm"]
|
||||
return {
|
||||
"dockerfile": dockerfiles,
|
||||
"runs-on": runs_on,
|
||||
"exclude": [{"dockerfile": "oracledb.dockerfile", "runs-on": "ARM64"}],
|
||||
"exclude": [
|
||||
{"dockerfile": "oracledb.dockerfile", "runs-on": "ubuntu-22.04-arm"}
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user