Remove amazonlinux SORRY

This commit is contained in:
Jamil Bou Kheir
2021-07-23 18:46:32 -07:00
parent ea69cd15e5
commit bb2aeb5e2d
9 changed files with 2 additions and 42 deletions

View File

@@ -2,9 +2,6 @@
set -xe
case $MATRIX_IMAGE in
amazonlinux*)
format="rpm"
;;
centos*)
format="rpm"
;;

View File

@@ -5,9 +5,6 @@ base_image="ghcr.io/firezone/${MATRIX_IMAGE}"
tag="ghcr.io/firezone/release-${MATRIX_IMAGE/:/_}:${GITHUB_SHA}"
case $MATRIX_IMAGE in
amazonlinux*)
format="rpm"
;;
centos*)
format="rpm"
;;

View File

@@ -1,5 +1,4 @@
# Caches vagrant boxes for github actions. Modifications to this file will evict the cache to redownload boxes.
bento/amazonlinux-2
generic/centos7
generic/centos8
generic/debian10

View File

@@ -12,7 +12,6 @@ jobs:
strategy:
matrix:
image:
- amazonlinux:2
- centos:7
- centos:8
- fedora:33

View File

@@ -79,7 +79,6 @@ jobs:
platform:
- linux/amd64
image:
- amazonlinux:2
- centos:7
- centos:8
- debian:10
@@ -112,7 +111,6 @@ jobs:
strategy:
matrix:
os:
- amazonlinux_2
- centos_7
- centos_8
- debian_10
@@ -142,7 +140,6 @@ jobs:
strategy:
matrix:
os:
- amazonlinux_2
- debian_10
- ubuntu_18.04
- ubuntu_20.04

8
Vagrantfile vendored
View File

@@ -5,14 +5,6 @@
# Github Actions supports vagrant on the macos host.
Vagrant.configure('2') do |config|
config.vm.define "amazonlinux_2" do |amazonlinux2|
amazonlinux2.vm.box = "bento/amazonlinux-2"
amazonlinux2.vm.network "forwarded_port", guest: 8800, host: 8800
source_file = Dir["firezone*amazonlinux_2*.rpm"].first
amazonlinux2.vm.provision "file", source: source_file, destination: "/tmp/"
amazonlinux2.vm.provision "shell", path: "scripts/provision/amazonlinux_2.sh"
end
config.vm.define "centos_7" do |centos7|
centos7.vm.box = "generic/centos7"
centos7.vm.network "forwarded_port", guest: 8800, host: 8800

View File

@@ -14,8 +14,7 @@ elif [ `uname -m` = "arm64" ]; then
docker buildx create --use
fi
declare -a matrix_images=("amazonlinux:2"
"centos:7"
declare -a matrix_images=("centos:7"
"centos:8"
"fedora:33"
"fedora:34"

View File

@@ -14,8 +14,7 @@ elif [ `uname -m` = "arm64" ]; then
docker buildx create --use
fi
declare -a matrix_images=("amazonlinux:2"
"centos:7"
declare -a matrix_images=("centos:7"
"centos:8"
"fedora:33"
"fedora:34"

View File

@@ -1,19 +0,0 @@
#!/bin/bash
set -xe
# Install prerequisites
# yum install -y \
# openssl \
# net-tools \
# postgresql-server \
# systemd \
# iptables
# postgresql-setup initdb
# systemctl restart postgresql
#
# # Install WireGuard
# curl -L -o /etc/yum.repos.d/wireguard.repo https://copr.fedorainfracloud.org/coprs/jdoss/wireguard/repo/epel-7/jdoss-wireguard-epel-7.repo
# yum install -y wireguard-dkms wireguard-tools
#
# rpm -ivh /tmp/firezone*.rpm
# service firezone start