This repository was archived by the owner on Feb 6, 2026. It is now read-only.
Repository navigation
96 lines (83 loc) · 2.22 KB
/
Copy pathdeploy-service-restart.yml
File metadata and controls
96 lines (83 loc) · 2.22 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name: Restart Services to refresh memory
run-name: Refresh Service Unit in ${{ inputs.environment }} by @${{ github.actor }}
on:
workflow_call:
inputs:
environment:
type: string
default: "tools"
workflow_dispatch:
inputs:
environment:
type: choice
required: true
description: "Where to deploy"
default: "tools"
options:
- tools
- production
- perf
# We only one one deploy happening at a time per environment, so if one is
# in progress, we'll wait for it to finish before starting the
# next one.
# Note that this will also wait for E2E tests to finish, as per the crons workflows
concurrency:
group: deploy-${{ inputs.environment }}
cancel-in-progress: false
jobs:
restart-rebaser:
uses: ./.github/workflows/service-restart.yml
with:
environment: ${{ inputs.environment }}
service: rebaser
secrets: inherit
restart-pinga:
needs: restart-rebaser
uses: ./.github/workflows/service-restart.yml
with:
environment: ${{ inputs.environment }}
service: pinga
secrets: inherit
restart-edda:
needs: restart-rebaser
uses: ./.github/workflows/service-restart.yml
with:
environment: ${{ inputs.environment }}
service: edda
secrets: inherit
restart-luminork:
needs: restart-pinga
uses: ./.github/workflows/service-restart.yml
with:
environment: ${{ inputs.environment }}
service: luminork
secrets: inherit
restart-sdf:
needs: restart-luminork
uses: ./.github/workflows/service-restart.yml
with:
environment: ${{ inputs.environment }}
service: sdf
secrets: inherit
sleep-between:
name: Wait for 10 minutes
needs: restart-sdf
runs-on: ubuntu-latest
steps:
- name: Sleep for 10 minutes
run: sleep 600
e2e-validation:
needs:
- sleep-between
uses: ./.github/workflows/e2e-validation.yml
with:
environment: ${{ inputs.environment }}
test_dir: cypress/e2e
secrets: inherit
api-test:
needs:
- sleep-between
uses: ./.github/workflows/run-api-test.yml
with:
environment: ${{ inputs.environment }}
secrets: inherit