Skip to content

Commit

Permalink
Review changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kportertx committed Nov 3, 2023
1 parent c3c102f commit e835d14
Show file tree
Hide file tree
Showing 15 changed files with 80 additions and 50 deletions.
14 changes: 8 additions & 6 deletions data/config/5.7/config.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
c_editions=("enterprise" "community")
# shellcheck shell=bash

c_distros=("debian10" "el8")
c_distro_default="debian10"
c_distro_bases=("debian:buster-slim" "redhat/ubi8-minimal")
export c_editions=("enterprise" "community")

c_archs=("x86_64")
c_platforms=("linux/amd64")
export c_distros=("debian10" "el8")
export c_distro_default="debian10"
export c_distro_bases=("debian:buster-slim" "redhat/ubi8-minimal")

export c_archs=("x86_64")
export c_platforms=("linux/amd64")
14 changes: 8 additions & 6 deletions data/config/6.0/config.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
c_editions=("enterprise" "federal" "community")
# shellcheck shell=bash

c_distros=("debian11" "el8")
c_distro_default="debian11"
c_distro_bases=("debian:bullseye-slim" "redhat/ubi8-minimal")
export c_editions=("enterprise" "federal" "community")

c_archs=("x86_64")
c_platforms=("linux/amd64")
export c_distros=("debian11" "el8")
export c_distro_default="debian11"
export c_distro_bases=("debian:bullseye-slim" "redhat/ubi8-minimal")

export c_archs=("x86_64")
export c_platforms=("linux/amd64")
14 changes: 8 additions & 6 deletions data/config/6.1/config.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
c_editions=("enterprise" "federal" "community")
# shellcheck shell=bash

c_distros=("debian11" "el8")
c_distro_default="debian11"
c_distro_bases=("debian:bullseye-slim" "redhat/ubi8-minimal")
export c_editions=("enterprise" "federal" "community")

c_archs=("x86_64")
c_platforms=("linux/amd64")
export c_distros=("debian11" "el8")
export c_distro_default="debian11"
export c_distro_bases=("debian:bullseye-slim" "redhat/ubi8-minimal")

export c_archs=("x86_64")
export c_platforms=("linux/amd64")
14 changes: 8 additions & 6 deletions data/config/6.2/config.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
c_editions=("enterprise" "federal" "community")
# shellcheck shell=bash

c_distros=("debian11" "el8")
c_distro_default="debian11"
c_distro_bases=("debian:bullseye-slim" "redhat/ubi8-minimal")
export c_editions=("enterprise" "federal" "community")

c_archs=("x86_64" "aarch64")
c_platforms=("linux/amd64" "linux/arm64")
export c_distros=("debian11" "el8")
export c_distro_default="debian11"
export c_distro_bases=("debian:bullseye-slim" "redhat/ubi8-minimal")

export c_archs=("x86_64" "aarch64")
export c_platforms=("linux/amd64" "linux/arm64")
6 changes: 4 additions & 2 deletions data/config/6.2/config_federal.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
c_archs=("x86_64")
c_platforms=("linux/amd64")
# shellcheck shell=bash

export c_archs=("x86_64")
export c_platforms=("linux/amd64")
14 changes: 8 additions & 6 deletions data/config/6.3/config.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
c_editions=("enterprise" "federal" "community")
# shellcheck shell=bash

c_distros=("debian11" "el9")
c_distro_default="debian11"
c_distro_bases=("debian:bullseye-slim" "redhat/ubi9-minimal")
export c_editions=("enterprise" "federal" "community")

c_archs=("x86_64" "aarch64")
c_platforms=("linux/amd64" "linux/arm64")
export c_distros=("debian11" "el9")
export c_distro_default="debian11"
export c_distro_bases=("debian:bullseye-slim" "redhat/ubi9-minimal")

export c_archs=("x86_64" "aarch64")
export c_platforms=("linux/amd64" "linux/arm64")
6 changes: 4 additions & 2 deletions data/config/6.3/config_federal.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
c_archs=("x86_64")
c_platforms=("linux/amd64")
# shellcheck shell=bash

export c_archs=("x86_64")
export c_platforms=("linux/amd64")
14 changes: 8 additions & 6 deletions data/config/6.4/config.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
c_editions=("enterprise" "federal" "community")
# shellcheck shell=bash

c_distros=("debian12" "el9")
c_distro_default="debian12"
c_distro_bases=("debian:bookworm-slim" "redhat/ubi9-minimal")
export c_editions=("enterprise" "federal" "community")

c_archs=("x86_64" "aarch64")
c_platforms=("linux/amd64" "linux/arm64")
export c_distros=("debian12" "el9")
export c_distro_default="debian12"
export c_distro_bases=("debian:bookworm-slim" "redhat/ubi9-minimal")

export c_archs=("x86_64" "aarch64")
export c_platforms=("linux/amd64" "linux/arm64")
6 changes: 4 additions & 2 deletions data/config/6.4/config_federal.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
c_archs=("x86_64")
c_platforms=("linux/amd64")
# shellcheck shell=bash

export c_archs=("x86_64")
export c_platforms=("linux/amd64")
2 changes: 2 additions & 0 deletions lib/fetch.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# shellcheck shell=bash

function fetch() {
local tag=$1
local link=$2
Expand Down
18 changes: 10 additions & 8 deletions lib/globals.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
g_images_dir="images"
g_target_dir="target"
g_data_dir="data"
g_data_template_dir="${g_data_dir}/template"
g_data_scripts_dir="${g_data_dir}/scripts"
g_data_res_dir="${g_data_dir}/res"
g_data_config_dir="${g_data_dir}/config"
g_all_editions=("enterprise" "federal" "community")
# shellcheck shell=bash

export g_images_dir="images"
export g_target_dir="target"
export g_data_dir="data"
export g_data_template_dir="${g_data_dir}/template"
export g_data_scripts_dir="${g_data_dir}/scripts"
export g_data_res_dir="${g_data_dir}/res"
export g_data_config_dir="${g_data_dir}/config"
export g_all_editions=("enterprise" "federal" "community")
2 changes: 2 additions & 0 deletions lib/log.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# shellcheck shell=bash

LOG_RED="\e[31m"
LOG_GREEN="\e[32m"

Expand Down
2 changes: 2 additions & 0 deletions lib/support.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# shellcheck shell=bash

source lib/globals.sh
source lib/log.sh
source lib/version.sh
Expand Down
2 changes: 2 additions & 0 deletions lib/verbose_call.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# shellcheck shell=bash

function verbose_call() {
set -x

Expand Down
2 changes: 2 additions & 0 deletions lib/version.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# shellcheck shell=bash

source lib/fetch.sh

ARTIFACTS_DOMAIN=${ARTIFACTS_DOMAIN:="https://artifacts.aerospike.com"}
Expand Down

0 comments on commit e835d14

Please sign in to comment.