You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Event:** On Pull Request → any branch into develop
10
10
11
-
- Build
12
-
- Unit Test
11
+
**Jobs:**
13
12
14
-
### Description:
13
+
- Install dependencies (caches)
14
+
- Run isort
15
+
- Run black
16
+
- Run flake8
17
+
- Build images (caches)
18
+
- Push images to Docker Hub
15
19
16
-
## Staging - CI/CD Pipeline
20
+
**Description:**
21
+
This workflow is triggered on Pull Requests into the develop branch. It ensures a clean and standardized codebase by installing dependencies, checking code formatting with isort, black, and flake8, and finally building and pushing Docker images to Docker Hub.
**Event:** On Pull Request → any branch into staging
23
28
24
-
- Build
25
-
- Unit Test
26
-
- Deploy
29
+
**Jobs:**
27
30
28
-
### Description:
31
+
- Install dependencies (caches)
32
+
- Run isort
33
+
- Run black
34
+
- Run flake8
35
+
- Build images (caches)
36
+
- Push images to Docker Hub
37
+
- Create infrastructure
38
+
- Configure infrastructure
39
+
- Deploy application using Docker Compose
40
+
- Clean up following the concept of A/B deploy
29
41
30
-
## Production - CI/CD Pipeline
42
+
**Description:**
43
+
This pipeline is designed for the staging environment and is triggered on Pull Requests into the staging branch. It includes steps to ensure code quality, build and push Docker images, create and configure necessary infrastructure, and deploy the application using Docker Compose. The cleanup process follows the A/B deployment concept.
**Event:** On Pull Request → any branch into master
37
50
38
-
- Build
39
-
- Test
40
-
- Deploy
51
+
**Jobs:**
41
52
42
-
### Description:
53
+
- Install dependencies (caches)
54
+
- Run isort
55
+
- Run black
56
+
- Run flake8
57
+
- Build images (caches)
58
+
- Push images to Docker Hub
59
+
- Create infrastructure
60
+
- Configure infrastructure
61
+
- Deploy application using Docker Compose
62
+
- Clean up following the concept of A/B deploy
63
+
64
+
**Description:**
65
+
The production pipeline is triggered on Pull Requests into the master branch, indicating changes are ready for deployment to the production environment. It follows a similar process to the staging pipeline but is specifically tailored for the production environment. The cleanup process adheres to the A/B deployment concept, ensuring a smooth transition between versions.
0 commit comments