Skip to content

Commit 6200a94

Browse files
sanych-sunOleksandr Poliakov
authored and
Oleksandr Poliakov
committed
CSHARP-4962: Fix package build script on CI to produce 472 binaries (#1264)
(cherry picked from commit a6f939d)
1 parent 3026402 commit 6200a94

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

evergreen/evergreen.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ functions:
931931
params:
932932
aws_key: ${aws_key}
933933
aws_secret: ${aws_secret}
934-
local_file: ${PROJECT_DIRECTORY}/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.nupkg
934+
local_file: mongo-csharp-driver/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.nupkg
935935
remote_file: ${UPLOAD_BUCKET}/${revision}/${PACKAGE_ID}.${PACKAGE_VERSION}.nupkg
936936
bucket: mciuploads
937937
permissions: public-read
@@ -940,7 +940,7 @@ functions:
940940
params:
941941
aws_key: ${aws_key}
942942
aws_secret: ${aws_secret}
943-
local_file: ${PROJECT_DIRECTORY}/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.snupkg
943+
local_file: mongo-csharp-driver/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.snupkg
944944
remote_file: ${UPLOAD_BUCKET}/${revision}/${PACKAGE_ID}.${PACKAGE_VERSION}.snupkg
945945
bucket: mciuploads
946946
permissions: public-read
@@ -951,14 +951,14 @@ functions:
951951
params:
952952
aws_key: ${aws_key}
953953
aws_secret: ${aws_secret}
954-
local_file: ${PROJECT_DIRECTORY}/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.nupkg
954+
local_file: mongo-csharp-driver/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.nupkg
955955
remote_file: ${UPLOAD_BUCKET}/${revision}/${PACKAGE_ID}.${PACKAGE_VERSION}.nupkg
956956
bucket: mciuploads
957957
- command: s3.get
958958
params:
959959
aws_key: ${aws_key}
960960
aws_secret: ${aws_secret}
961-
local_file: ${PROJECT_DIRECTORY}/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.snupkg
961+
local_file: mongo-csharp-driver/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.snupkg
962962
remote_file: ${UPLOAD_BUCKET}/${revision}/${PACKAGE_ID}.${PACKAGE_VERSION}.snupkg
963963
bucket: mciuploads
964964

@@ -2298,22 +2298,24 @@ buildvariants:
22982298
- matrix_name: build-packages
22992299
matrix_spec:
23002300
build-target: "release"
2301+
os: "windows-64" # should produce package on Windows to make sure full framework binaries created.
23012302
display_name: "Package Pack"
2302-
run_on: ubuntu2004-small
23032303
tags: ["build-packages", "release-tag"]
23042304
tasks:
23052305
- name: build-packages
23062306
git_tag_only: true
2307+
priority: 10
23072308

23082309
- matrix_name: generate-apidocs
23092310
matrix_spec:
23102311
build-target: "release"
2312+
os: "ubuntu-2004"
23112313
display_name: "Generate API Documentation"
2312-
run_on: ubuntu2004-small
23132314
tags: ["build-apidocs", "release-tag"]
23142315
tasks:
23152316
- name: generate-apidocs
23162317
git_tag_only: true
2318+
priority: 10
23172319
depends_on:
23182320
- name: build-packages
23192321
variant: ".build-packages"
@@ -2322,12 +2324,13 @@ buildvariants:
23222324
- matrix_name: push-packages
23232325
matrix_spec:
23242326
build-target: "release"
2327+
os: "ubuntu-2004"
23252328
display_name: "Package Push"
2326-
run_on: ubuntu2004-small
23272329
tags: ["push-packages", "release-tag"]
23282330
tasks:
23292331
- name: push-packages
23302332
git_tag_only: true
2333+
priority: 10
23312334
depends_on:
23322335
- name: build-packages
23332336
variant: ".build-packages"

0 commit comments

Comments
 (0)