Remove obsolete upstream release workflows
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,41 +0,0 @@
|
|||||||
# A workflow to cut a Galaxy OSS release candidate on the OSS release branch.
|
|
||||||
|
|
||||||
name: Cut New Release Candidate
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
verify_release_branch:
|
|
||||||
name: Verify OSS release branch
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Verify branch
|
|
||||||
run: |
|
|
||||||
case "$GITHUB_REF_NAME" in
|
|
||||||
oss_release/*) ;;
|
|
||||||
*)
|
|
||||||
echo "::error::Can only create OSS release candidates on an oss_release/* branch"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
create_release_candidate:
|
|
||||||
name: Create OSS Release Candidate
|
|
||||||
uses: ./.github/workflows/create_release.yml
|
|
||||||
needs: verify_release_branch
|
|
||||||
secrets: inherit
|
|
||||||
|
|
||||||
update_channel_versions:
|
|
||||||
name: Update channel_versions.json
|
|
||||||
needs:
|
|
||||||
- create_release_candidate
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Invoke update workflow in channel-versions repository
|
|
||||||
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
|
|
||||||
with:
|
|
||||||
repository: warpdotdev/channel-versions
|
|
||||||
token: ${{ secrets.CHANNEL_VERSIONS_REPOSITORY_DISPATCH_TOKEN }}
|
|
||||||
event-type: update-channel-versions
|
|
||||||
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
# A workflow to cut the Galaxy OSS release.
|
|
||||||
|
|
||||||
name: Cut New Releases
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
# Run this job every morning at 3am EST.
|
|
||||||
- cron: "0 8 * * *"
|
|
||||||
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
verify_master:
|
|
||||||
name: Verify master branch
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check for master branch
|
|
||||||
run: |
|
|
||||||
[ "$GITHUB_REF" = "refs/heads/master" ] || (echo "::error::Can only cut new releases on the master branch" && exit 1)
|
|
||||||
shell: bash
|
|
||||||
|
|
||||||
create_release:
|
|
||||||
name: Create OSS Release
|
|
||||||
uses: ./.github/workflows/create_release.yml
|
|
||||||
needs: verify_master
|
|
||||||
secrets: inherit
|
|
||||||
|
|
||||||
update_channel_versions:
|
|
||||||
name: Update channel_versions.json
|
|
||||||
needs:
|
|
||||||
- create_release
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Invoke update workflow in channel-versions repository
|
|
||||||
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1
|
|
||||||
with:
|
|
||||||
repository: warpdotdev/channel-versions
|
|
||||||
token: ${{ secrets.CHANNEL_VERSIONS_REPOSITORY_DISPATCH_TOKEN }}
|
|
||||||
event-type: update-channel-versions
|
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
set -u
|
set -u
|
||||||
|
|
||||||
# The minimum glibc the prebuilt Linux CLI requires. The Linux CLI is
|
# The minimum glibc the prebuilt Linux CLI requires. The Linux CLI is
|
||||||
# built on Ubuntu 20.04 (see `.github/workflows/create_release.yml`),
|
# built on Ubuntu 20.04 by the retired upstream release pipeline,
|
||||||
# which ships glibc 2.31. Bump this when the runner image is bumped.
|
# which ships glibc 2.31. Bump this when the runner image is bumped.
|
||||||
required_glibc="2.31"
|
required_glibc="2.31"
|
||||||
echo "required_glibc=${required_glibc}"
|
echo "required_glibc=${required_glibc}"
|
||||||
|
|||||||
+2
-3
@@ -151,9 +151,8 @@ if [[ "$CARGO_PROFILE" == "dev" ]]; then
|
|||||||
else
|
else
|
||||||
CARGO_TARGET_OUTPUT_DIR="$CARGO_TARGET_OUTPUT_ROOT/$CARGO_PROFILE"
|
CARGO_TARGET_OUTPUT_DIR="$CARGO_TARGET_OUTPUT_ROOT/$CARGO_PROFILE"
|
||||||
fi
|
fi
|
||||||
# NOTE: if you change this path, update the "Clean stale bundle output"
|
# Packaging jobs that reuse this output directory must clear stale packages
|
||||||
# steps in .github/workflows/create_release.yml so they continue to wipe
|
# before collecting artifacts for a new build.
|
||||||
# stale packages left in the shared Namespace runner cache.
|
|
||||||
OUT_DIR="$CARGO_TARGET_OUTPUT_DIR/bundle/linux"
|
OUT_DIR="$CARGO_TARGET_OUTPUT_DIR/bundle/linux"
|
||||||
mkdir -p "$OUT_DIR"
|
mkdir -p "$OUT_DIR"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user