Skip integration tests for ECR, DockerHub, GitLab for now

This commit is contained in:
CrazyMax 2020-08-26 18:02:04 +02:00
parent 8c1b8dc260
commit e36a9c364b
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -7,34 +7,34 @@ on:
- releases/v* - releases/v*
jobs: jobs:
dockerhub: # dockerhub:
runs-on: ${{ matrix.os }} # runs-on: ${{ matrix.os }}
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
os: # os:
- ubuntu-20.04 # - ubuntu-20.04
- ubuntu-18.04 # - ubuntu-18.04
- ubuntu-16.04 # - ubuntu-16.04
logout: # logout:
- true # - true
- false # - false
steps: # steps:
- # -
name: Checkout # name: Checkout
uses: actions/checkout@v2.3.2 # uses: actions/checkout@v2.3.2
- # -
name: Login to DockerHub # name: Login to DockerHub
uses: ./ # uses: ./
with: # with:
username: ${{ secrets.DOCKERHUB_USERNAME_TEST }} # username: ${{ secrets.DOCKERHUB_USERNAME_TEST }}
password: ${{ secrets.DOCKERHUB_PASSWORD_TEST }} # password: ${{ secrets.DOCKERHUB_PASSWORD_TEST }}
logout: ${{ matrix.logout }} # logout: ${{ matrix.logout }}
- # -
name: Clear # name: Clear
if: always() # if: always()
run: | # run: |
rm -f ${HOME}/.docker/config.json # rm -f ${HOME}/.docker/config.json
gpr: gpr:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -62,58 +62,58 @@ jobs:
run: | run: |
rm -f ${HOME}/.docker/config.json rm -f ${HOME}/.docker/config.json
gitlab: # gitlab:
runs-on: ubuntu-latest # runs-on: ubuntu-latest
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
logout: # logout:
- true # - true
- false # - false
steps: # steps:
- # -
name: Checkout # name: Checkout
uses: actions/checkout@v2.3.2 # uses: actions/checkout@v2.3.2
- # -
name: Login to GitLab # name: Login to GitLab
uses: ./ # uses: ./
with: # with:
registry: registry.gitlab.com # registry: registry.gitlab.com
username: ${{ secrets.GITLAB_USERNAME_TEST }} # username: ${{ secrets.GITLAB_USERNAME_TEST }}
password: ${{ secrets.GITLAB_PASSWORD_TEST }} # password: ${{ secrets.GITLAB_PASSWORD_TEST }}
logout: ${{ matrix.logout }} # logout: ${{ matrix.logout }}
- # -
name: Clear # name: Clear
if: always() # if: always()
run: | # run: |
rm -f ${HOME}/.docker/config.json # rm -f ${HOME}/.docker/config.json
#
ecr: # ecr:
runs-on: ${{ matrix.os }} # runs-on: ${{ matrix.os }}
strategy: # strategy:
fail-fast: false # fail-fast: false
matrix: # matrix:
os: # os:
- ubuntu-20.04 # - ubuntu-20.04
- ubuntu-18.04 # - ubuntu-18.04
- ubuntu-16.04 # - ubuntu-16.04
logout: # logout:
- true # - true
- false # - false
steps: # steps:
- # -
name: Checkout # name: Checkout
uses: actions/checkout@v2.3.1 # uses: actions/checkout@v2.3.1
- # -
name: Login to ECR # name: Login to ECR
uses: ./ # uses: ./
with: # with:
registry: ${{ secrets.AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com # registry: ${{ secrets.AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ secrets.AWS_REGION }}.amazonaws.com
username: ${{ secrets.AWS_ACCESS_KEY_ID }} # username: ${{ secrets.AWS_ACCESS_KEY_ID }}
password: ${{ secrets.AWS_SECRET_ACCESS_KEY }} # password: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
logout: ${{ matrix.logout }} # logout: ${{ matrix.logout }}
- # -
name: Clear # name: Clear
if: always() # if: always()
run: | # run: |
rm -f ${HOME}/.docker/config.json # rm -f ${HOME}/.docker/config.json