Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
5469146b
Unverified
Commit
5469146b
authored
Aug 12, 2024
by
Kevin H. Luu
Committed by
GitHub
Aug 12, 2024
Browse files
[ci] Remove fast check cancel workflow (#7455)
parent
97a6be95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
.github/workflows/cancel_fastcheck_when_ready.yml
.github/workflows/cancel_fastcheck_when_ready.yml
+0
-25
No files found.
.github/workflows/cancel_fastcheck_when_ready.yml
deleted
100644 → 0
View file @
97a6be95
name
:
Cancel fastcheck run when PR is marked ready
on
:
pull_request
:
types
:
[
labeled
]
jobs
:
cancel-buildkite-run
:
if
:
github.event.label.name == 'ready'
runs-on
:
ubuntu-latest
steps
:
-
name
:
Cancel fastcheck run on Buildkite
env
:
BUILDKITE_TOKEN
:
${{ secrets.BUILDKITE_TOKEN }}
BUILDKITE_ORG
:
vllm
BUILDKITE_PIPELINE
:
fastcheck
run
:
|
FULL_BRANCH=${{ github.event.pull_request.head.repo.owner.login }}:${{ github.event.pull_request.head.ref }}
echo "PR branch: $FULL_BRANCH"
LATEST_BUILD_NUMBER=$(curl -H "Authorization: Bearer $BUILDKITE_TOKEN" \
"https://api.buildkite.com/v2/organizations/$BUILDKITE_ORG/pipelines/$BUILDKITE_PIPELINE/builds?branch=$FULL_BRANCH&state[]=scheduled&state[]=running" \
| jq -r '.[0].number')
echo "Latest build number: $LATEST_BUILD_NUMBER"
curl -X POST -H "Authorization: Bearer $BUILDKITE_TOKEN" \
"https://api.buildkite.com/v2/organizations/$BUILDKITE_ORG/pipelines/$BUILDKITE_PIPELINE/builds/$LATEST_BUILD_NUMBER/cancel"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment