Skip to content

Instantly share code, notes, and snippets.

@huseyin
Created August 5, 2016 16:55
Show Gist options
  • Save huseyin/74717536847f65749baee393f9065065 to your computer and use it in GitHub Desktop.
Save huseyin/74717536847f65749baee393f9065065 to your computer and use it in GitHub Desktop.
"dart" projesi yapılandırma şablonu (öğrencinin kullanabileceği)
name: "<container-name>"
image: "<container-image>"
tag: "<container-tag>"
cmd: ["<cmd>", "[args..]"]
env: ["FOO=BAR"]
workdir: "<directory>"
user: "<nick-name>"
email: "<email>"
os_type: unix|osx|windows # Öntanımlı Unix'tir.
files:
- "file-1"
- "file-2"
remote:
repo: "<gitub-repository>"
private: true|false
ssh_configs:
username: "<username>"
public_key: "<public_key>"
private_key: "<private_key>"
passphare: "<password>"
available: true|false
# Buradaki lojik ise şudur: Eğer available işaretlenmişse username'i
# alarak sistemde var olan bilgilerini kullan. İşaretlenmemişse diğer
# bilgileri de kullanarak bir ssh credential'ı oluştur.
deps:
lang: "<language>"
packages:
- foo
- bar
- baz
directive: "<directive>"
conn_timeout: 0
kill_timeout: 0
compare_io:
io: output|errput
source: "<file_path>"
logs:
attach_stdio: true|false
dir: "<directory>"
format: json|yaml
memory: 1024
cpu: 1
reporting:
dir: "<directory>"
format: json|yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment