aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/osmocom-jenkins-slave/tasks/osmo-ci.yml
blob: b26d6abf1f30b3b892c110fe61c962872ecc24b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
---

# this is from the "update-osmo-ci-on-slaves" jenkins job.  However,
# we need to initially install osmo-ci and the docker images *before*
# that jenkins job can execute subsequent updates

- name: deploy osmo-ci to home directory
  become: yes
  become_user: "{{ jenkins_user }}"
  git:
    repo: "https://git.osmocom.org/osmo-ci"
    dest: "/home/{{ jenkins_user }}/osmo-ci"

- name: deploy osmo-gsm-manuals to home directory
  become: yes
  become_user: "{{ jenkins_user }}"
  git:
    repo: "https://git.osmocom.org/osmo-gsm-manuals"
    dest: "/home/{{ jenkins_user }}/osmo-gsm-manuals"

- name: rebuild osmocom docker images for jenkins build tests
  become: yes
  become_user: "{{ jenkins_user }}"
  shell: ./scripts/osmo-ci-docker-rebuild.sh
  args:
    chdir: "/home/{{ jenkins_user }}/osmo-ci"