You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/03/09 16:33:07 UTC

[airflow-ci-infra] branch add-qemu created (now 6509d26)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a change to branch add-qemu
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git.


      at 6509d26  Add qemu installation

This branch includes the following new commits:

     new 6509d26  Add qemu installation

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[airflow-ci-infra] 01/01: Add qemu installation

Posted by po...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch add-qemu
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git

commit 6509d2612fb9bd56f1e525877fae129f91bad579
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Wed Mar 9 17:31:59 2022 +0100

    Add qemu installation
---
 github-runner-ami/packer/files/docker-buildx.sh     | 2 ++
 github-runner-ami/packer/vars/variables.pkrvars.hcl | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/github-runner-ami/packer/files/docker-buildx.sh b/github-runner-ami/packer/files/docker-buildx.sh
index d90b1b5..8563513 100644
--- a/github-runner-ami/packer/files/docker-buildx.sh
+++ b/github-runner-ami/packer/files/docker-buildx.sh
@@ -33,3 +33,5 @@ sudo -u runner chmod a+x "${plugins_dir}/docker-buildx"
 # make sure multi-platform support is added for self-hosted runners
 # See; https://docs.docker.com/buildx/working-with-buildx/#build-multi-platform-images
 sudo docker run --privileged --rm tonistiigi/binfmt --install all
+
+sudo apt-get install qemu qemu-user-static
diff --git a/github-runner-ami/packer/vars/variables.pkrvars.hcl b/github-runner-ami/packer/vars/variables.pkrvars.hcl
index 789ffc5..b3ba542 100644
--- a/github-runner-ami/packer/vars/variables.pkrvars.hcl
+++ b/github-runner-ami/packer/vars/variables.pkrvars.hcl
@@ -16,7 +16,7 @@
 # under the License.
 
 vpc_id = "vpc-d73487bd"
-ami_name = "airflow-runner-ami-m"
+ami_name = "airflow-runner-ami-m2"
 aws_regions = ["eu-central-1", "us-east-2"]
 packer_role_arn = "arn:aws:iam::827901512104:role/packer-role"
 runner_version = "2.288.1-airflow1"