@@ -4,7 +4,6 @@ variables:
4
4
GO111MODULE : " on"
5
5
GOROOT : " /opt/golang/go1.21"
6
6
functions :
7
-
8
7
" clone " :
9
8
- command : subprocess.exec
10
9
type : setup
@@ -23,7 +22,7 @@ functions:
23
22
params :
24
23
script : |
25
24
set -Eeu pipefail
26
-
25
+
27
26
curl -fL "${goreleaser_pro_tar_gz}" --output goreleaser_Linux_x86_64.tar.gz
28
27
tar -xf goreleaser_Linux_x86_64.tar.gz
29
28
chmod 755 ./goreleaser
@@ -36,7 +35,7 @@ functions:
36
35
- notary_service_url
37
36
script : |
38
37
set -Eeu pipefail
39
-
38
+
40
39
curl "${notary_service_url}" --output macos-notary.zip
41
40
unzip -u macos-notary.zip
42
41
chmod 755 ./linux_amd64/macnotary
@@ -47,6 +46,12 @@ functions:
47
46
working_dir : src/github.com/mongodb/mongodb-enterprise-kubernetes/tools/multicluster
48
47
include_expansions_in_env :
49
48
- GITHUB_TOKEN
49
+ - GRS_USERNAME
50
+ - GRS_PASSWORD
51
+ - PKCS11_URI
52
+ - ARTIFACTORY_URL
53
+ - ARTIFACTORY_PASSWORD
54
+ - SIGNING_IMAGE_URI
50
55
- macos_notary_keyid
51
56
- macos_notary_secret
52
57
- workdir
@@ -61,11 +66,11 @@ functions:
61
66
set -Eeu pipefail
62
67
63
68
export PATH=$GOROOT/bin:$PATH
64
- ${workdir}/goreleaser release --rm-dist
69
+ ${workdir}/goreleaser release --rm-dist --skip=validate
65
70
66
71
tasks :
67
72
- name : package_goreleaser
68
- git_tag_only : true
73
+ # git_tag_only: true
69
74
tags : ["packaging"]
70
75
commands :
71
76
- func : " clone"
@@ -74,14 +79,13 @@ tasks:
74
79
- func : " release"
75
80
76
81
buildvariants :
77
-
78
- # This variant is kept manual for now in order avoid any interfering with the existing release process.
79
- # In the future, it will be called in one of two ways:
80
- # By PCT when a new operator version is released.
81
- # When a new tag is out similarly to github actions.
82
- - name : release_mcli
83
- display_name : Release Go multi-cluster binary
84
- run_on :
85
- - ubuntu2204-small
86
- tasks :
87
- - name : package_goreleaser
82
+ # This variant is kept manual for now in order avoid any interfering with the existing release process.
83
+ # In the future, it will be called in one of two ways:
84
+ # By PCT when a new operator version is released.
85
+ # When a new tag is out similarly to github actions.
86
+ - name : release_mcli
87
+ display_name : Release Go multi-cluster binary
88
+ run_on :
89
+ - ubuntu2204-small
90
+ tasks :
91
+ - name : package_goreleaser
0 commit comments