Skip to content

Commit

Permalink
CSHARP-4962: Fix package build script on CI to produce 472 binaries (#…
Browse files Browse the repository at this point in the history
…1264)

(cherry picked from commit a6f939d)
  • Loading branch information
sanych-sun authored and Oleksandr Poliakov committed Feb 20, 2024
1 parent 3026402 commit 6200a94
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions evergreen/evergreen.yml
Expand Up @@ -931,7 +931,7 @@ functions:
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: ${PROJECT_DIRECTORY}/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.nupkg
local_file: mongo-csharp-driver/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.nupkg
remote_file: ${UPLOAD_BUCKET}/${revision}/${PACKAGE_ID}.${PACKAGE_VERSION}.nupkg
bucket: mciuploads
permissions: public-read
Expand All @@ -940,7 +940,7 @@ functions:
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: ${PROJECT_DIRECTORY}/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.snupkg
local_file: mongo-csharp-driver/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.snupkg
remote_file: ${UPLOAD_BUCKET}/${revision}/${PACKAGE_ID}.${PACKAGE_VERSION}.snupkg
bucket: mciuploads
permissions: public-read
Expand All @@ -951,14 +951,14 @@ functions:
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: ${PROJECT_DIRECTORY}/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.nupkg
local_file: mongo-csharp-driver/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.nupkg
remote_file: ${UPLOAD_BUCKET}/${revision}/${PACKAGE_ID}.${PACKAGE_VERSION}.nupkg
bucket: mciuploads
- command: s3.get
params:
aws_key: ${aws_key}
aws_secret: ${aws_secret}
local_file: ${PROJECT_DIRECTORY}/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.snupkg
local_file: mongo-csharp-driver/artifacts/nuget/${PACKAGE_ID}.${PACKAGE_VERSION}.snupkg
remote_file: ${UPLOAD_BUCKET}/${revision}/${PACKAGE_ID}.${PACKAGE_VERSION}.snupkg
bucket: mciuploads

Expand Down Expand Up @@ -2298,22 +2298,24 @@ buildvariants:
- matrix_name: build-packages
matrix_spec:
build-target: "release"
os: "windows-64" # should produce package on Windows to make sure full framework binaries created.
display_name: "Package Pack"
run_on: ubuntu2004-small
tags: ["build-packages", "release-tag"]
tasks:
- name: build-packages
git_tag_only: true
priority: 10

- matrix_name: generate-apidocs
matrix_spec:
build-target: "release"
os: "ubuntu-2004"
display_name: "Generate API Documentation"
run_on: ubuntu2004-small
tags: ["build-apidocs", "release-tag"]
tasks:
- name: generate-apidocs
git_tag_only: true
priority: 10
depends_on:
- name: build-packages
variant: ".build-packages"
Expand All @@ -2322,12 +2324,13 @@ buildvariants:
- matrix_name: push-packages
matrix_spec:
build-target: "release"
os: "ubuntu-2004"
display_name: "Package Push"
run_on: ubuntu2004-small
tags: ["push-packages", "release-tag"]
tasks:
- name: push-packages
git_tag_only: true
priority: 10
depends_on:
- name: build-packages
variant: ".build-packages"
Expand Down

0 comments on commit 6200a94

Please sign in to comment.