From ba88c4def1901c438a566eedff00eb7d81451e10 Mon Sep 17 00:00:00 2001 From: Aleksey Date: Mon, 6 Nov 2023 16:27:18 +0100 Subject: [PATCH] chore: add deploy dev env (#13) --- .github/workflows/deploy_dev.yml | 16 ++++++++++++++++ .github/workflows/integration_tests.yml | 2 +- .github/workflows/pr_check_tests.yml | 2 +- .github/workflows/release.yml | 2 +- 4 files changed, 19 insertions(+), 3 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 00000000..14f11627 --- /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: '1825' + 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/integration_tests.yml b/.github/workflows/integration_tests.yml index 84a4ba2b..cb7f09f3 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -8,5 +8,5 @@ on: jobs: integration_tests: - uses: epam/ai-dial-ci/.github/workflows/trigger_integration_tests.yml@1.0.0 + uses: epam/ai-dial-ci/.github/workflows/trigger_integration_tests.yml@1.0.1 secrets: inherit diff --git a/.github/workflows/pr_check_tests.yml b/.github/workflows/pr_check_tests.yml index 8603fa3b..395adcc7 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_vanilla_docker.yml@1.0.0 + uses: epam/ai-dial-ci/.github/workflows/test_vanilla_docker.yml@1.0.1 secrets: inherit with: bypass_checks: false diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2a83f78d..4577d6fc 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_vanilla_docker.yml@1.0.0 + uses: epam/ai-dial-ci/.github/workflows/publish_vanilla_docker.yml@1.0.1 secrets: inherit