update the debian12 and bookworm remove --v 1.0

Signed-off-by: sagar rawat <sagarrawat24291@gmail.com>
This commit is contained in:
sagar rawat 2023-09-01 16:19:29 +05:30
parent cf1581afc4
commit 245b58a1e2
9 changed files with 9 additions and 9 deletions

View File

@ -4,7 +4,7 @@
"name": "Go", "name": "Go",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/go:1.20-bullseye", "image": "mcr.microsoft.com/devcontainers/go:1.20-bookworm",
// Features to add to the dev container. More info: https://containers.dev/features. // Features to add to the dev container. More info: https://containers.dev/features.
"features": { "features": {

View File

@ -12,7 +12,7 @@ jobs:
# this is to prevent the job to run at forked projects # this is to prevent the job to run at forked projects
if: github.repository == 'etcd-io/etcd' if: github.repository == 'etcd-io/etcd'
runs-on: [self-hosted, Linux, ARM64] runs-on: [self-hosted, Linux, ARM64]
container: golang:1.20-bullseye container: golang:1.20-bookworm
defaults: defaults:
run: run:
shell: bash shell: bash

View File

@ -6,7 +6,7 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: golang:1.20-bullseye image: golang:1.20-bookworm
defaults: defaults:
run: run:
shell: bash shell: bash

View File

@ -5,7 +5,7 @@ permissions: read-all
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: golang:1.20-bullseye container: golang:1.20-bookworm
defaults: defaults:
run: run:
shell: bash shell: bash

View File

@ -27,7 +27,7 @@ jobs:
timeout-minutes: 210 timeout-minutes: 210
runs-on: ${{ fromJson(inputs.runs-on) }} runs-on: ${{ fromJson(inputs.runs-on) }}
container: container:
image: golang:1.20-bullseye image: golang:1.20-bookworm
# Required for mounting fuse lazyfs # Required for mounting fuse lazyfs
options: --privileged options: --privileged
defaults: defaults:

View File

@ -17,7 +17,7 @@ jobs:
# this is to prevent the job to run at forked projects # this is to prevent the job to run at forked projects
if: github.repository == 'etcd-io/etcd' if: github.repository == 'etcd-io/etcd'
runs-on: [self-hosted, Linux, ARM64] runs-on: [self-hosted, Linux, ARM64]
container: golang:1.20-bullseye container: golang:1.20-bookworm
defaults: defaults:
run: run:
shell: bash shell: bash

View File

@ -5,7 +5,7 @@ permissions: read-all
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: golang:1.20-bullseye container: golang:1.20-bookworm
defaults: defaults:
run: run:
shell: bash shell: bash

View File

@ -1,5 +1,5 @@
ARG ARCH=amd64 ARG ARCH=amd64
FROM --platform=linux/${ARCH} gcr.io/distroless/static-debian11 FROM --platform=linux/${ARCH} gcr.io/distroless/static-debian12
ADD etcd /usr/local/bin/ ADD etcd /usr/local/bin/
ADD etcdctl /usr/local/bin/ ADD etcdctl /usr/local/bin/

View File

@ -121,7 +121,7 @@ func testConnectionMultiplexing(t *testing.T, ctx context.Context, member e2e.Et
assert.NoError(t, err) assert.NoError(t, err)
}) })
t.Run("curl", func(t *testing.T) { t.Run("curl", func(t *testing.T) {
for _, httpVersion := range []string{"2", "1.1", "1.0", ""} { for _, httpVersion := range []string{"2", "1.1", ""} {
tname := "http" + httpVersion tname := "http" + httpVersion
if httpVersion == "" { if httpVersion == "" {
tname = "default" tname = "default"