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/10/06 22:34:42 UTC

[airflow-ci-infra] branch main updated: Give even more memory to docker filesystem

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

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


The following commit(s) were added to refs/heads/main by this push:
     new d9aa1b8  Give even more memory to docker filesystem
d9aa1b8 is described below

commit d9aa1b8e1fcf1a59ce67b7bbe9f613a001834c06
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Thu Oct 6 17:33:35 2022 -0500

    Give even more memory to docker filesystem
---
 github-runner-ami/packer/files/mounts_setup.sh | 3 +--
 github-runner-ami/packer/ubuntu2004.pkr.hcl    | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/github-runner-ami/packer/files/mounts_setup.sh b/github-runner-ami/packer/files/mounts_setup.sh
index b5acd5c..03f449b 100644
--- a/github-runner-ami/packer/files/mounts_setup.sh
+++ b/github-runner-ami/packer/files/mounts_setup.sh
@@ -15,6 +15,5 @@
 # specific language governing permissions and limitations
 # under the License.
 
-sudo mount -t tmpfs -o size=8% tmpfs /tmp
-sudo mount -t tmpfs -o size=75% tmpfs /var/lib/docker
+sudo mount -t tmpfs -o size=85% tmpfs /var/lib/docker
 sudo mount -t tmpfs -o tmpfs /home/runner/actions-runner/_work
diff --git a/github-runner-ami/packer/ubuntu2004.pkr.hcl b/github-runner-ami/packer/ubuntu2004.pkr.hcl
index 299cad6..e4a5adc 100644
--- a/github-runner-ami/packer/ubuntu2004.pkr.hcl
+++ b/github-runner-ami/packer/ubuntu2004.pkr.hcl
@@ -38,7 +38,7 @@ source "amazon-ebs" "runner_builder" {
   #access_key = ""
   #secret_key = ""
   region = var.aws_regions[0]
-  ami_name = "${var.ami_name}-${var.runner_version}-v11"
+  ami_name = "${var.ami_name}-${var.runner_version}-v12"
   ami_regions = var.aws_regions
   tag {
     key   = "Name"