From 4fb51dd17cca4be2ad863e8db81c6e2949cfd536 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Tue, 7 Nov 2023 17:14:46 +0100 Subject: [PATCH] chore: add workflow to deploy on dev (#14) Co-authored-by: Anton Dubovik --- .github/workflows/deploy_dev.yml | 16 ++++++++++++++++ .github/workflows/pr_check_tests.yml | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/deploy_dev.yml diff --git a/.github/workflows/deploy_dev.yml b/.github/workflows/deploy_dev.yml new file mode 100644 index 0000000..675ffd3 --- /dev/null +++ b/.github/workflows/deploy_dev.yml @@ -0,0 +1,16 @@ +name: Deploy dev trigger + +on: + registry_package: + +jobs: + gitlab-dev-deploy: + if: ${{ github.event.registry_package.package_version.container_metadata.tag.name == 'development' }} + uses: epam/ai-dial-ci/.github/workflows/deploy-development.yml@1.0.1 + with: + gitlab-project-id: '1822' + gitlab-project-ref: 'master' + secrets: + DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }} + DEPLOY_ACCESS_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }} + DEPLOY_TRIGGER_TOKEN: ${{ secrets.DEPLOY_TRIGGER_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/pr_check_tests.yml b/.github/workflows/pr_check_tests.yml index 9c3f861..10610b9 100644 --- a/.github/workflows/pr_check_tests.yml +++ b/.github/workflows/pr_check_tests.yml @@ -8,7 +8,7 @@ on: jobs: run_tests: - uses: epam/ai-dial-ci/.github/workflows/test_python_docker.yml@1.0.0 + uses: epam/ai-dial-ci/.github/workflows/test_python_docker.yml@1.0.1 with: bypass_checks: false python_version: 3.11 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f859cfa..1ca620a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,5 +9,5 @@ env: jobs: release: - uses: epam/ai-dial-ci/.github/workflows/publish_python_docker.yml@1.0.0 + uses: epam/ai-dial-ci/.github/workflows/publish_python_docker.yml@1.0.1 secrets: inherit \ No newline at end of file