-
Notifications
You must be signed in to change notification settings - Fork 5
50 lines (47 loc) · 1.95 KB
/
deploy-development.yml
File metadata and controls
50 lines (47 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Deploy development
on:
workflow_dispatch: # manual run
registry_package: # on new package version (main path)
workflow_run: # HACK: redundant trigger to mitigate GitHub's huge delays in registry_package event processing
workflows: ["Release Workflow"]
types:
- completed
jobs:
trigger:
if: |
github.event_name == 'workflow_dispatch' ||
github.event.registry_package.package_version.container_metadata.tag.name == 'development' ||
(github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'development')
strategy:
fail-fast: false
matrix:
include:
- environment-name: "development"
gitlab-project-id: "3003"
- environment-name: "gcp-embedding-big"
gitlab-project-id: "3012"
- environment-name: "gcp-embedding-big-gpu"
gitlab-project-id: "3032"
- environment-name: "azure-embedding-big"
gitlab-project-id: "3011"
- environment-name: "azure-embedding-big-gpu"
gitlab-project-id: "3034"
- environment-name: "azure-description-big"
gitlab-project-id: "3010"
- environment-name: "azure-description-big-gpu"
gitlab-project-id: "3031"
- environment-name: "aws-embedding-big"
gitlab-project-id: "3013"
- environment-name: "aws-embedding-big-gpu"
gitlab-project-id: "3035"
- environment-name: "llama-description-big"
gitlab-project-id: "3044"
name: Deploy to ${{ matrix.environment-name }}
uses: epam/ai-dial-ci/.github/workflows/deploy-development.yml@3.1.3
with:
gitlab-project-id: ${{ matrix.gitlab-project-id }}
environment-name: ${{ matrix.environment-name }}
secrets:
DEPLOY_HOST: ${{ secrets.DEPLOY_HOST }}
DEPLOY_ACCESS_TOKEN: ${{ secrets.DEPLOY_ACCESS_TOKEN }}
DEPLOY_TRIGGER_TOKEN: ${{ secrets.DEPLOY_TRIGGER_TOKEN }}