
Remove docker `files` check. This check works only in `check` and `gate` steps, but is not functioning properly in `post` step and always fail resulting in not pushed images of monasca/base. Change-Id: Id960e831948ee87e078688e43b864b22a6ee11ae
22 lines
666 B
YAML
22 lines
666 B
YAML
---
|
|
- hosts: all
|
|
tasks:
|
|
- name: Run node setup script
|
|
shell: "{{ zuul.project.src_dir }}/playbooks/setup_ci.sh"
|
|
become: true
|
|
|
|
- name: Changing permission of Docker socket to 666
|
|
file:
|
|
path: /run/docker.sock
|
|
mode: 666
|
|
become: true
|
|
|
|
- name: Build monasca-base Docker image
|
|
shell: "{{ zuul.project.src_dir }}/docker/build_base_image.sh"
|
|
environment:
|
|
MONASCA_COMMON_TAG: "{{ zuul.tag if zuul.pipeline == 'release' else zuul.branch | basename }}"
|
|
become: true
|
|
|
|
- name: List images
|
|
shell: "docker images --format '{% raw %}{{ .Repository }}:{{ .Tag }}{% endraw %}' | grep monasca"
|