Skip to content

Commit

Permalink
BUILD/MEDIUM: go: upgrade golang to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
mjuraga committed Apr 5, 2024
1 parent 14ab8aa commit a7866a1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
37 changes: 19 additions & 18 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ variables:
DOCKER_HOST: tcp://docker:2375
DOCKER_BASE_IMAGE: $CI_REGISTRY_GO/haproxy-debian
BATS_VERSION: v1.4.1
GO_VERSION: '1.21'
GO_VERSION: "1.22"
DOCKER_VERSION: "26.0"

diff:
stage: lint
image:
name: $CI_REGISTRY_GO/docker:stable-go$GO_VERSION
entrypoint: [ "" ]
name: $CI_REGISTRY_GO/docker:$DOCKER_VERSION-go$GO_VERSION
entrypoint: [""]
services:
- name: $CI_REGISTRY_GO/docker:20.10.5-dind
- name: $CI_REGISTRY_GO/docker:$DOCKER_VERSION-dind
alias: docker
tags:
- go
Expand Down Expand Up @@ -75,7 +76,7 @@ build:
- build
image:
name: $CI_REGISTRY_GO/golang:$GO_VERSION
entrypoint: [ "" ]
entrypoint: [""]
tags:
- go
script:
Expand All @@ -92,10 +93,10 @@ build:
paths:
- build
image:
name: $CI_REGISTRY_GO/docker:stable
entrypoint: [ "" ]
name: $CI_REGISTRY_GO/docker:$DOCKER_VERSION
entrypoint: [""]
services:
- name: $CI_REGISTRY_GO/docker:24.0-dind
- name: $CI_REGISTRY_GO/docker:$DOCKER_VERSION-dind
alias: docker
variables:
LOCAL_IP_ADDRESS: docker
Expand All @@ -115,59 +116,59 @@ HAProxy_2_1:
extends: .e2e
parallel:
matrix:
- TESTPART: [ "1/2", "2/2" ]
- TESTPART: ["1/2", "2/2"]
HAPROXY_VERSION: "2.1"
HAProxy_2_2:
extends: .e2e
parallel:
matrix:
- TESTPART: [ "1/2", "2/2" ]
- TESTPART: ["1/2", "2/2"]
HAPROXY_VERSION: "2.2"
HAProxy_2_3:
extends: .e2e
parallel:
matrix:
- TESTPART: [ "1/2", "2/2" ]
- TESTPART: ["1/2", "2/2"]
HAPROXY_VERSION: "2.3"
HAProxy_2_4:
extends: .e2e
parallel:
matrix:
- TESTPART: [ "1/2", "2/2" ]
- TESTPART: ["1/2", "2/2"]
HAPROXY_VERSION: "2.4"
HAProxy_2_5:
extends: .e2e
parallel:
matrix:
- TESTPART: [ "1/2", "2/2" ]
- TESTPART: ["1/2", "2/2"]
HAPROXY_VERSION: "2.5"
HAProxy_2_6:
extends: .e2e
parallel:
matrix:
- TESTPART: [ "1/2", "2/2" ]
- TESTPART: ["1/2", "2/2"]
HAPROXY_VERSION: "2.6"
HAProxy_2_7:
extends: .e2e
parallel:
matrix:
- TESTPART: [ "1/2", "2/2" ]
- TESTPART: ["1/2", "2/2"]
HAPROXY_VERSION: "2.7"
HAProxy_2_8:
extends: .e2e
parallel:
matrix:
- TESTPART: [ "1/2", "2/2" ]
- TESTPART: ["1/2", "2/2"]
HAPROXY_VERSION: "2.8"
HAProxy_2_9:
extends: .e2e
parallel:
matrix:
- TESTPART: [ "1/2", "2/2" ]
- TESTPART: ["1/2", "2/2"]
HAPROXY_VERSION: "2.9"
HAProxy_3_0:
extends: .e2e
parallel:
matrix:
- TESTPART: [ "1/2", "2/2" ]
- TESTPART: ["1/2", "2/2"]
HAPROXY_VERSION: "3.0"
6 changes: 3 additions & 3 deletions e2e/libs/resource_client.bash
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ function resource_put() {
}

function resource_delete() {
local endpoint; endpoint="$1"; shift
local endpoint; endpoint="$1"; shift
local qs_params; qs_params="$1"
get_version
run dpa_curl DELETE "$endpoint?$qs_params&version=${VERSION}" "$data"
get_version
run dpa_curl DELETE "$endpoint?$qs_params&version=${VERSION}"
assert_success
dpa_curl_status_body '$output'
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/haproxytech/dataplaneapi

go 1.21
go 1.22

require (
github.com/GehirnInc/crypt v0.0.0-20230320061759-8cc1b52080c5
Expand Down

0 comments on commit a7866a1

Please sign in to comment.