-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathTaskfile.yml
More file actions
29 lines (23 loc) · 852 Bytes
/
Copy pathTaskfile.yml
File metadata and controls
29 lines (23 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
version: '3'
tasks:
default:
cmds:
- task --list
ci:setup:
desc: Register the repository with the IstarCI daemon and gate git push on its runs
cmds:
- istarci add "{{.ROOT_DIR}}"
- istarci install-hook "{{.ROOT_DIR}}"
ci:
desc: Show the IstarCI runs of the recent commits
cmds:
- istarci status "{{.ROOT_DIR}}"
ci:logs:
desc: Show the output of the last IstarCI run
cmds:
- istarci logs "{{.ROOT_DIR}}" {{.CLI_ARGS}}
# Fallback for IstarCI development only: runs the daemon from a clone (ISTARCI_DIR, default ~/repos/istarci), without installing the package.
ci:from-clone:
desc: Run the CI pipeline of the last commit once, from an IstarCI clone
cmds:
- '"${ISTARCI_DIR:-$HOME/repos/istarci}/scripts/check_repo.sh" "{{.ROOT_DIR}}" --timeout 1800 {{.CLI_ARGS}}'