Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v2.10.23-RC.3 #195

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.23-RC.2
ENV NATS_SERVER 2.10.23-RC.3

RUN set -eux; \
apkArch="$(apk --print-arch)"; \
case "$apkArch" in \
aarch64) natsArch='arm64'; sha256='4a75aec8cdbb47d82b49fb3e75719e429266e1c867130834eacca5bf8a5e0ab1' ;; \
armhf) natsArch='arm6'; sha256='59dd20b45a3778e052d7c335ecedbcb9636a04a1335d4e3825b41e8efa104c9c' ;; \
armv7) natsArch='arm7'; sha256='31726b7d3c5a9bdc96f5b54a3666a5cb84a0904df557b11c59ae9448d2bc0e73' ;; \
x86_64) natsArch='amd64'; sha256='988cdb2cc7b477fa35539fa0d9f5b3ad742db7b71411931785ef802bdd7361ed' ;; \
x86) natsArch='386'; sha256='7f81549dc7b3cb2f186e5ebd9156f4488bffd1c912285e736397d9b6006ca022' ;; \
s390x) natsArch='s390x'; sha256='6cdc7931c7f18a4bfbbab351e94fd52f4ceaf17ab3d4fa17222fa4e4fd40fac5' ;; \
ppc64le) natsArch='ppc64le'; sha256='b422d56cec89d36a90eee3da5f4c8fef919ce67a169d637e5acb5040d6ee043f' ;; \
aarch64) natsArch='arm64'; sha256='f73de3056832ca1102c22792cf213e1232cf6b17829ecdb0f48cc6fdaee3e625' ;; \
armhf) natsArch='arm6'; sha256='0cd0ebee32ec5a1ef5abd7081827c5ee73072999bdda8967f35d691174b97a16' ;; \
armv7) natsArch='arm7'; sha256='b833bdcaedbb7fec4ba1625cfc3e1c07a6c7ddc5901a23e2166f20e9a6a4d9e5' ;; \
x86_64) natsArch='amd64'; sha256='7a280ab8e0213a4749321f10806fa6878f6277ffae600531fef8e5ecf1d248f0' ;; \
x86) natsArch='386'; sha256='342bdb643fb9102785af01913192a36f0e215fe568bff084a91bce60511e6aea' ;; \
s390x) natsArch='s390x'; sha256='40f2ae3b458b45d8ec962c0731a0d961e1414adfee46302601a2a6e6c552b001' ;; \
ppc64le) natsArch='ppc64le'; sha256='f52ebd3dd3a69def9c709e57a143115794cd229cbc062e22ee12687b0b0336b5' ;; \
*) 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.23-RC.2-windowsservercore-1809 C:\\nats-server.exe C:\\nats-server.exe
COPY --from=nats:2.10.23-RC.3-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.23-RC.2-windowsservercore-1809
ARG BASE_IMAGE=nats:2.10.23-RC.3-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.23-RC.2-alpine3.20 /usr/local/bin/nats-server /nats-server
COPY --from=nats:2.10.23-RC.3-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.23-RC.2-alpine3.20
ARG BASE_IMAGE=nats:2.10.23-RC.3-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.23-RC.2'.Split(' ')[1]
$ver = 'NATS_SERVER 2.10.23-RC.3'.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.23-RC.2)
ver=(NATS_SERVER 2.10.23-RC.3)

(
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.23-RC.2".Split(" ")[1]
$ver = "NATS_SERVER 2.10.23-RC.3".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.23-RC.2)
ver=(NATS_SERVER 2.10.23-RC.3)

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.23-RC.2
ENV NATS_SERVER 2.10.23-RC.3
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 94123b63bac82c15723eb87c242443e3818bb84b133088334cae701331f922ca
ENV NATS_SERVER_SHASUM 014d3535855e74bf24d789fe68723faa1c75c4afc0738c2c242c7d499b2d1cc9

RUN Set-PSDebug -Trace 2

Expand Down