Push docker images only from master [skip ci]

This commit is contained in:
Krisztián Szűcs committed 2019-11-08 17:10:41 +01:00
1 parent dc00b42970
commit 97ff8a122a
11 files changed
+33 -28

No files matched your search

+3 -8
View File
@@ -21,9 +21,11 @@ name: C++
on:
push:
paths:
- 'ci/**'
- 'cpp/**'
pull_request:
paths:
- 'ci/**'
- 'cpp/**'
jobs:
@@ -37,7 +39,6 @@ jobs:
image:
- amd64-conda-latest-cpp
- amd64-debian-10-cpp
# - amd64-ubuntu-16.04-cpp
- amd64-ubuntu-18.04-cpp
- amd64-ubuntu-18.04-cpp-cmake-3.2
- amd64-fedora-29-cpp
@@ -49,11 +50,6 @@ jobs:
image: amd64-debian-10-cpp
service: debian-cpp
debian: 10
# TODO(kszucs): earlier GCC has a compile error
# - name: AMD64 Ubuntu 16.04 C++
# image: amd64-ubuntu-16.04-cpp
# service: ubuntu-cpp
# ubuntu: 16.04
- name: AMD64 Ubuntu 18.04 C++
image: amd64-ubuntu-18.04-cpp
service: ubuntu-cpp
@@ -85,7 +81,7 @@ jobs:
shell: bash
run: docker-compose run ${{ matrix.service }}
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \
@@ -121,7 +117,6 @@ jobs:
submodules: true
- name: Install Dependencies
shell: bash
# TODO(kszucs): consider to use run_brew from travis_install_osx.sh
run: brew bundle --file=cpp/Brewfile
- name: Build
shell: bash
+2
View File
@@ -20,9 +20,11 @@ name: C#
on:
push:
paths:
- 'ci/**'
- 'csharp/**'
pull_request:
paths:
- 'ci/**'
- 'csharp/**'
jobs:
+2 -2
View File
@@ -77,7 +77,7 @@ jobs:
- name: Docker Run
run: docker-compose run ubuntu-lint
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \
@@ -106,7 +106,7 @@ jobs:
- name: Docker Run
run: docker-compose run ubuntu-docs
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \
+3 -1
View File
@@ -20,9 +20,11 @@ name: Go
on:
push:
paths:
- 'ci/**'
- 'go/**'
pull_request:
paths:
- 'ci/**'
- 'go/**'
jobs:
@@ -47,7 +49,7 @@ jobs:
- name: Docker Run
run: docker-compose run debian-go
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \
+3 -1
View File
@@ -20,6 +20,7 @@ name: Integration
on:
push:
paths:
- 'ci/**'
- 'go/**'
- 'js/**'
- 'cpp/**'
@@ -27,6 +28,7 @@ on:
- 'format/**'
pull_request:
paths:
- 'ci/**'
- 'go/**'
- 'js/**'
- 'cpp/**'
@@ -56,7 +58,7 @@ jobs:
- name: Docker Run
run: docker-compose run conda-integration
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \
+4 -2
View File
@@ -20,10 +20,12 @@ name: Java
on:
push:
paths:
- 'ci/**'
- 'cpp/**'
- 'java/**'
pull_request:
paths:
- 'ci/**'
- 'cpp/**'
- 'java/**'
@@ -60,7 +62,7 @@ jobs:
- name: Docker Run
run: docker-compose run debian-java
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \
@@ -88,7 +90,7 @@ jobs:
run: |
docker-compose run debian-java-jni
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \
+3 -1
View File
@@ -20,9 +20,11 @@ name: NodeJS
on:
push:
paths:
- 'ci/**'
- 'js/**'
pull_request:
paths:
- 'ci/**'
- 'js/**'
jobs:
@@ -47,7 +49,7 @@ jobs:
- name: Docker Run
run: docker-compose run debian-js
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \
+4 -10
View File
@@ -20,10 +20,12 @@ name: Python
on:
push:
paths:
- 'ci/**'
- 'cpp/**'
- 'python/**'
pull_request:
paths:
- 'ci/**'
- 'cpp/**'
- 'python/**'
@@ -40,7 +42,6 @@ jobs:
- amd64-conda-latest-python-3.6
- amd64-conda-latest-python-3.7
- amd64-debian-10-python-3
# - amd64-ubuntu-16.04-python-3
- amd64-ubuntu-18.04-python-3
- amd64-fedora-29-python-3
include:
@@ -61,11 +62,6 @@ jobs:
platform: debian
debian: 10
python: 3
# - name: AMD64 Ubuntu 16.04 Python 3
# image: amd64-ubuntu-16.04-python-3
# platform: ubuntu
# ubuntu: 16.04
# python: 3
- name: AMD64 Ubuntu 18.04 Python 3
image: amd64-ubuntu-18.04-python-3
platform: ubuntu
@@ -100,7 +96,7 @@ jobs:
shell: bash
run: docker-compose run ${{ matrix.platform }}-python
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \
@@ -109,8 +105,6 @@ jobs:
docker-compose push ${{ matrix.platform }}-python
docker-integration:
# TODO(kszucs): we should probably have a test with pandas='master' running
# with a daily cron schedule
name: ${{ matrix.name }}
runs-on: ubuntu-latest
strategy:
@@ -173,7 +167,7 @@ jobs:
docker-compose run \
${{ matrix.platform }}-python-${{ matrix.integration }}
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \
+3 -1
View File
@@ -20,10 +20,12 @@ name: R
on:
push:
paths:
- 'ci/**'
- 'cpp/**'
- 'r/**'
pull_request:
paths:
- 'ci/**'
- 'cpp/**'
- 'r/**'
@@ -70,7 +72,7 @@ jobs:
shell: bash
run: docker-compose run ${{ matrix.platform }}-r
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \
+3 -1
View File
@@ -20,11 +20,13 @@ name: C Glib & Ruby
on:
push:
paths:
- 'ci/**'
- 'cpp/**'
- 'c_glib/**'
- 'ruby/**'
pull_request:
paths:
- 'ci/**'
- 'cpp/**'
- 'c_glib/**'
- 'ruby/**'
@@ -70,7 +72,7 @@ jobs:
shell: bash
run: docker-compose run ${{ matrix.platform }}-ruby
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \
+3 -1
View File
@@ -20,9 +20,11 @@ name: Rust
on:
push:
paths:
- 'ci/**'
- 'rust/**'
pull_request:
paths:
- 'ci/**'
- 'rust/**'
jobs:
@@ -47,7 +49,7 @@ jobs:
- name: Docker Run
run: docker-compose run debian-rust
- name: Docker Push
if: github.event_name == 'push' # && github.ref == 'master'
if: github.event_name == 'push' && github.ref == 'master'
shell: bash
run: |
docker login \