git: depth: 3 language: shell os: linux dist: xenial env: global: - CONTAINER=registry.centos.org/centos:7 services: - docker install: - docker pull ${CONTAINER} - docker build -t leapp-tests -f utils/docker-tests/Dockerfile utils/docker-tests jobs: include: - stage: deploy script: - docker run --env CI=$CI --rm -ti -v ${PWD}:/payload --entrypoint "/bin/bash" leapp-tests -c "make install-deps && make dashboard_data" - bash ./utils/update_dashboard.sh if: branch = master AND type = push