From 28bee38d886a4e2b0614a3aa7cfcfd3baaac286c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Wed, 9 Jun 2021 16:51:59 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=91=B7=20Allow=20GitHub=20workflow=20?= =?UTF-8?q?dispatch=20to=20trigger=20test=20and=20deploy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 1 + .github/workflows/test.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 66f4b8e..6414e5f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -4,6 +4,7 @@ on: push: branches: - master + workflow_dispatch: jobs: build: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index abfe7c0..82a8896 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,6 +4,7 @@ on: push: pull_request: types: [opened, synchronize] + workflow_dispatch: jobs: build: From f1336d2226cca96eca9f2228f4a701b0c6c96b80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Wed, 9 Jun 2021 17:02:54 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=8C=20Pin=20install=20and=20deploy?= =?UTF-8?q?=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- .github/workflows/test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6414e5f..f31f1cd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,7 +36,7 @@ jobs: with: python-version: "3.7" - name: Install Dependencies - run: python3.7 -m pip install docker pytest + run: python3.7 -m pip install "docker>=4.4.4,<5.0.0" "pytest>=6.2.4,<7.0.0" - name: Deploy Image run: bash scripts/build-push.sh env: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 82a8896..f26164a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -36,7 +36,7 @@ jobs: with: python-version: "3.7" - name: Install Dependencies - run: python3.7 -m pip install docker pytest + run: python3.7 -m pip install "docker>=4.4.4,<5.0.0" "pytest>=6.2.4,<7.0.0" - name: Test Image run: bash scripts/test.sh env: