Skip to content

Commit

Permalink
Release v2.10.23-RC.1 (#193)
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Twigg <[email protected]>
  • Loading branch information
neilalexander authored Oct 29, 2024
1 parent 23198a1 commit c910360
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
16 changes: 8 additions & 8 deletions 2.10.x/alpine3.20/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM alpine:3.20

ENV NATS_SERVER 2.10.22
ENV NATS_SERVER 2.10.23-RC.1

RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
aarch64) natsArch='arm64'; sha256='b4da77b2b194dc5fcf13a1df0dad59ba7e87ae4423f254c50534015b7c8a2369' ;; \
armhf) natsArch='arm6'; sha256='93517bace32ca5a3f11ac7d2e2583b8400d97d5b2d1568de118046471704785a' ;; \
armv7) natsArch='arm7'; sha256='031933280a989142845a99bc381de160404322b7910c154dbad1b171b5c7eeaa' ;; \
x86_64) natsArch='amd64'; sha256='db0b3ccbe4cbdd3872ae7486ec4f6b0f85824632a0789f4da2e0a8518390483e' ;; \
x86) natsArch='386'; sha256='222c2a1069793768ab79812f01eea2497e0fbf3bcc5bcb9638f5be41177c73b3' ;; \
s390x) natsArch='s390x'; sha256='8a3701c677287146e92aab75d037b7655b602a0071872f38d901b63011f6ead9' ;; \
ppc64le) natsArch='ppc64le'; sha256='c03c1186439c7960b99c721a8461c613bea727654582808fd51c773b08a975d0' ;; \
aarch64) natsArch='arm64'; sha256='aab1db10aaf8cccaeba6ee755b45c0aefad2f2e3b954d7051c349bcf9b652bf8' ;; \
armhf) natsArch='arm6'; sha256='0603b9bfbd35edeb54e0e5b5f8a1d3cefc34247a5abe6d0c936b6c8fdc9f7544' ;; \
armv7) natsArch='arm7'; sha256='e5cdd986775aa6df8eb7ead92d1d9bb974c6a921dad3aadaaa58c32e6951a288' ;; \
x86_64) natsArch='amd64'; sha256='ca888cde1cb05e2d6aba17bba5c0970f6a2b320aeee61ab28cef54298adccc44' ;; \
x86) natsArch='386'; sha256='36ede3cf3094f0b8f2216b970023624ae556641980652623a35a0967fb787d95' ;; \
s390x) natsArch='s390x'; sha256='0a53f5d9871dd3d843e1b7bfb9dcdf8039dc04d9c7d549ea18298c2c34a0eec0' ;; \
ppc64le) natsArch='ppc64le'; sha256='e7ddd7af68ab74c9a2a9059508ef7d9e4fbec3c2c0ed8ad397187e73a4c63ead' ;; \
*) echo >&2 "error: $apkArch is not supported!"; exit 1 ;; \
esac; \
\
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/nanoserver-1809/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM mcr.microsoft.com/windows/nanoserver:1809
ENV NATS_DOCKERIZED 1

COPY --from=nats:2.10.22-windowsservercore-1809 C:\\nats-server.exe C:\\nats-server.exe
COPY --from=nats:2.10.23-RC.1-windowsservercore-1809 C:\\nats-server.exe C:\\nats-server.exe
COPY nats-server.conf C:\\nats-server.conf

EXPOSE 4222 8222 6222
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/nanoserver-1809/Dockerfile.preview
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=nats:2.10.22-windowsservercore-1809
ARG BASE_IMAGE=nats:2.10.23-RC.1-windowsservercore-1809
FROM $BASE_IMAGE AS base

FROM mcr.microsoft.com/windows/nanoserver:1809
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/scratch/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM scratch
ENV PATH="$PATH:/"

COPY --from=nats:2.10.22-alpine3.20 /usr/local/bin/nats-server /nats-server
COPY --from=nats:2.10.23-RC.1-alpine3.20 /usr/local/bin/nats-server /nats-server
COPY nats-server.conf /nats-server.conf

EXPOSE 4222 8222 6222
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/scratch/Dockerfile.preview
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_IMAGE=nats:2.10.22-alpine3.20
ARG BASE_IMAGE=nats:2.10.23-RC.1-alpine3.20
FROM $BASE_IMAGE AS base

FROM scratch
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/tests/build-images-2019.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Set-PSDebug -Trace 2
# Exit on error.
$ErrorActionPreference = "Stop"

$ver = 'NATS_SERVER 2.10.22'.Split(' ')[1]
$ver = 'NATS_SERVER 2.10.23-RC.1'.Split(' ')[1]

Write-Output '-- host info ---'
Write-Output $PSVersionTable
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/tests/build-images.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -ex

ver=(NATS_SERVER 2.10.22)
ver=(NATS_SERVER 2.10.23-RC.1)

(
cd "../alpine3.20"
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/tests/run-images-2019.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Set-PSDebug -Trace 2
# Exit on error.
$ErrorActionPreference = "Stop"

$ver = "NATS_SERVER 2.10.22".Split(" ")[1]
$ver = "NATS_SERVER 2.10.23-RC.1".Split(" ")[1]

$images = @(
"nats:${ver}-windowsservercore-1809",
Expand Down
2 changes: 1 addition & 1 deletion 2.10.x/tests/run-images.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -ex

ver=(NATS_SERVER 2.10.22)
ver=(NATS_SERVER 2.10.23-RC.1)

images=(
"nats:${ver[1]}-alpine3.20"
Expand Down
4 changes: 2 additions & 2 deletions 2.10.x/windowsservercore-1809/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ FROM mcr.microsoft.com/windows/servercore:1809
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]

ENV NATS_DOCKERIZED 1
ENV NATS_SERVER 2.10.22
ENV NATS_SERVER 2.10.23-RC.1
ENV NATS_SERVER_DOWNLOAD https://github.com/nats-io/nats-server/releases/download/v${NATS_SERVER}/nats-server-v${NATS_SERVER}-windows-amd64.zip
ENV NATS_SERVER_SHASUM 33c8a0c6feb441ec4c7007e0af9ef2a45356d6809cd08ec4871a3d659fc74e91
ENV NATS_SERVER_SHASUM a0b162dcfc2ec227410a4a49baf9a0b2daf3907a4c86df0b67c3303959af3070

RUN Set-PSDebug -Trace 2

Expand Down

0 comments on commit c910360

Please sign in to comment.