Skip to content

Commit dcb6a00

Browse files
committed
Fix evg for cli release
1 parent 67b067c commit dcb6a00

File tree

2 files changed

+22
-17
lines changed

2 files changed

+22
-17
lines changed

.evergreen.yml

+20-16
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ variables:
44
GO111MODULE: "on"
55
GOROOT: "/opt/golang/go1.21"
66
functions:
7-
87
"clone":
98
- command: subprocess.exec
109
type: setup
@@ -23,7 +22,7 @@ functions:
2322
params:
2423
script: |
2524
set -Eeu pipefail
26-
25+
2726
curl -fL "${goreleaser_pro_tar_gz}" --output goreleaser_Linux_x86_64.tar.gz
2827
tar -xf goreleaser_Linux_x86_64.tar.gz
2928
chmod 755 ./goreleaser
@@ -36,7 +35,7 @@ functions:
3635
- notary_service_url
3736
script: |
3837
set -Eeu pipefail
39-
38+
4039
curl "${notary_service_url}" --output macos-notary.zip
4140
unzip -u macos-notary.zip
4241
chmod 755 ./linux_amd64/macnotary
@@ -47,6 +46,12 @@ functions:
4746
working_dir: src/github.com/mongodb/mongodb-enterprise-kubernetes/tools/multicluster
4847
include_expansions_in_env:
4948
- GITHUB_TOKEN
49+
- GRS_USERNAME
50+
- GRS_PASSWORD
51+
- PKCS11_URI
52+
- ARTIFACTORY_URL
53+
- ARTIFACTORY_PASSWORD
54+
- SIGNING_IMAGE_URI
5055
- macos_notary_keyid
5156
- macos_notary_secret
5257
- workdir
@@ -61,11 +66,11 @@ functions:
6166
set -Eeu pipefail
6267
6368
export PATH=$GOROOT/bin:$PATH
64-
${workdir}/goreleaser release --rm-dist
69+
${workdir}/goreleaser release --rm-dist --skip=validate
6570
6671
tasks:
6772
- name: package_goreleaser
68-
git_tag_only: true
73+
#git_tag_only: true
6974
tags: ["packaging"]
7075
commands:
7176
- func: "clone"
@@ -74,14 +79,13 @@ tasks:
7479
- func: "release"
7580

7681
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

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.idea
22
*.iml
33
.DS_Store
4-
tools/multicluster/linux_amd64/*
4+
.evergreen.yml
5+
tools/multicluster/linux_amd64/*

0 commit comments

Comments
 (0)