mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
test
This commit is contained in:
parent
6dd7a8a0af
commit
7a57e0b782
4 changed files with 5 additions and 7 deletions
6
.github/workflows/ci-runner.yml
vendored
6
.github/workflows/ci-runner.yml
vendored
|
|
@ -1,10 +1,8 @@
|
||||||
name: PluralKit CI
|
name: PluralKit CI
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
dispatchData:
|
dispatchData: {}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
run:
|
run:
|
||||||
|
|
@ -22,7 +20,7 @@ jobs:
|
||||||
GIT_SHA: ${{ github.sha }}
|
GIT_SHA: ${{ github.sha }}
|
||||||
REPO_URL: https://github.com/${{ github.repository }}
|
REPO_URL: https://github.com/${{ github.repository }}
|
||||||
|
|
||||||
ACTION_LOGS_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs/${{ jobs. }}
|
ACTION_LOGS_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||||
|
|
||||||
DISPATCH_DATA: ${{ inputs.dispatchData }}
|
DISPATCH_DATA: ${{ inputs.dispatchData }}
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
||||||
spawn_jobs:
|
spawn_jobs:
|
||||||
name: Spawn jobs
|
name: Spawn jobs
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: ["build-ci-container"]
|
needs: ["build_container"]
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/pluralkit/ci:${{ github.sha }}
|
image: ghcr.io/pluralkit/ci:${{ github.sha }}
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ def report_status(name, start_time, exit=None):
|
||||||
'started_at': start_time,
|
'started_at': start_time,
|
||||||
'output': {
|
'output': {
|
||||||
'title': name,
|
'title': name,
|
||||||
'summary': f"dasdfasdfasdf", # todo
|
'summary': f"Check logs at {must_get_env("ACTION_LOGS_URL")}",
|
||||||
'text': "[]",
|
'text': "[]",
|
||||||
'annotations': []
|
'annotations': []
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ def create_jobs():
|
||||||
if len(jobs) == 0:
|
if len(jobs) == 0:
|
||||||
print("no jobs to run (??)")
|
print("no jobs to run (??)")
|
||||||
|
|
||||||
exit 0
|
return 0
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
print("hello from python!")
|
print("hello from python!")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue