Skip to content

Commit

Permalink
6.1.0.42_2
Browse files Browse the repository at this point in the history
  • Loading branch information
pvinh-spike committed Oct 16, 2024
1 parent 7e404bb commit 7ee192c
Show file tree
Hide file tree
Showing 13 changed files with 62 additions and 80 deletions.
56 changes: 22 additions & 34 deletions bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -10,60 +10,48 @@
#------------------------------------ test -----------------------------------

group "test" {
targets=["enterprise_ubuntu24-04_amd64", "enterprise_ubuntu24-04_arm64", "federal_ubuntu24-04_amd64", "community_ubuntu24-04_amd64", "community_ubuntu24-04_arm64"]
targets=["enterprise_ubuntu20-04_amd64", "federal_ubuntu20-04_amd64", "community_ubuntu20-04_amd64"]
}

target "enterprise_ubuntu24-04_amd64" {
tags=["aerospike/aerospike-server-enterprise-amd64:7.2.0.1", "aerospike/aerospike-server-enterprise-amd64:latest"]
target "enterprise_ubuntu20-04_amd64" {
tags=["aerospike/aerospike-server-enterprise-amd64:6.1.0.42", "aerospike/aerospike-server-enterprise-amd64:latest"]
platforms=["linux/amd64"]
context="./enterprise/ubuntu24.04"
context="./enterprise/ubuntu20.04"
}

target "enterprise_ubuntu24-04_arm64" {
tags=["aerospike/aerospike-server-enterprise-arm64:7.2.0.1", "aerospike/aerospike-server-enterprise-arm64:latest"]
platforms=["linux/arm64"]
context="./enterprise/ubuntu24.04"
}

target "federal_ubuntu24-04_amd64" {
tags=["aerospike/aerospike-server-federal-amd64:7.2.0.1", "aerospike/aerospike-server-federal-amd64:latest"]
target "federal_ubuntu20-04_amd64" {
tags=["aerospike/aerospike-server-federal-amd64:6.1.0.42", "aerospike/aerospike-server-federal-amd64:latest"]
platforms=["linux/amd64"]
context="./federal/ubuntu24.04"
context="./federal/ubuntu20.04"
}

target "community_ubuntu24-04_amd64" {
tags=["aerospike/aerospike-server-community-amd64:7.2.0.1", "aerospike/aerospike-server-community-amd64:latest"]
target "community_ubuntu20-04_amd64" {
tags=["aerospike/aerospike-server-community-amd64:6.1.0.42", "aerospike/aerospike-server-community-amd64:latest"]
platforms=["linux/amd64"]
context="./community/ubuntu24.04"
}

target "community_ubuntu24-04_arm64" {
tags=["aerospike/aerospike-server-community-arm64:7.2.0.1", "aerospike/aerospike-server-community-arm64:latest"]
platforms=["linux/arm64"]
context="./community/ubuntu24.04"
context="./community/ubuntu20.04"
}

#------------------------------------ push -----------------------------------

group "push" {
targets=["enterprise_ubuntu24-04", "federal_ubuntu24-04", "community_ubuntu24-04"]
targets=["enterprise_ubuntu20-04", "federal_ubuntu20-04", "community_ubuntu20-04"]
}

target "enterprise_ubuntu24-04" {
tags=["aerospike/aerospike-server-enterprise:7.2.0.1", "aerospike/aerospike-server-enterprise:7.2.0.1_2", "aerospike/aerospike-server-enterprise:latest"]
platforms=["linux/amd64,linux/arm64"]
context="./enterprise/ubuntu24.04"
target "enterprise_ubuntu20-04" {
tags=["aerospike/aerospike-server-enterprise:6.1.0.42", "aerospike/aerospike-server-enterprise:6.1.0.42_2"]
platforms=["linux/amd64"]
context="./enterprise/ubuntu20.04"
}

target "federal_ubuntu24-04" {
tags=["aerospike/aerospike-server-federal:7.2.0.1", "aerospike/aerospike-server-federal:7.2.0.1_2", "aerospike/aerospike-server-federal:latest"]
target "federal_ubuntu20-04" {
tags=["aerospike/aerospike-server-federal:6.1.0.42", "aerospike/aerospike-server-federal:6.1.0.42_2"]
platforms=["linux/amd64"]
context="./federal/ubuntu24.04"
context="./federal/ubuntu20.04"
}

target "community_ubuntu24-04" {
tags=["aerospike/aerospike-server:7.2.0.1", "aerospike/aerospike-server:7.2.0.1_2", "aerospike/aerospike-server:latest"]
platforms=["linux/amd64,linux/arm64"]
context="./community/ubuntu24.04"
target "community_ubuntu20-04" {
tags=["aerospike/aerospike-server:6.1.0.42", "aerospike/aerospike-server:6.1.0.42_2"]
platforms=["linux/amd64"]
context="./community/ubuntu20.04"
}

Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
# http://github.com/aerospike/aerospike-server.docker
#

FROM ubuntu:24.04
FROM ubuntu:20.04

LABEL org.opencontainers.image.title="Aerospike Community Server" \
org.opencontainers.image.description="Aerospike is a real-time database with predictable performance at petabyte scale with microsecond latency over billions of transactions." \
org.opencontainers.image.documentation="https://hub.docker.com/_/aerospike" \
org.opencontainers.image.base.name="docker.io/library/ubuntu:24.04" \
org.opencontainers.image.base.name="docker.io/library/ubuntu:20.04" \
org.opencontainers.image.source="https://github.com/aerospike/aerospike-server.docker" \
org.opencontainers.image.vendor="Aerospike" \
org.opencontainers.image.version="7.2.0.1" \
org.opencontainers.image.version="6.1.0.42" \
org.opencontainers.image.url="https://github.com/aerospike/aerospike-server.docker"

# AEROSPIKE_EDITION - required - must be "community", "enterprise", or
Expand All @@ -23,10 +23,10 @@ LABEL org.opencontainers.image.title="Aerospike Community Server" \
# By selecting "federal" you agree to the "FEDERAL_LICENSE"
ARG AEROSPIKE_EDITION="community"

ARG AEROSPIKE_X86_64_LINK="https://artifacts.aerospike.com/aerospike-server-community/7.2.0.1/aerospike-server-community_7.2.0.1_tools-11.1.0_ubuntu24.04_x86_64.tgz"
ARG AEROSPIKE_SHA_X86_64="48b7151ba4d3665e1265f4c3bfa0ac84d62f5085e1e1ac30c6da1e06232e6c21"
ARG AEROSPIKE_AARCH64_LINK="https://artifacts.aerospike.com/aerospike-server-community/7.2.0.1/aerospike-server-community_7.2.0.1_tools-11.1.0_ubuntu24.04_aarch64.tgz"
ARG AEROSPIKE_SHA_AARCH64="c8af8a0530d1988dd92ccf3c6a70daf2c77dded66949ad491978848a52d9d8e4"
ARG AEROSPIKE_X86_64_LINK="https://artifacts.aerospike.com/aerospike-server-community/6.1.0.42/aerospike-server-community-6.1.0.42-ubuntu20.04.tgz"
ARG AEROSPIKE_SHA_X86_64="4d8059e789d4e8730463b0b1de759b20401d60574a16a25197051550516e2ddf"
ARG AEROSPIKE_AARCH64_LINK=""
ARG AEROSPIKE_SHA_AARCH64=""

SHELL ["/bin/bash", "-Eeuo", "pipefail", "-c"]

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
# This stanza must come first.
service {
$([ -n "${FEATURE_KEY_FILE}" ] && echo "feature-key-file ${FEATURE_KEY_FILE}")
cluster-name docker
}

logging {
Expand Down Expand Up @@ -54,16 +53,15 @@ network {
}

namespace ${NAMESPACE} {
default-ttl ${DEFAULT_TTL} # use 0 to never expire/evict.
memory-size ${MEM_GB}G
nsup-period ${NSUP_PERIOD}
replication-factor 1
$( (("${DEFAULT_TTL}" != 0 )) && echo "default-ttl ${DEFAULT_TTL}")
$( (("${DEFAULT_TTL}" != 0 )) && echo "nsup-period ${NSUP_PERIOD}")

storage-engine $([ "${DATA_IN_MEMORY}" = "true" ] && echo "memory" || echo "device") {
# For 'storage-engine memory' with 'device' or 'file' backing, we
# recommend having multiple devices (eight is recommended). One is used
# here for backward compatibility.
storage-engine device {
data-in-memory ${DATA_IN_MEMORY} # if true, in-memory, persisted to the filesystem
file /opt/aerospike/data/${NAMESPACE}.dat
filesize ${STORAGE_GB}G
$(([ -z "${DATA_IN_MEMORY}" ] || [ "${DATA_IN_MEMORY}" = "false" ]) && echo "read-page-cache ${READ_PAGE_CACHE}")
read-page-cache ${READ_PAGE_CACHE}
}
}

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
# http://github.com/aerospike/aerospike-server.docker
#

FROM ubuntu:24.04
FROM ubuntu:20.04

LABEL org.opencontainers.image.title="Aerospike Enterprise Server" \
org.opencontainers.image.description="Aerospike is a real-time database with predictable performance at petabyte scale with microsecond latency over billions of transactions." \
org.opencontainers.image.documentation="https://hub.docker.com/_/aerospike" \
org.opencontainers.image.base.name="docker.io/library/ubuntu:24.04" \
org.opencontainers.image.base.name="docker.io/library/ubuntu:20.04" \
org.opencontainers.image.source="https://github.com/aerospike/aerospike-server.docker" \
org.opencontainers.image.vendor="Aerospike" \
org.opencontainers.image.version="7.2.0.1" \
org.opencontainers.image.version="6.1.0.42" \
org.opencontainers.image.url="https://github.com/aerospike/aerospike-server.docker"

# AEROSPIKE_EDITION - required - must be "community", "enterprise", or
Expand All @@ -23,10 +23,10 @@ LABEL org.opencontainers.image.title="Aerospike Enterprise Server" \
# By selecting "federal" you agree to the "FEDERAL_LICENSE"
ARG AEROSPIKE_EDITION="enterprise"

ARG AEROSPIKE_X86_64_LINK="https://artifacts.aerospike.com/aerospike-server-enterprise/7.2.0.1/aerospike-server-enterprise_7.2.0.1_tools-11.1.0_ubuntu24.04_x86_64.tgz"
ARG AEROSPIKE_SHA_X86_64="37b509968d8bb381c39ad308249c4f8be5d8672db3c8b55cad4894d4afb4302a"
ARG AEROSPIKE_AARCH64_LINK="https://artifacts.aerospike.com/aerospike-server-enterprise/7.2.0.1/aerospike-server-enterprise_7.2.0.1_tools-11.1.0_ubuntu24.04_aarch64.tgz"
ARG AEROSPIKE_SHA_AARCH64="90a93dd277c7607a349d23e88c1576304bae459dd73291455370da77bf9d73bb"
ARG AEROSPIKE_X86_64_LINK="https://artifacts.aerospike.com/aerospike-server-enterprise/6.1.0.42/aerospike-server-enterprise-6.1.0.42-ubuntu20.04.tgz"
ARG AEROSPIKE_SHA_X86_64="5d098af89074b2abc3d6515838344412a90a268423952cb54482d282e69a5bff"
ARG AEROSPIKE_AARCH64_LINK=""
ARG AEROSPIKE_SHA_AARCH64=""

SHELL ["/bin/bash", "-Eeuo", "pipefail", "-c"]

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
# This stanza must come first.
service {
$([ -n "${FEATURE_KEY_FILE}" ] && echo "feature-key-file ${FEATURE_KEY_FILE}")
cluster-name docker
}

logging {
Expand Down Expand Up @@ -54,16 +53,15 @@ network {
}

namespace ${NAMESPACE} {
default-ttl ${DEFAULT_TTL} # use 0 to never expire/evict.
memory-size ${MEM_GB}G
nsup-period ${NSUP_PERIOD}
replication-factor 1
$( (("${DEFAULT_TTL}" != 0 )) && echo "default-ttl ${DEFAULT_TTL}")
$( (("${DEFAULT_TTL}" != 0 )) && echo "nsup-period ${NSUP_PERIOD}")

storage-engine $([ "${DATA_IN_MEMORY}" = "true" ] && echo "memory" || echo "device") {
# For 'storage-engine memory' with 'device' or 'file' backing, we
# recommend having multiple devices (eight is recommended). One is used
# here for backward compatibility.
storage-engine device {
data-in-memory ${DATA_IN_MEMORY} # if true, in-memory, persisted to the filesystem
file /opt/aerospike/data/${NAMESPACE}.dat
filesize ${STORAGE_GB}G
$(([ -z "${DATA_IN_MEMORY}" ] || [ "${DATA_IN_MEMORY}" = "false" ]) && echo "read-page-cache ${READ_PAGE_CACHE}")
read-page-cache ${READ_PAGE_CACHE}
}
}

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
# http://github.com/aerospike/aerospike-server.docker
#

FROM ubuntu:24.04
FROM ubuntu:20.04

LABEL org.opencontainers.image.title="Aerospike Federal Server" \
org.opencontainers.image.description="Aerospike is a real-time database with predictable performance at petabyte scale with microsecond latency over billions of transactions." \
org.opencontainers.image.documentation="https://hub.docker.com/_/aerospike" \
org.opencontainers.image.base.name="docker.io/library/ubuntu:24.04" \
org.opencontainers.image.base.name="docker.io/library/ubuntu:20.04" \
org.opencontainers.image.source="https://github.com/aerospike/aerospike-server.docker" \
org.opencontainers.image.vendor="Aerospike" \
org.opencontainers.image.version="7.2.0.1" \
org.opencontainers.image.version="6.1.0.42" \
org.opencontainers.image.url="https://github.com/aerospike/aerospike-server.docker"

# AEROSPIKE_EDITION - required - must be "community", "enterprise", or
Expand All @@ -23,8 +23,8 @@ LABEL org.opencontainers.image.title="Aerospike Federal Server" \
# By selecting "federal" you agree to the "FEDERAL_LICENSE"
ARG AEROSPIKE_EDITION="federal"

ARG AEROSPIKE_X86_64_LINK="https://artifacts.aerospike.com/aerospike-server-federal/7.2.0.1/aerospike-server-federal_7.2.0.1_tools-11.1.0_ubuntu24.04_x86_64.tgz"
ARG AEROSPIKE_SHA_X86_64="4e32c6b22084686d6bdcd43b4ccbc52e38d05fc0aaddabebbd394d0af9abe776"
ARG AEROSPIKE_X86_64_LINK="https://artifacts.aerospike.com/aerospike-server-federal/6.1.0.42/aerospike-server-federal-6.1.0.42-ubuntu20.04.tgz"
ARG AEROSPIKE_SHA_X86_64="41e60dd3c9bd28f4d5f0f87a702e76ed89b80dc509882355b0fa271e882913d2"
ARG AEROSPIKE_AARCH64_LINK=""
ARG AEROSPIKE_SHA_AARCH64=""

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
# This stanza must come first.
service {
$([ -n "${FEATURE_KEY_FILE}" ] && echo "feature-key-file ${FEATURE_KEY_FILE}")
cluster-name docker
}

logging {
Expand Down Expand Up @@ -54,16 +53,15 @@ network {
}

namespace ${NAMESPACE} {
default-ttl ${DEFAULT_TTL} # use 0 to never expire/evict.
memory-size ${MEM_GB}G
nsup-period ${NSUP_PERIOD}
replication-factor 1
$( (("${DEFAULT_TTL}" != 0 )) && echo "default-ttl ${DEFAULT_TTL}")
$( (("${DEFAULT_TTL}" != 0 )) && echo "nsup-period ${NSUP_PERIOD}")

storage-engine $([ "${DATA_IN_MEMORY}" = "true" ] && echo "memory" || echo "device") {
# For 'storage-engine memory' with 'device' or 'file' backing, we
# recommend having multiple devices (eight is recommended). One is used
# here for backward compatibility.
storage-engine device {
data-in-memory ${DATA_IN_MEMORY} # if true, in-memory, persisted to the filesystem
file /opt/aerospike/data/${NAMESPACE}.dat
filesize ${STORAGE_GB}G
$(([ -z "${DATA_IN_MEMORY}" ] || [ "${DATA_IN_MEMORY}" = "false" ]) && echo "read-page-cache ${READ_PAGE_CACHE}")
read-page-cache ${READ_PAGE_CACHE}
}
}

File renamed without changes.

0 comments on commit 7ee192c

Please sign in to comment.