Created
March 18, 2020 12:44
-
-
Save armenzg/a33f283582f6aaa6c18dc2bb7e692aa7 to your computer and use it in GitHub Desktop.
Hook
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
provisionerId: proj-cia | |
workerType: ci | |
schedulerId: '-' | |
scopes: | |
- 'assume:hook-id:project-cia/hello-world' | |
payload: | |
image: 'ubuntu:latest' | |
command: | |
- /bin/bash | |
- '-c' | |
- >- | |
git clone --quiet git@github.com:armenzg/smart-scheduling.git && cd | |
smart-scheduling/scripts/hello_world && pip install requirements.txt && | |
python3 hello_world.py | |
maxRunTime: 600 | |
metadata: | |
name: Hook Task | |
description: Task Description | |
owner: name@example.com | |
source: 'https://tc.example.com/hooks' | |
expires: | |
$fromNow: 3 months | |
deadline: | |
$fromNow: 6 hours |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment