From 826689e84eddfc0f6e2975fc4ada192ab4689f0d Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Fri, 13 Jan 2023 07:06:51 +0530 Subject: [PATCH] Document ability to download latest binary artifacts from CI job (#2134) ## Description ## Does this PR need a docs update or release note? - [x] :white_check_mark: Yes, it's included - [ ] :clock1: Yes, but in a later PR - [ ] :no_entry: No ## Type of change - [ ] :sunflower: Feature - [ ] :bug: Bugfix - [x] :world_map: Documentation - [ ] :robot: Test - [x] :computer: CI/Deployment - [ ] :broom: Tech Debt/Cleanup ## Issue(s) * # ## Test Plan - [x] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- .github/workflows/ci.yml | 30 +++++++++++++++++++++++++++--- website/docs/developers/build.md | 7 +++++++ 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 008bb6e35..035c3ee4d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -419,11 +419,35 @@ jobs: RUDDERSTACK_CORSO_DATA_PLANE_URL: ${{ secrets.RUDDERSTACK_CORSO_DATA_PLANE_URL }} CORSO_VERSION: ${{ needs.SetEnv.outputs.version }} - - name: Upload assets + - name: Upload darwin arm64 uses: actions/upload-artifact@v3 with: - name: corso - path: src/dist/* + name: corso_Darwin_arm64 + path: src/dist/corso_darwin_arm64/corso + + - name: Upload linux arm64 + uses: actions/upload-artifact@v3 + with: + name: corso_Linux_arm64 + path: src/dist/corso_linux_arm64/corso + + - name: Upload darwin amd64 + uses: actions/upload-artifact@v3 + with: + name: corso_Darwin_amd64 + path: src/dist/corso_darwin_amd64_v1/corso + + - name: Upload linux amd64 + uses: actions/upload-artifact@v3 + with: + name: corso_Linux_amd64 + path: src/dist/corso_linux_amd64_v1/corso + + - name: Upload windows amd64 + uses: actions/upload-artifact@v3 + with: + name: corso_Windows_amd64 + path: src/dist/corso_windows_amd64_v1/corso.exe Publish-Image: needs: [Test-Suite-Trusted, Linting, Website-Linting, SetEnv] diff --git a/website/docs/developers/build.md b/website/docs/developers/build.md index ce2cbef4b..baa3261ed 100644 --- a/website/docs/developers/build.md +++ b/website/docs/developers/build.md @@ -18,6 +18,13 @@ If you don't have Go available, you can find installation instructions [here](ht This will generate a binary named `corso` in the directory where you run the build. +:::note +You can download binary artifacts of the latest commit from GitHub by +navigating to the "Summary" page of the `Build/Release Corso` CI job +that was run for that commit. +You will find the artifacts at the bottom of the page. +::: + ### Building via Docker For convenience, the Corso build tooling is containerized. To take advantage, you need