Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
153 commits
Select commit Hold shift + click to select a range
794120f
[Fixed] convert the project from crlf to lf
hulud75 Jan 11, 2016
3121dbf
[Fixed] flush console messages
hulud75 Jan 11, 2016
eee9aad
[Options] Server option to choose between console/service on windows
hulud75 Jan 11, 2016
556db88
[Json] json data are dumped with json.dumps, not repr
hulud75 Jan 11, 2016
3cc4e15
[Win] win32 subprocess command doesn't need to be quoted anymore in p…
hulud75 Jan 11, 2016
c3433f4
[Worker] default heartbeat delay is 2s
hulud75 Jan 12, 2016
7fa9d96
[Worker] the worker is more responsive
hulud75 Jan 12, 2016
660aeff
[API] First coalition python api
hulud75 Jan 15, 2016
aba0b15
[TEST] First python api test
hulud75 Jan 15, 2016
f1b7352
[DB] Pickle replaced by a database
hulud75 Jan 15, 2016
60229eb
[Test] unittest compatible with python 2.6
hulud75 Jan 18, 2016
033feeb
[Doc] first API documentation
hulud75 Jan 18, 2016
2ac66bf
[Rest] The server provides now a REST api
hulud75 Jan 18, 2016
736b53a
Documentation
hulud75 Jan 19, 2016
17bc90b
[Doc] make the sub directory visible
hulud75 Jan 19, 2016
72304a8
Build doc
hulud75 Jan 19, 2016
01b28f8
[Server] add a Job cache during the transaction
hulud75 Jan 18, 2016
faa2e90
[Doc] more doc and test
hulud75 Jan 19, 2016
42389c4
[Refactor] the properties are lower case
hulud75 Jan 19, 2016
0409ff4
[Doc] a first REST documentation
hulud75 Jan 19, 2016
1beb452
[Doc] readme
hulud75 Jan 19, 2016
3bb1547
[Worker] Update the worker code
hulud75 Jan 19, 2016
7061d06
[REST] use the DELETE method to remove jobs and workers
hulud75 Jan 19, 2016
1ff4211
[Clean] remove unused file
hulud75 Jan 28, 2016
3617724
[Doc] sphinx source files
hulud75 Jan 28, 2016
cce36a6
[CORE] rewritten core to reduce db workload
BenMercenaries Apr 20, 2016
d99973b
[Fix] javascript crash when trying to parse cpu load and worker state…
BenMercenaries Apr 27, 2016
38012b9
Add python script to test Coalition
Sep 14, 2016
0edde4d
[Affinity] Handle several affinities
Sep 15, 2016
c9ee89f
[MySQL] Remove string default value
Sep 26, 2016
89fa366
[Affinity] Improving new affinity system
Sep 29, 2016
cfbf619
Merge pull request #30 from PiR-P/master
hulud75 Nov 28, 2016
61f173a
Cloud mode. AWS supported. New config file. New cloud module with
AlphonseAllais Dec 12, 2016
27daef4
Fix indentation.
AlphonseAllais Dec 12, 2016
fc4caf3
Fix indentation.
AlphonseAllais Dec 12, 2016
c371045
Merge pull request #33 from AlphonseAllais/cloud
hulud75 Dec 12, 2016
3d44cd1
ADDED getAffinities to api
Dec 7, 2016
873c500
ADDED install parameters (create mysql database structure if asked in…
Dec 7, 2016
9b5b20f
Add aws spot instance management.
AlphonseAllais Dec 12, 2016
48aa796
Rebase from upstream master.
AlphonseAllais Dec 20, 2016
5e9a916
[Add] SlickGrid for job table
Jan 3, 2017
85a6449
Move vim modeline to end of file.
AlphonseAllais Dec 30, 2016
6132ae5
Fix dependencies.
AlphonseAllais Jan 19, 2017
ab795e3
Fix dependencies.
AlphonseAllais Jan 19, 2017
2a0e804
Work on documentation.
AlphonseAllais Jan 23, 2017
ee4ee26
Merge branch 'jpisard' into grid-view
AlphonseAllais Jan 23, 2017
87caf19
Move files for better hierarchy.
AlphonseAllais Jan 23, 2017
43ba8a2
Move files.
AlphonseAllais Jan 23, 2017
fc17498
[Fix] Windows fixes
hulud75 Jan 24, 2017
ff41b31
Add SQL WHERE search field.
AlphonseAllais Jan 26, 2017
c4ba36d
SQL searches. WIP.
AlphonseAllais Feb 9, 2017
a0b6b4a
Stop workink with grid.
AlphonseAllais Feb 10, 2017
8446b8d
[JS] The affinities view was empty after the page loading
hulud75 Feb 22, 2017
9fa11cb
Move some files for better hierarchy.
AlphonseAllais Jan 26, 2017
f15ec27
Merge branch 'grid-view' of github.com:AlphonseAllais/coalition into …
AlphonseAllais Feb 24, 2017
9160dcb
[Fix] Affinities broken
AlphonseAllais Mar 1, 2017
a23a903
[Fix] Affinities broken
AlphonseAllais Mar 1, 2017
a185f49
[MySQL] Init the database before to create the DBSQL object
hulud75 Mar 1, 2017
010a3e7
[SQL] Add --init command line option to create the initial database.
AlphonseAllais Mar 9, 2017
dea43d3
[Doc] Move sphinx documentation files into directory 'doc'.
AlphonseAllais Mar 9, 2017
aa6801b
[Fix] Untrack source file.
AlphonseAllais Mar 9, 2017
d12c934
[Doc] Update configuration for cloud mode.
AlphonseAllais Mar 9, 2017
153e8b4
[Tests] Create travis configuration file.
AlphonseAllais Mar 10, 2017
527c95c
[Tests] Add cache in travis.
AlphonseAllais Mar 10, 2017
74ce2c6
Merge branch 'master' of https://github.com/MercenariesEngineering/co…
AlphonseAllais Mar 10, 2017
6915c34
[Git] Merge branch gh-pages
AlphonseAllais Mar 10, 2017
a6911a4
[Git] Merge branch 'tests' into development
AlphonseAllais Mar 10, 2017
55b2884
[Git] Merge branch 'migrations' into development
AlphonseAllais Mar 10, 2017
0584428
[Sql] Add database emptyness check when '--init' option is provided.
AlphonseAllais Mar 13, 2017
a7b66a3
[Tests] Add __init__.py for modules. Delete old test files.
AlphonseAllais Mar 13, 2017
98d20ab
[Git] Merge branch 'grid-view' into development
AlphonseAllais Mar 13, 2017
9625b21
[Git] Undelete migrations and tests files.
AlphonseAllais Mar 13, 2017
7762292
[Git] Merge branch 'cloud' into development
AlphonseAllais Mar 13, 2017
b482d72
[Git] Remove useless files.
AlphonseAllais Mar 13, 2017
f28a0e5
[Tests] Fix travis: sphinxcontrib.httpdomain has no wheels.
AlphonseAllais Mar 13, 2017
6e76215
[Tests] Make travis work.
AlphonseAllais Mar 13, 2017
3b0f4ab
[Tests] Make travis work.
AlphonseAllais Mar 13, 2017
1a5ac94
[Doc] Add more documentation.
AlphonseAllais Mar 16, 2017
a4b38cf
[Doc] Untrack files.
AlphonseAllais Mar 16, 2017
f282a4a
[Doc] Add some documentation files.
AlphonseAllais Mar 17, 2017
9c1492b
[Doc] Merge branch 'gh-pages' into development
AlphonseAllais Mar 17, 2017
72346dc
[Doc] Add requirements-doc.txt for readthedocs dependencies.
AlphonseAllais Mar 17, 2017
0adfbbb
[Doc] Update requirements files.
AlphonseAllais Mar 17, 2017
9976249
[Doc] Merge branch 'gh-pages' into development
AlphonseAllais Mar 17, 2017
0806cee
[Doc] Changes on README.rst file for gihtub frontpage.
AlphonseAllais Mar 17, 2017
825876b
[Doc] Fix.
AlphonseAllais Mar 17, 2017
c7c9c96
[Doc] Add badges.
AlphonseAllais Mar 17, 2017
8109a59
[Doc] Merge branch 'gh-pages' into development
AlphonseAllais Mar 17, 2017
83849e6
[Doc] Fix.
AlphonseAllais Mar 17, 2017
d5f4702
[Doc] Fix.
AlphonseAllais Mar 17, 2017
22d2d74
[Doc] Fix.
AlphonseAllais Mar 17, 2017
31bd216
[Doc] Fix.
AlphonseAllais Mar 17, 2017
cfda65d
[Doc] Fix.
AlphonseAllais Mar 17, 2017
edb6ed2
[Doc] Fix.
AlphonseAllais Mar 17, 2017
80f08cb
[Doc] Fix.
AlphonseAllais Mar 17, 2017
f23afa5
[Acl] Update the example configuration file.
AlphonseAllais Mar 17, 2017
8c4af8a
[WebFrontend] Remove obsolete css reference.
AlphonseAllais Mar 17, 2017
72a473e
[WebFrontend] Fix sql select.
AlphonseAllais Mar 17, 2017
495ce38
[WebFrontend] Default job sort by Id reversed to get latest jobs first.
AlphonseAllais Mar 20, 2017
1de0e21
[WebFrontend] Save and load jobs column order.
AlphonseAllais Mar 21, 2017
09fbb4e
[WebFrontend] Fix jobs sort key to upper.
AlphonseAllais Mar 21, 2017
2681413
[Cloud] Add config parameter as gcloud needs to know the instance zone.
AlphonseAllais Mar 28, 2017
6125d79
[Cloud] Add google cloud support.
AlphonseAllais Mar 28, 2017
154249e
[Cloud] Better syntax in cloud configuration file.
AlphonseAllais Mar 28, 2017
50d1f90
[Cloud] WIP Add qarnot support.
AlphonseAllais Mar 31, 2017
8772a24
[WebFrontend] Remove userless files.
AlphonseAllais Mar 31, 2017
e387455
[WebFrontend] Remove useless files.
AlphonseAllais Mar 31, 2017
dd974d4
[Doc] Importing old wiki documentation.
AlphonseAllais Mar 31, 2017
c731f95
Merge pull request #42 from AlphonseAllais/development
hulud75 Apr 3, 2017
c0932bc
[Test] Tests are not in verbose anymore
hulud75 Apr 3, 2017
538e4b6
[Test] The test waits for the workers to start
hulud75 Apr 4, 2017
0238a6d
[Fix] The Default db_type value is back
hulud75 Apr 4, 2017
65c048e
[Doc] Fixes
hulud75 Apr 4, 2017
b0c7a6a
[Config] Add default config section if missing
hulud75 Apr 4, 2017
eadb03b
[Config] Windows service False by default
hulud75 Apr 4, 2017
6ed867d
[Badge] Fix the build badge
hulud75 Apr 4, 2017
fa26138
[Test] Run travis in mysql and sqlite
hulud75 Apr 4, 2017
dfa168b
[Migration] Restore the init and migrate arguments
hulud75 Apr 4, 2017
bfb087a
[Fixed] A mysql table name may be lowercase
hulud75 Apr 4, 2017
17f7cd8
[Changed] Init the db if empty
hulud75 Apr 4, 2017
0596f4f
[Fixed] Text fields background color
hulud75 Apr 4, 2017
cabdba1
Add requirements.txt usefull for virtualenv installations.
AlphonseAllais Feb 27, 2017
4e69a9a
Add logout button for LDAP access.
AlphonseAllais Mar 1, 2017
c4abd5a
[API] Adds access control list (ACL) for LDAP groups.
AlphonseAllais Mar 8, 2017
0a6e05b
[Fix] Change sql requests syntax for sqlite support.
AlphonseAllais Mar 8, 2017
07a593f
[Fix] Pause field is an integer.
AlphonseAllais Apr 6, 2017
22a8951
Merge pull request #43 from AlphonseAllais/acl
hulud75 Apr 6, 2017
7cfed00
Merge pull request #44 from MercenariesEngineering/acl
hulud75 Apr 6, 2017
9593c5b
[WebFrontend] Fix #45 and better css.
AlphonseAllais Apr 7, 2017
64470b7
[Fix] Fix #26: worker state is waiting even without job
AlphonseAllais Apr 7, 2017
2e7a871
Merge pull request #46 from AlphonseAllais/master
hulud75 Apr 7, 2017
3c3ce9b
add Dockerfile, remove MySQLdb from requirements.txt as it is broken …
jonassvatos Jul 15, 2019
60614bb
expose port
jonassvatos Jul 15, 2019
037b0ed
add docker-compose.yml
jonassvatos Jul 15, 2019
bcfd7a6
Merge pull request #1 from NFAcz/master
doubleailes Oct 13, 2019
c6857d8
replace debian by slim buster
doubleailes Oct 13, 2019
5b3133e
replace by slim buster
doubleailes Oct 13, 2019
98b4fe0
Merge pull request #54 from doubleailes/master
hulud75 Oct 17, 2019
4cc432f
fix grammar in the first paragraph.
fletchgraham Jan 3, 2020
44ee6d9
Merge pull request #55 from fletchgraham/patch-1
hulud75 Jan 3, 2020
d1a3f7a
[Test] First CI
hulud75 Dec 10, 2020
0e5af31
[Fix] Don't need DBMySQL module if not used
hulud75 Dec 10, 2020
dda5507
[Server] Minimal options run a minimal server, no python mysql required
BenMercenaries Dec 9, 2020
b4287ff
[MySQLdb] Reimplemented context for MySQLdb as the API has changed
BenMercenaries Dec 11, 2020
3cdb07a
[MySQLdb] More robust context __exit__ test, warning in case of an error
BenMercenaries Dec 11, 2020
2ba02f8
[Add] Ubuntu MySQL github action
hulud75 Dec 11, 2020
ab3d15e
[Fix] Test failure fails in CI
hulud75 Dec 11, 2020
a54e245
Merge pull request #62 from MercenariesEngineering/hld_ci_mysql
hulud75 Dec 15, 2020
55d0510
Update ubuntu.yml
hulud75 Dec 6, 2022
b95bf57
[Tests] Fixed test latency to avoid strict time testing failure
BenMercenaries Dec 6, 2022
aa220b3
[Test] Disabled affinities first test because it is not really clear …
BenMercenaries Dec 6, 2022
685cc4a
mysql: create index on state attribute
aoblet Sep 25, 2023
523b270
Merge pull request #66 from TheYardVFX/feature/mysql-index-perf
BenMercenaries Nov 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Tests Ubuntu

# Run this workflow every time a new commit pushed to your repository
on: [push, pull_request]

jobs:
# Set the job key. The key is displayed as the job name
# when a job name is not provided
test:
# Name the Job
name: Tests Ubuntu
# Set the type of machine to run on
runs-on: ubuntu-latest
services:
mysql:
image: mysql:5.7
env:
MYSQL_ROOT_PASSWORD: root
ports:
- 3306:3306
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '2.x'

- name: Install Python modules
run: pip install twisted mysqlclient

- name: Test SQLite
run: python tests/main_test.py

- name: Verify MySQL connection from host
run: mysql --host 127.0.0.1 --port 3306 -uroot -proot -e "CREATE DATABASE base"

- name: Test MySQL
run: |
echo "[server]" > coalition.ini
echo "db_type=mysql" >> coalition.ini
echo "db_mysql_host=127.0.0.1" >> coalition.ini
echo "db_mysql_user=root" >> coalition.ini
echo "db_mysql_password=root" >> coalition.ini
echo "db_mysql_base=base" >> coalition.ini
python tests/main_test.py
29 changes: 29 additions & 0 deletions .github/workflows/win.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Tests Windows

# Run this workflow every time a new commit pushed to your repository
on: [push, pull_request]

jobs:
# Set the job key. The key is displayed as the job name
# when a job name is not provided
test:
# Name the Job
name: Tests Windows
# Set the type of machine to run on
runs-on: windows-latest

steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '2.x'

- name: Install Python modules
run: pip install twisted pypiwin32

- name: Test
run: python tests/main_test.py
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
*.pyc
*.log
log/*
docs/*
*.db
*.cache/
_build
_static
_templates
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: python
cache: pip
python:
- "2.7"
services:
- mysql
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq python-sqlite
- mysql -e 'CREATE DATABASE base;'
install: "pip install -r requirements.txt"
script:
- echo [server] > coalition.ini
- echo db_type=sqlite >> coalition.ini
- tests/main_test.py
- echo [server] > coalition.ini
- echo db_type=mysql >> coalition.ini
- echo db_mysql_user=travis >> coalition.ini
- tests/main_test.py
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM debian:buster-slim
WORKDIR /usr/src/app

RUN apt-get update && apt-get install -y python python-pip python-mysqldb libldap2-dev libsasl2-dev && rm -rf /var/lib/apt/lists/*

COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt

COPY . .
CMD [ "python", "./server.py", "--verbose" ]
EXPOSE 19211
48 changes: 48 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
.. |badge-doc| image:: https://readthedocs.org/projects/coalition/badge/?version=latest
:target: http://coalition.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. |badge-size| image:: https://reposs.herokuapp.com/?path=https://github.com/MercenariesEngineering/coalition

.. |badge-version| image:: https://badge.fury.io/gh/MercenariesEngineering%2Fcoalition.svg
:target: https://badge.fury.io/gh/MercenariesEngineering%2Fcoalition

.. |badge-coverage| image:: https://coveralls.io/repos/github/MercenariesEngineering/coalition/badge.svg?branch=development
:target: https://coveralls.io/github/MercenariesEngineering/coalition?branch=development

.. |badge-tests| image:: https://travis-ci.org/MercenariesEngineering/coalition.svg?branch=master

|badge-doc| |badge-size| |badge-version| |badge-coverage| |badge-tests|

`Full online documentation is availlble on ReadTheDocs <http://coalition.readthedocs.io/en/latest/>`_.

Coalition
=========

**Coalition** is a lightweight open source **job manager** client-server application whose role is to control **job execution in a set of computers**. A computer is acting as a **server** centralizing the list of jobs to be done. A set of physical (or virtual, eg. in the cloud) computers acting as **workers** shall be deployed, raising the global grid system ressources.

The server waits for incoming workers connections. Workers ask the server for a job to do. When the server is asked by a worker for a job, he decides which job to attribute according to simple **affinity rules**. The worker is now aware of which job it has to do. The worker executes the job. When the job is done, the worker informs the server of the job's execution status and ask for a new job.

*Coalition* should not be used on the public Internet but on **private LANs**, **cloud VLANs** or **VPN** for security reasons.

*Coalition* has been successfully used in production notably for **renderfarms**.

*Coalition* provides:

- **Broadcast discovery** for workers to find the server whithout configuration;
- **RESTfull python API** based on `Twisted matrix <https://twistedmatrix.com>`_ for program to program communication;
- **Cloud ready** configuration to manage starting/termination of workers in the cloud;
- **Web interface** for humans to control jobs, workers, affinities and view status and logs;
- **Database** interface for sqlite and mysql;
- **Logging** system;
- **Email notification** system;
- **Access Control List** when connected to a **LDAP** server;
- **Unittests** of critical code parts;
- **Source code** and **documentation** on `the development platform <https://github.com/MercenariesEngineering/coalition>`_.

The current stable version are 3.8 and 3.10.

The development version is |current-version|.

.. |current-version| include:: version

Empty file added __init.py__
Empty file.
Empty file added __init__.py
Empty file.
62 changes: 62 additions & 0 deletions _cloud_aws.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Configuration file for aws cloud

[authentication]
# Aws ssh key pair name
keyname=
# Accesskey
accesskey=
# Secretkey
secretaccesskey=

[storage]
# Storage name
name=
# Mountpoint in the worker
mountpoint=/mnt/bucket
# Location of the guerilla installer in the storage
guerillarenderfilename=srv/guerilla_render_2.0.0a13_linux64.tar.gz
# Location of the coalition installer in the storage
coalitionfilename=srv/coalition.tar.gz

[coalition]
# Coalition server IP
ip =
# Coalition server port
port = 19211
# Maximum number of simultaneous workers
workerinstancemax=3
# Delay in seconds between creation of instances.
# This prevents massive instances creation for big list of short time jobs.
# Default is 30 seconds.
workerinstancestartdelay=30
# Minimum lifetime in seconds before allowing the termination of useless
# worker instances. Since an instance requires several minutes to start,
# this option offers the possibility of keeping instances ready even during
# a short time without jobs.
# Default is 900 seconds = 15 minutes.
workerinstanceminimumlifetime=900

[worker]
# Prefix for the new instance name
nameprefix=cloud-
spot=true
# Instance type
# https://aws.amazon.com/ec2/instance-types/
# http://www.ec2instances.info/
instancetype=m3.medium
# Aws image, for instance debian-stretch-amd64-hvm-2016-09-23-08-48-ebs
imageid=ami-2f40bd40
# Aws subnet
subnetid=
# Aws instance profile
iaminstanceprofile=
# Aws security group
securitygroupid=
availabilityzone=
[spot]
# http://docs.aws.amazon.com/cli/latest/reference/ec2/request-spot-instances.html
# https://aws.amazon.com/ec2/spot/pricing/
spotprice=10
instancecount=1
type=one-time

58 changes: 58 additions & 0 deletions _cloud_gcloud.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Configuration file for google cloud

[authentication]
# Project name
;project=guerilla-cloud
# Location of json key file for service user got from developper interface
;keyfile=guerilla-cloud-34bf64e0149b.json
# Service account
;[email protected]
;scopes=default


[storage]
# Storage name
;name=guerilla-cloud-bucket
# Mountpoint in the worker
;mountpoint=/mnt/bucket
# Location of the coalition installer in the storage
;coalitionpackage=srv/coalition.tar.gz

[coalition]
# Coalition server IP
;ip = 10.132.0.2
# Coalition server port
;port = 19211
# Maximum number of simultaneous workers
;workerinstancemax=3
# Delay in seconds between creation of instances.
# This prevents massive instances creation for big list of short time jobs.
# Default is 30 seconds.
;workerinstancestartdelay=30
# Minimum lifetime in seconds before allowing the termination of useless
# worker instances. Since an instance requires several minutes to start,
# this option offers the possibility of keeping instances ready even during
# a short time without jobs.
# Default is 900 seconds = 15 minutes.
;workerinstanceminimumlifetime=900

[main_program]
;package=srv/guerilla_render_2.0.0a13_linux64.tar.gz
;environment=GUERILLA=/usr/local/bin/guerillarender/data/usr/local/guerilla GUERILLA_CLOUD_ROOT=/mnt/bucket

[worker]
# Install dir fr coalition and main program
;installdir=/usr/local/bin
# Prefix for the new instance name
;nameprefix=cloud-
;zone=europe-west1-d
;machinetype=f1-micro
;subnet=default
;preemptible=true
# maintenancepolicy must be TERMINATE if preemptible is true
;maintenancepolicy=TERMINATE
;image=debian-8-jessie-v20170308
;imageproject=debian-cloud
;bootdisksize=10
;bootdisktype=pd-standard

51 changes: 51 additions & 0 deletions _cloud_qarnot.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Configuration file for qarnot cloud

[authentication]
; client_token =

[storage]
# Storage name
;name=guerilla-cloud-bucket
# Mountpoint in the worker
;mountpoint=/mnt/bucket
# Location of the coalition installer in the storage
;coalitionpackage=srv/coalition.tar.gz

[coalition]
# Coalition server IP
;ip = 10.132.0.2
# Coalition server port
;port = 19211
# Maximum number of simultaneous workers
;workerinstancemax=3
# Delay in seconds between creation of instances.
# This prevents massive instances creation for big list of short time jobs.
# Default is 30 seconds.
;workerinstancestartdelay=30
# Minimum lifetime in seconds before allowing the termination of useless
# worker instances. Since an instance requires several minutes to start,
# this option offers the possibility of keeping instances ready even during
# a short time without jobs.
# Default is 900 seconds = 15 minutes.
;workerinstanceminimumlifetime=900

[main_program]
;package=srv/guerilla_render_2.0.0a13_linux64.tar.gz
;environment=GUERILLA=/usr/local/bin/guerillarender/data/usr/local/guerilla GUERILLA_CLOUD_ROOT=/mnt/bucket

[worker]
# Install dir fr coalition and main program
;installdir=/usr/local/bin
# Prefix for the new instance name
;nameprefix=cloud-
;zone=europe-west1-d
;machinetype=f1-micro
;subnet=default
;preemptible=true
# maintenancepolicy must be TERMINATE if preemptible is true
;maintenancepolicy=TERMINATE
;image=debian-8-jessie-v20170308
;imageproject=debian-cloud
;bootdisksize=10
;bootdisktype=pd-standard

Loading