Skip to content
This repository was archived by the owner on Mar 27, 2023. It is now read-only.

Commit c677c74

Browse files
committed
updated readme and paused and unpaused ci jobs
1 parent b5d26ac commit c677c74

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

.gitlab-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Build Documentation:
8181
-f nginx/ci/Dockerfile .
8282
- docker push $CI_REGISTRY_IMAGE/frontend:latest
8383

84-
.Build backend:
84+
Build backend:
8585
stage: build
8686
image: docker:stable
8787
variables:
@@ -139,7 +139,7 @@ e2e: &cypress
139139
expire_in: 7 days
140140

141141
# use this test with gitlab-runner locally
142-
e2e-local:
142+
.e2e-local:
143143
<<: *cypress
144144
image: localhost:5000/backend:latest
145145

README.md

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -175,24 +175,7 @@ Then, commit your changes in git. Gitlab runner requires that you commit changes
175175
gitlab-runner exec docker e2e-local
176176
```
177177

178-
179-
Run cypress tests locally by running the following commands. First build the application stack and cypress container:
180-
181-
```
182-
docker-compose -f docker-compose.ci.yml -f cypress.yml build
183-
```
184-
185-
Then start the application:
186-
187-
```
188-
docker-compose -f docker-compose.ci.yml up -d
189-
```
190-
191-
Then run cypress tests:
192-
193-
```
194-
docker-compose -f docker-compose.ci.yml -f cypress.yml up
195-
```
178+
Before you push your changes to GitLab, make sure that you uncomment the `e2e-local` job by adding `.` in front of it (`.e2e-local`).
196179

197180
# ToDo
198181

0 commit comments

Comments
 (0)