forked from databricks/vector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): Re-add custom builds workflow. Fixes integration test build …
…error. (vectordotdev#17024)
- Loading branch information
Showing
21 changed files
with
177 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: Custom Builds | ||
|
||
on: | ||
workflow_dispatch: {} | ||
|
||
jobs: | ||
Custom: | ||
uses: ./.github/workflows/publish.yml | ||
with: | ||
git_ref: ${{ github.ref }} | ||
channel: custom | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,9 @@ on: | |
git_ref: | ||
type: string | ||
required: true | ||
mode: | ||
# channel is the dir/namespace packages are organized into. | ||
# Options are release/nightly/custom. | ||
channel: | ||
type: string | ||
required: true | ||
|
||
|
@@ -21,6 +23,7 @@ env: | |
# observing issues fetching boringssl via HTTPS in the OSX build, seeing if this helps | ||
# can be removed when we switch back to the upstream openssl-sys crate | ||
CARGO_NET_GIT_FETCH_WITH_CLI: true | ||
CHANNEL: ${{ inputs.channel }} | ||
|
||
jobs: | ||
generate-publish-metadata: | ||
|
@@ -545,7 +548,7 @@ jobs: | |
publish-github: | ||
name: Publish to GitHub | ||
# We only publish to GitHub for versioned releases, not nightlies. | ||
if: ${{ inputs.mode == 'Release' }} | ||
if: ${{ inputs.channel == 'release' }} | ||
runs-on: ubuntu-20.04 | ||
needs: | ||
- generate-publish-metadata | ||
|
@@ -615,7 +618,7 @@ jobs: | |
publish-homebrew: | ||
name: Publish to Homebrew | ||
# We only publish to Homebrew for versioned releases, not nightlies. | ||
if: ${{ inputs.mode == 'Release' }} | ||
if: ${{ inputs.channel == 'release' }} | ||
runs-on: ubuntu-20.04 | ||
needs: | ||
- generate-publish-metadata | ||
|
@@ -635,7 +638,7 @@ jobs: | |
publish-cloudsmith: | ||
name: Publish to Cloudsmith | ||
# We only publish to CloudSmith for versioned releases, not nightlies. | ||
if: ${{ inputs.mode == 'Release' }} | ||
if: ${{ inputs.channel == 'release' }} | ||
runs-on: ubuntu-20.04 | ||
needs: | ||
- generate-publish-metadata | ||
|
@@ -748,7 +751,7 @@ jobs: | |
|
||
publish-failure: | ||
name: Send Publish Failure Notification | ||
if: failure() | ||
if: ${{ inputs.channel != 'custom' }} && failure() | ||
runs-on: ubuntu-20.04 | ||
needs: | ||
- generate-publish-metadata | ||
|
@@ -773,4 +776,4 @@ jobs: | |
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | ||
uses: Ilshidur/[email protected] | ||
with: | ||
args: "${{ inputs.mode }} failed: <https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}>" | ||
args: "${{ inputs.channel }} failed: <https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.