Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
HEV - High Energy Ventilator
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
HEV - High Energy Ventilator
Commits
cbf5dd4b
Commit
cbf5dd4b
authored
Nov 16, 2020
by
Karol Hennessy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates for new repo
parent
cf395fbb
Pipeline
#648
failed
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
26 deletions
+8
-26
install_software.yml
ansible/playbooks/install_software.yml
+3
-12
platform-io.sh
ansible/playbooks/platform-io.sh
+1
-1
refresh_software.yml
ansible/playbooks/refresh_software.yml
+4
-13
No files found.
ansible/playbooks/install_software.yml
View file @
cbf5dd4b
...
...
@@ -28,7 +28,6 @@
download_dir
:
/home/pi/Downloads
repos
:
-
hev-sw
-
hev-display
tasks
:
-
name
:
include vars
...
...
@@ -70,18 +69,10 @@
become
:
yes
become_user
:
root
-
name
:
clone git repo
s
-
name
:
clone git repo
git
:
repo
:
https://gitlab+deploy-token-960:xusyzScX2ZMHzRsMyEey@gitlab.cern.ch/hev-sw/{{ item }}.git
dest
:
"
{{
ansible_env.HOME
}}/{{
item
}}"
loop
:
"
{{
repos
}}"
-
name
:
reset git users
replace
:
path
:
"
{{
ansible_env.HOME
}}/{{
item
}}/.git/config"
regexp
:
'
url
=
.*'
replace
:
'
url
=
https://gitlab.cern.ch/hev-sw/{{
item
}}.git'
loop
:
"
{{
repos
}}"
repo
:
https://ohwr.org/project/hev.git
dest
:
"
{{
ansible_env.HOME
}}/hev"
-
name
:
install platformio
command
:
"
{{
download_dir
}}/platform-io.sh"
...
...
ansible/playbooks/platform-io.sh
View file @
cbf5dd4b
...
...
@@ -61,4 +61,4 @@ pio lib --global install 5418 # uCRC16Lib
pio lib
--global
install
5574
# INA2xx
pio lib
--global
install
820
# Adafruit MCP9808
pio run
pio run
-t
nobuild
-t
upload
#
pio run -t nobuild -t upload
ansible/playbooks/refresh_software.yml
View file @
cbf5dd4b
...
...
@@ -27,8 +27,7 @@
vars
:
download_dir
:
/home/pi/Downloads
repos
:
-
hev-sw
-
hev-display
-
hev
tasks
:
-
name
:
include vars
...
...
@@ -58,18 +57,10 @@
state
:
absent
loop
:
"
{{
repos
}}"
-
name
:
clone git repo
s
-
name
:
clone git repo
git
:
repo
:
https://gitlab+deploy-token-960:xusyzScX2ZMHzRsMyEey@gitlab.cern.ch/hev-sw/{{ item }}.git
dest
:
"
{{
ansible_env.HOME
}}/{{
item
}}"
loop
:
"
{{
repos
}}"
-
name
:
reset git users
replace
:
path
:
"
{{
ansible_env.HOME
}}/{{
item
}}/.git/config"
regexp
:
'
url
=
.*'
replace
:
'
url
=
https://gitlab.cern.ch/hev-sw/{{
item
}}.git'
loop
:
"
{{
repos
}}"
repo
:
https://ohwr.org/project/hev.git
dest
:
"
{{
ansible_env.HOME
}}/hev"
-
name
:
check pi version
shell
:
"
pinout
|
grep
'BCM2711'"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment