mirror of
https://github.com/openziti/ziti.git
synced 2026-10-12 15:28:05 +00:00
Merge pull request #1871 from openziti/update-go-version
Update Go version to 1.22.x
This commit is contained in:
@@ -12,7 +12,7 @@ updates:
|
||||
- "minor"
|
||||
- "patch"
|
||||
patterns:
|
||||
- "openziti"
|
||||
- "*openziti*"
|
||||
|
||||
third-party:
|
||||
applies-to: version-updates
|
||||
@@ -20,10 +20,10 @@ updates:
|
||||
- "minor"
|
||||
- "patch"
|
||||
exclude-patterns:
|
||||
- "openziti"
|
||||
- "rabbitmq"
|
||||
- "blackfriday"
|
||||
- "zitadel"
|
||||
- "*openziti*"
|
||||
- "*rabbitmq*"
|
||||
- "*blackfriday*"
|
||||
- "*zitadel*"
|
||||
|
||||
- package-ecosystem: github-actions
|
||||
directory: "/"
|
||||
|
||||
@@ -29,7 +29,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21.x'
|
||||
go-version: '1.22.x'
|
||||
|
||||
- name: Install Ziti CI
|
||||
uses: openziti/ziti-ci@v1
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21.x'
|
||||
go-version: '1.22.x'
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21.x'
|
||||
go-version: '1.22.x'
|
||||
|
||||
- name: Install Ziti CI
|
||||
uses: openziti/ziti-ci@v1
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21.x'
|
||||
go-version: '1.22.x'
|
||||
|
||||
- name: Install Ziti CI
|
||||
uses: openziti/ziti-ci@v1
|
||||
@@ -111,7 +111,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21.x'
|
||||
go-version: '1.22.x'
|
||||
|
||||
- name: Install Ziti CI
|
||||
uses: openziti/ziti-ci@v1
|
||||
@@ -147,7 +147,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21.x'
|
||||
go-version: '1.22.x'
|
||||
|
||||
- name: Install Ziti CI
|
||||
uses: openziti/ziti-ci@v1
|
||||
@@ -178,7 +178,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21.x'
|
||||
go-version: '1.22.x'
|
||||
|
||||
- name: Install Ziti CI
|
||||
uses: openziti/ziti-ci@v1
|
||||
@@ -301,7 +301,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21.x'
|
||||
go-version: '1.22.x'
|
||||
|
||||
- name: Install Ziti CI
|
||||
uses: openziti/ziti-ci@v1
|
||||
@@ -416,7 +416,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21.x'
|
||||
go-version: '1.22.x'
|
||||
|
||||
- name: Install Python
|
||||
uses: actions/setup-python@v5
|
||||
|
||||
@@ -30,6 +30,11 @@ jobs:
|
||||
shell: bash
|
||||
run: sudo apt-get update && sudo apt-get install --yes zsh
|
||||
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.22.x'
|
||||
|
||||
- name: Build and run a quickstart container image
|
||||
shell: bash
|
||||
run: ./quickstart/test/compose-test.zsh
|
||||
|
||||
@@ -21,7 +21,7 @@ jobs:
|
||||
- name: Install Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.21.x'
|
||||
go-version: '1.22.x'
|
||||
|
||||
- name: Install Ziti CI
|
||||
uses: openziti/ziti-ci@v1
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
# Release 0.34.1
|
||||
|
||||
## What's New
|
||||
|
||||
* Updates version of go to 1.22.x
|
||||
* As usual when updating the go version, this is the only change in this release
|
||||
|
||||
# Release 0.34.0
|
||||
|
||||
## What's New
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ FROM debian:bullseye-slim
|
||||
#
|
||||
|
||||
ARG TARGETARCH
|
||||
ARG golang_version=1.21.5
|
||||
ARG golang_version=1.22.1
|
||||
ARG go_distribution_file=go${golang_version}.linux-${TARGETARCH}.tar.gz
|
||||
ARG go_path=/usr/share/go
|
||||
ARG go_root=/usr/local/go
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module github.com/openziti/ziti
|
||||
|
||||
go 1.21
|
||||
go 1.22
|
||||
|
||||
require (
|
||||
github.com/AppsFlyer/go-sundheit v0.5.0
|
||||
|
||||
@@ -101,7 +101,7 @@ Change `Dockerfile` like this, and run `ZITI_QUICK_TAG=local docker compose up -
|
||||
checked-out source tree and run the quickstart with the build.
|
||||
|
||||
```dockerfile
|
||||
FROM golang:1.21-bookworm AS builder
|
||||
FROM golang:1.22-bookworm AS builder
|
||||
ARG ARTIFACTS_DIR=./build
|
||||
WORKDIR /app
|
||||
COPY go.mod go.sum ./
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
set -o errexit
|
||||
set -o nounset
|
||||
set -o pipefail
|
||||
# set -o xtrace
|
||||
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
ZITI_BIN="${SCRIPT_DIR}/image/ziti-bin"
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
module github.com/openziti/ziti/zititest
|
||||
|
||||
go 1.21
|
||||
go 1.22
|
||||
|
||||
replace github.com/openziti/ziti => ../
|
||||
|
||||
|
||||
Reference in New Issue
Block a user