-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig-task.yml
59 lines (45 loc) · 2.17 KB
/
config-task.yml
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Name and metadata of your task
task_name: 'Git Talents'
author: 'East'
description: 'A simple git task that gets a random repository, zips it, and upload it to IPFS. Useful for making backup of copies repositories for any unwanted event.'
repositoryUrl: 'https://github.com/blurtopian/git_talents' #replace with your own repo url
imageUrl: 'https://i.ibb.co/N1H5YB4/final-uploaded-image-with-gradient.png'
# network value can be DEVELOPMENT , ARWEAVE or IPFS, Recommended IPFS when deploying to testnet as the cli automatically takes care of uploading the executable with the help of web3.js key
task_executable_network: 'IPFS'
# Path to your executable webpack if the selected network is IPFS and in case of DEVELOPMENT name it as main
task_audit_program: 'dist/main.js'
# Total round time of your task : it must be given in slots and each slot is roughly equal to 408ms
round_time: 1500
audit_window: 350
submission_window: 350
# Amounts in KOII
minimum_stake_amount: 0.9
# total_bounty_amount cannot be grater than bounty_amount_per_round
# total bounty is not accepted in case of update task
total_bounty_amount: 10
bounty_amount_per_round: 0.001
#Number of times allowed to re-submit the distribution list in case the distribution list is audited
allowed_failed_distributions: 3
#Space in MBs for the account size, that holds the task data
space: 0.1
# Note that the value field in RequirementTag is optional, so it is up to you to include it or not based on your use case.
# To add more global variables and task variables, please refer the type,value,description format shown below
requirementsTags:
- type: CPU
value: '4-core'
- type: RAM
value: '5 GB'
- type: STORAGE
value: '5 GB'
- type: TASK_VARIABLE
value: 'GIT_ACCESS_TOKEN'
description: 'Token to use access github repositories.'
- type: TASK_VARIABLE
value: 'CONTRIBUTIONS_API'
description: 'API to manage contributions.'
- type: TASK_VARIABLE
value: 'REPO_KEYWORD'
description: 'Keyword to search for in github repositories.'
task_id: ' '
# Provide the description for changes made in new version of task
migrationDescription: ''