Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
deploy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
paradise
deploy
Commits
4f3e8082
There was an error fetching the commit references. Please try again later.
Commit
4f3e8082
authored
4 years ago
by
Vladimír Štill
Browse files
Options
Downloads
Patches
Plain Diff
ansible: Update eval-haskell
parent
eadf482e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ansible/eval-haskell.fi.muni.cz.yml
+48
-11
48 additions, 11 deletions
ansible/eval-haskell.fi.muni.cz.yml
with
48 additions
and
11 deletions
ansible/eval-haskell.fi.muni.cz
→
ansible/eval-haskell.fi.muni.cz
.yml
+
48
−
11
View file @
4f3e8082
...
...
@@ -5,6 +5,7 @@
ghc_version
:
8.10.2
ghc_prefix
:
'
/opt/ghc/{{ghc_version}}'
ib015_workers
:
8
ib016_workers
:
2
frag_eval_tools
:
-
auto
-
cc
...
...
@@ -147,14 +148,13 @@
cmd
:
darcs get https://paradise.fi.muni.cz/~xstill/src/frag/
when
:
not frag_chekout.stat.exists
- name: Update frag
command:
chdir: /var/frag/frag
cmd: '{{item}}'
loop:
- darcs pull -a
- env CXX=clang++ PWD=/var/frag/frag make
# - /var/frag/frag/frag-teacher init --subject ib015 --daemon eval --eval-count 8
# - name: Update frag
# command:
# chdir: /var/frag/frag
# cmd: '{{item}}'
# loop:
# - darcs pull -a
# - env CXX=clang++ PWD=/var/frag/frag make
-
name
:
Builder user
user
:
...
...
@@ -331,13 +331,13 @@
stat
:
path
:
'
/var/frag/ib015_eval_{{item}}/.cabal'
loop
:
'
{{range(ib015_workers)}}'
register: dot_cabal
register
:
dot_cabal
_ib015
-
name
:
Cabal update
command
:
/opt/cabal/bin/cabal v1-update
become
:
True
become_user
:
'
ib015_eval_{{item}}'
when: not dot_cabal.results[item].stat.exists
when
:
not dot_cabal
_ib015
.results[item].stat.exists
loop
:
'
{{range(ib015_workers)}}'
-
name
:
Hackage modules
...
...
@@ -357,12 +357,49 @@
-
name
:
Insstall hsExprTest
command
:
chdir: '/var/frag/ib015_eval_{{item}}/hsExprTest/
src/hs
'
chdir
:
'
/var/frag/ib015_eval_{{item}}/hsExprTest/'
cmd
:
/opt/cabal/bin/cabal v1-install
become
:
True
become_user
:
'
ib015_eval_{{item}}'
loop
:
'
{{range(ib015_workers)}}'
# TODO: deduplicate
-
name
:
.cabal exits?
stat
:
path
:
'
/var/frag/ib016_eval_{{item}}/.cabal'
loop
:
'
{{range(ib016_workers)}}'
register
:
dot_cabal_ib016
-
name
:
Cabal update
command
:
/opt/cabal/bin/cabal v1-update
become
:
True
become_user
:
'
ib016_eval_{{item}}'
when
:
not dot_cabal_ib016.results[item].stat.exists
loop
:
'
{{range(ib016_workers)}}'
-
name
:
Hackage modules
command
:
/opt/cabal/bin/cabal v1-install QuickCheck lens mtl exceptions parsec base-unicode-symbols HUnit
become
:
True
become_user
:
'
ib016_eval_{{item}}'
loop
:
'
{{range(ib016_workers)}}'
-
name
:
hsExprTest checkout
git
:
dest
:
'
/var/frag/ib016_eval_{{item}}/hsExprTest'
repo
:
https://github.com/vlstill/hsExprTest.git
update
:
True
become
:
True
become_user
:
'
ib016_eval_{{item}}'
loop
:
'
{{range(ib016_workers)}}'
-
name
:
Insstall hsExprTest
command
:
chdir
:
'
/var/frag/ib016_eval_{{item}}/hsExprTest/'
cmd
:
/opt/cabal/bin/cabal v1-install
become
:
True
become_user
:
'
ib016_eval_{{item}}'
loop
:
'
{{range(ib016_workers)}}'
-
name
:
Enable user namespaces
sysctl
:
name
:
kernel.unprivileged_userns_clone
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment