Skip to content

Commit

Permalink
6.1.0.33_1
Browse files Browse the repository at this point in the history
  • Loading branch information
pvinh-spike committed May 1, 2024
1 parent ec283bd commit a1e4d10
Show file tree
Hide file tree
Showing 13 changed files with 56 additions and 71 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_debian12_amd64", "enterprise_debian12_arm64", "federal_debian12_amd64", "community_debian12_amd64", "community_debian12_arm64"]
targets=["enterprise_debian11_amd64", "federal_debian11_amd64", "community_debian11_amd64"]
}

target "enterprise_debian12_amd64" {
tags=["aerospike/aerospike-server-enterprise-amd64:7.0.0.7", "aerospike/aerospike-server-enterprise-amd64:latest"]
target "enterprise_debian11_amd64" {
tags=["aerospike/aerospike-server-enterprise-amd64:6.1.0.33", "aerospike/aerospike-server-enterprise-amd64:latest"]
platforms=["linux/amd64"]
context="./enterprise/debian12"
context="./enterprise/debian11"
}

target "enterprise_debian12_arm64" {
tags=["aerospike/aerospike-server-enterprise-arm64:7.0.0.7", "aerospike/aerospike-server-enterprise-arm64:latest"]
platforms=["linux/arm64"]
context="./enterprise/debian12"
}

target "federal_debian12_amd64" {
tags=["aerospike/aerospike-server-federal-amd64:7.0.0.7", "aerospike/aerospike-server-federal-amd64:latest"]
target "federal_debian11_amd64" {
tags=["aerospike/aerospike-server-federal-amd64:6.1.0.33", "aerospike/aerospike-server-federal-amd64:latest"]
platforms=["linux/amd64"]
context="./federal/debian12"
context="./federal/debian11"
}

target "community_debian12_amd64" {
tags=["aerospike/aerospike-server-community-amd64:7.0.0.7", "aerospike/aerospike-server-community-amd64:latest"]
target "community_debian11_amd64" {
tags=["aerospike/aerospike-server-community-amd64:6.1.0.33", "aerospike/aerospike-server-community-amd64:latest"]
platforms=["linux/amd64"]
context="./community/debian12"
}

target "community_debian12_arm64" {
tags=["aerospike/aerospike-server-community-arm64:7.0.0.7", "aerospike/aerospike-server-community-arm64:latest"]
platforms=["linux/arm64"]
context="./community/debian12"
context="./community/debian11"
}

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

group "push" {
targets=["enterprise_debian12", "federal_debian12", "community_debian12"]
targets=["enterprise_debian11", "federal_debian11", "community_debian11"]
}

target "enterprise_debian12" {
tags=["aerospike/aerospike-server-enterprise:7.0.0.7", "aerospike/aerospike-server-enterprise:7.0.0.7_2", "aerospike/aerospike-server-enterprise:latest"]
platforms=["linux/amd64,linux/arm64"]
context="./enterprise/debian12"
target "enterprise_debian11" {
tags=["aerospike/aerospike-server-enterprise:6.1.0.33", "aerospike/aerospike-server-enterprise:6.1.0.33_1"]
platforms=["linux/amd64"]
context="./enterprise/debian11"
}

target "federal_debian12" {
tags=["aerospike/aerospike-server-federal:7.0.0.7", "aerospike/aerospike-server-federal:7.0.0.7_2", "aerospike/aerospike-server-federal:latest"]
target "federal_debian11" {
tags=["aerospike/aerospike-server-federal:6.1.0.33", "aerospike/aerospike-server-federal:6.1.0.33_1"]
platforms=["linux/amd64"]
context="./federal/debian12"
context="./federal/debian11"
}

target "community_debian12" {
tags=["aerospike/aerospike-server:7.0.0.7", "aerospike/aerospike-server:7.0.0.7_2", "aerospike/aerospike-server:latest"]
platforms=["linux/amd64,linux/arm64"]
context="./community/debian12"
target "community_debian11" {
tags=["aerospike/aerospike-server:6.1.0.33", "aerospike/aerospike-server:6.1.0.33_1"]
platforms=["linux/amd64"]
context="./community/debian11"
}

14 changes: 7 additions & 7 deletions community/debian12/Dockerfile → community/debian11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
# http://github.com/aerospike/aerospike-server.docker
#

FROM debian:bookworm-slim
FROM debian:bullseye-slim

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/debian:bookworm-slim" \
org.opencontainers.image.base.name="docker.io/library/debian:bullseye-slim" \
org.opencontainers.image.source="https://github.com/aerospike/aerospike-server.docker" \
org.opencontainers.image.vendor="Aerospike" \
org.opencontainers.image.version="7.0.0.7" \
org.opencontainers.image.version="6.1.0.33" \
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.0.0.7/aerospike-server-community_7.0.0.7_tools-10.2.1_debian12_x86_64.tgz"
ARG AEROSPIKE_SHA_X86_64="0f79a4a5f760183baa83a1523e1db019de496e6babd90108e073534131634ab8"
ARG AEROSPIKE_AARCH64_LINK="https://artifacts.aerospike.com/aerospike-server-community/7.0.0.7/aerospike-server-community_7.0.0.7_tools-10.2.1_debian12_aarch64.tgz"
ARG AEROSPIKE_SHA_AARCH64="080514cb8a4faea670992968c0c11f44a12430868beb5a789cc6c7d1ba1baa8e"
ARG AEROSPIKE_X86_64_LINK="https://artifacts.aerospike.com/aerospike-server-community/6.1.0.33/aerospike-server-community-6.1.0.33-debian11.tgz"
ARG AEROSPIKE_SHA_X86_64="057508191f596eb27b282c8ea11d73ed3cd27598b228de229899c553b3d3143e"
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 @@ -55,14 +54,14 @@ 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
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 debian:bookworm-slim
FROM debian:bullseye-slim

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/debian:bookworm-slim" \
org.opencontainers.image.base.name="docker.io/library/debian:bullseye-slim" \
org.opencontainers.image.source="https://github.com/aerospike/aerospike-server.docker" \
org.opencontainers.image.vendor="Aerospike" \
org.opencontainers.image.version="7.0.0.7" \
org.opencontainers.image.version="6.1.0.33" \
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.0.0.7/aerospike-server-enterprise_7.0.0.7_tools-10.2.1_debian12_x86_64.tgz"
ARG AEROSPIKE_SHA_X86_64="b42bd0f7d4fe55a6542df24fcc8218956ee44b8775a9d7cb1f575f91539a2c93"
ARG AEROSPIKE_AARCH64_LINK="https://artifacts.aerospike.com/aerospike-server-enterprise/7.0.0.7/aerospike-server-enterprise_7.0.0.7_tools-10.2.1_debian12_aarch64.tgz"
ARG AEROSPIKE_SHA_AARCH64="e951547c2598665feb532a0a670c0a80157f7ebfde8c961dc08a50d10eb26fce"
ARG AEROSPIKE_X86_64_LINK="https://artifacts.aerospike.com/aerospike-server-enterprise/6.1.0.33/aerospike-server-enterprise-6.1.0.33-debian11.tgz"
ARG AEROSPIKE_SHA_X86_64="cca079d56cca066ad5a79a55ae8e6719ed20601580b14ba59745a226aa66f222"
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 @@ -55,14 +54,14 @@ 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
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.
10 changes: 5 additions & 5 deletions federal/debian12/Dockerfile → federal/debian11/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
# http://github.com/aerospike/aerospike-server.docker
#

FROM debian:bookworm-slim
FROM debian:bullseye-slim

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/debian:bookworm-slim" \
org.opencontainers.image.base.name="docker.io/library/debian:bullseye-slim" \
org.opencontainers.image.source="https://github.com/aerospike/aerospike-server.docker" \
org.opencontainers.image.vendor="Aerospike" \
org.opencontainers.image.version="7.0.0.7" \
org.opencontainers.image.version="6.1.0.33" \
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.0.0.7/aerospike-server-federal_7.0.0.7_tools-10.2.1_debian12_x86_64.tgz"
ARG AEROSPIKE_SHA_X86_64="c354ec60520c8efb785533329582929e265bcd1d356f51354b401c4ca4c642e5"
ARG AEROSPIKE_X86_64_LINK="https://artifacts.aerospike.com/aerospike-server-federal/6.1.0.33/aerospike-server-federal-6.1.0.33-debian11.tgz"
ARG AEROSPIKE_SHA_X86_64="a598fdb7982359d4bff3042c98d41b1ad3a1c75bc6fcb5376347c3652573cfda"
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 @@ -55,14 +54,14 @@ 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
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 a1e4d10

Please sign in to comment.