Skip to content

Commit

Permalink
Edit example config
Browse files Browse the repository at this point in the history
  • Loading branch information
janhybs committed Nov 19, 2018
1 parent eadb229 commit 9d03065
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cfg/flow123d/metacentrum/execute.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module list -t
set -x

# the following line will be replaced later on
<ci-hpc-install>
# <ci-hpc-install>

# the following line will be replaced later on
/usr/bin/time <ci-hpc-exec>
Expand Down
13 changes: 8 additions & 5 deletions cfg/hello-world/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,25 @@ init-shell: !sh sh/init.sh

install:
- name: compilation-phase
output: stdout+log
output: stdout
git:
- url: git@github.com:janhybs/bench-stat.git
- url: https://github.com/janhybs/bench-stat.git
commit: <arg.commit.hello-world> # checkout to this commit
branch: <arg.branch.hello-world> # under this branch's name

shell: !sh sh/install.sh

test:
- name: memory-cache-test
output: log
output: 'null'
repeat:
exactly: 5
no-less-than: 5
exactly: 20
no-less-than: 20

parallel:
cpus: 0.51
prop: <test.cpu>

variables:
- matrix:
- test:
Expand All @@ -44,6 +46,7 @@ test:
cut-prefix: null
save-to-db: true
extra:
parallel: 15
metric: foobar # additional property of the test you want to save
test-id: <test.id|i> # accessing current test
test-name: <test.name> # accessing current build matric data

0 comments on commit 9d03065

Please sign in to comment.