Kaynağa Gözat

force build docker image if git master changes

pull/464/head
Horvath Gergely 5 yıl önce
ebeveyn
işleme
203a319881
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. +2
    -1
      roles/matrix-bridge-mx-puppet-skype/tasks/setup_install.yml

+ 2
- 1
roles/matrix-bridge-mx-puppet-skype/tasks/setup_install.yml Dosyayı Görüntüle

@@ -35,6 +35,7 @@
repo: https://github.com/Sorunome/mx-puppet-skype.git repo: https://github.com/Sorunome/mx-puppet-skype.git
dest: "{{ matrix_mx_puppet_skype_docker_src_files_path }}" dest: "{{ matrix_mx_puppet_skype_docker_src_files_path }}"
force: "yes" force: "yes"
register: matrix_mx_puppet_skype_git_pull_results
when: "matrix_mx_puppet_skype_enabled|bool and matrix_mx_puppet_skype_container_image_self_build" when: "matrix_mx_puppet_skype_enabled|bool and matrix_mx_puppet_skype_container_image_self_build"


- name: Ensure MX Puppet Skype Docker image is built - name: Ensure MX Puppet Skype Docker image is built
@@ -45,7 +46,7 @@
dockerfile: Dockerfile dockerfile: Dockerfile
path: "{{ matrix_mx_puppet_skype_docker_src_files_path }}" path: "{{ matrix_mx_puppet_skype_docker_src_files_path }}"
pull: yes pull: yes
when: "matrix_mx_puppet_skype_enabled|bool and matrix_mx_puppet_skype_container_image_self_build"
when: "matrix_mx_puppet_skype_enabled|bool and matrix_mx_puppet_skype_container_image_self_build and matrix_mx_puppet_skype_git_pull_results.changed"


- name: Check if an old database file already exists - name: Check if an old database file already exists
stat: stat:


Yükleniyor…
İptal
Kaydet