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 c89d0d1  Add Subversion
c89d0d1 is described below

commit c89d0d1a0d2a4bb4fa1e71dd7263718453656149
Author: Jarek Potiuk <[email protected]>
AuthorDate: Wed Nov 23 17:13:22 2022 +0100

    Add Subversion
---
 .../packer/files/install-subversion.sh             | 22 ++++++++++++++++++++++
 github-runner-ami/packer/ubuntu2004.pkr.hcl        |  3 ++-
 2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/github-runner-ami/packer/files/install-subversion.sh 
b/github-runner-ami/packer/files/install-subversion.sh
new file mode 100644
index 0000000..bddcdb5
--- /dev/null
+++ b/github-runner-ami/packer/files/install-subversion.sh
@@ -0,0 +1,22 @@
+#!/bin/bash -e
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+set -uo pipefail
+
+apt install subversion
diff --git a/github-runner-ami/packer/ubuntu2004.pkr.hcl 
b/github-runner-ami/packer/ubuntu2004.pkr.hcl
index f92625a..4ef1ef0 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}-v14"
+  ami_name = "${var.ami_name}-${var.runner_version}-v15"
   ami_regions = var.aws_regions
   tag {
     key   = "Name"
@@ -145,6 +145,7 @@ build {
       "./files/install-dependencies.sh",
       "./files/install-nodejs.sh",
       "./files/install-github-cli.sh",
+      "./files/install-subversion.sh",
       "./files/docker-compose.sh",
       "./files/configure_kernel.sh",
       "./files/git.sh",

Reply via email to