aboutsummaryrefslogtreecommitdiff
path: root/ldcg-python-manylinux-tensorflow/ansible/roles/ldcg_manylinux_tensorflow/tasks/publish.yml
blob: 1931391f8a18c0a5401fdf86001e320136a2cefe (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
27
28
---
- name: Run repair on wheels
  ansible.builtin.include_role:
    name: linaro
    tasks_from: auditwheel-repair.yml

- name: Prepare wheels for publishing
  ansible.builtin.include_role:
    name: linaro
    tasks_from: publish-wheels.yml

- name: Prepare wheels for cache upload
  when: tensorflow_version != 'git' and not prebuild_release
  block:
    - name: Copy wheels for cache upload
      ansible.builtin.copy:
        src: "{{ wheels_dir }}"
        dest: "{{ build_dir }}/cache_upload"
        owner: "buildslave"
        group: "buildslave"
        mode: 0644

    - name: Prepare wheels for cache
      ansible.builtin.include_role:
        name: linaro
        tasks_from: publish-wheels-cache.yml
      vars:
        wheels_dir: "{{ build_dir }}/cache_upload"