Commit cbf5dd4b authored by Karol Hennessy's avatar Karol Hennessy

updates for new repo

parent cf395fbb
Pipeline #648 failed
......@@ -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 repos
- 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"
......
......@@ -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
......@@ -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 repos
- 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'"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment