Skip to content

Commit 01f2706

Browse files
committed
chore(lint): fix yaml linting issues
1 parent 7f05488 commit 01f2706

14 files changed

+153
-165
lines changed

.github/workflows/arborescence-monitoring.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,3 @@ jobs:
5555
WEBHOOK_URL: '${{ secrets.DASHBOARD_API_ARBORESCENCE_SLACK_WEBHOOK_URL }}'
5656
run: |
5757
curl -X POST "${WEBHOOK_URL}" -H 'Content-Type: application/json' -d "${MONITORING_RESULT}"
58-

admin/package-lock.json

+5-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

admin/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"p-queue": "^8.0.0",
111111
"pako": "^2.1.0",
112112
"prettier": "^3.3.2",
113-
"prettier-plugin-ember-template-tag": "^2.0.2",
113+
"prettier-plugin-ember-template-tag": "^2.0.4",
114114
"query-string": "^9.0.0",
115115
"qunit": "^2.17.2",
116116
"qunit-dom": "^3.0.0",

docker/docker-compose-dev-api.yaml

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
version: '3'
32

43
services:
@@ -7,15 +6,15 @@ services:
76
mem_limit: 1g
87
mem_reservation: 128M
98
cpus: 5
10-
build:
9+
build:
1110
dockerfile: ../docker/dockerfiles/Dockerfile.hapi
1211
context: ../api/
1312
target: dev
1413
volumes:
15-
- ../api:/code
16-
- api_node_modules:/code/node_modules/
17-
- .env:/code/.env
18-
command: ["bash", "-c", "npm install && npm run dev"]
14+
- ../api:/code
15+
- api_node_modules:/code/node_modules/
16+
- .env:/code/.env
17+
command: [bash, -c, "npm install && npm run dev"]
1918

2019
volumes:
21-
api_node_modules:
20+
api_node_modules:

docker/docker-compose-dev-front.yaml

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,45 @@
1-
21
version: '3'
32
services:
43
orga:
5-
build:
4+
build:
65
dockerfile: ../docker/dockerfiles/Dockerfile.ember
76
context: ../orga
87
target: dev
9-
volumes:
8+
volumes:
109
- ../orga/:/code
1110
- orga_node_modules:/code/node_modules
1211
image: pix/orga:dev
1312
command: npx ember serve --port 80 --proxy http://api:3000
1413

1514
admin:
16-
build:
15+
build:
1716
dockerfile: ../docker/dockerfiles/Dockerfile.ember
1817
context: ../admin/
1918
target: dev
20-
volumes:
19+
volumes:
2120
- ../admin/:/code
2221
- admin_node_modules:/code/node_modules
2322
image: pix/admin:dev
2423
command: npx ember serve --port 80 --proxy http://api:3000
2524

2625
certif:
27-
build:
26+
build:
2827
dockerfile: ../docker/dockerfiles/Dockerfile.ember
2928
context: ../certif/
3029
target: dev
31-
volumes:
30+
volumes:
3231
- ../certif/:/code
3332
- certif_node_modules:/code/node_modules
3433
image: pix/certif:dev
3534
command: npx ember serve --port 80 --proxy http://api:3000
3635

3736
mon-pix:
3837
image: pix/mon-pix:dev
39-
build:
38+
build:
4039
dockerfile: ../docker/dockerfiles/Dockerfile.ember
4140
context: ../mon-pix/
4241
target: dev
43-
volumes:
42+
volumes:
4443
- ../mon-pix/:/code
4544
- mon-pix_node_modules:/code/node_modules
4645
command: npx ember serve --port 80 --proxy http://api:3000
@@ -49,4 +48,4 @@ volumes:
4948
orga_node_modules:
5049
admin_node_modules:
5150
mon-pix_node_modules:
52-
certif_node_modules:
51+
certif_node_modules:

docker/docker-compose.yaml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
21
version: '3'
32

43
services:
5-
64
postgres:
75
image: postgres:16.6-alpine
86
container_name: pix-api-postgres

high-level-tests/e2e/docker-compose.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ services:
2727
container_name: pix-e2e-orga
2828
user: node
2929
# renovate datasource=node-version depName=node
30-
image: node:22.13.0
30+
image: node:22.13.0
3131
command: npx ember serve --proxy http://api:3000
3232
volumes:
3333
- ../..:/code
@@ -38,7 +38,7 @@ services:
3838
monpix:
3939
container_name: pix-e2e-monpix
4040
user: node
41-
image: node:22.13.0
41+
image: node:22.13.0
4242
command: npx ember serve --proxy http://api:3000
4343
volumes:
4444
- ../..:/code
@@ -49,7 +49,7 @@ services:
4949
api:
5050
container_name: pix-e2e-api
5151
user: node
52-
image: node:22.13.0
52+
image: node:22.13.0
5353
env_file: ./env-api
5454
command: npm run dev
5555
volumes:

high-level-tests/load-testing/config/common.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
config:
2-
processor: "../processor/functions.js"
2+
processor: ../processor/functions.js
33
environments:
44
localhost:
55
target: http://localhost:3000
@@ -11,13 +11,13 @@ config:
1111
publish-metrics:
1212
- type: datadog
1313
apiKey: "{{ $processEnvironment.DATADOG_API_KEY }}"
14-
apiHost: "api.datadoghq.eu"
15-
prefix: 'artillery.'
14+
apiHost: api.datadoghq.eu
15+
prefix: artillery.
1616
tags:
1717
- "reporter:artillery"
1818
- "type:load-testing"
1919
event:
20-
title: "Plugin integration test"
20+
title: Plugin integration test
2121
priority: high
2222
send: true
2323
tags:

high-level-tests/load-testing/scenarios/signup-and-campaign-participation.yaml

+39-39
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ config:
99
name: Ramp up load
1010

1111
variables:
12-
campaignCode: "SIMPLIFIE"
12+
campaignCode: SIMPLIFIE
1313

1414
scenarios:
1515
- name: 'Inscription, participation à une campagne et partage des résultats'
1616
flow:
17-
- function: "setupSignupFormData"
17+
- function: setupSignupFormData
1818

19-
### ---------------------- ###
20-
### From page /inscription ###
21-
### ---------------------- ###
19+
# ## ---------------------- ###
20+
# ## From page /inscription ###
21+
# ## ---------------------- ###
2222

2323
# Submit user form
2424
- post:
25-
url: "/api/users"
25+
url: /api/users
2626
json:
2727
data:
2828
attributes:
@@ -34,19 +34,19 @@ scenarios:
3434

3535
# Authenticate user
3636
- post:
37-
url: "/api/token"
37+
url: /api/token
3838
headers:
39-
content-type: "application/x-www-form-urlencoded"
39+
content-type: application/x-www-form-urlencoded
4040
body: "grant_type=password&username={{ email }}&password={{ password }}"
4141
capture:
42-
- json: "$.access_token"
43-
as: "accessToken"
44-
- json: "$.user_id"
45-
as: "userId"
42+
- json: $.access_token
43+
as: accessToken
44+
- json: $.user_id
45+
as: userId
4646

4747
# Get user profile
4848
- get:
49-
url: "/api/users/me"
49+
url: /api/users/me
5050
headers:
5151
Authorization: "Bearer {{ accessToken }}"
5252

@@ -56,37 +56,37 @@ scenarios:
5656
headers:
5757
Authorization: "Bearer {{ accessToken }}"
5858

59-
### ----------------- ###
60-
### From page /compte ###
61-
### ----------------- ###
59+
# ## ----------------- ###
60+
# ## From page /compte ###
61+
# ## ----------------- ###
6262

6363
# Get campaign target
6464
- get:
6565
url: "/api/campaigns?filter[code]={{ campaignCode }}"
6666
headers:
6767
Authorization: "Bearer {{ accessToken }}"
6868
capture:
69-
json: "$.data.id"
70-
as: "campaignId"
69+
json: $.data.id
70+
as: campaignId
7171

7272
# Create campaign-participation
7373
- post:
74-
url: "/api/campaign-participations"
74+
url: /api/campaign-participations
7575
headers:
7676
Authorization: "Bearer {{ accessToken }}"
7777
json:
7878
data:
79-
type: "campaign-participations"
79+
type: campaign-participations
8080
attributes:
8181
participant-external-id: null
8282
relationships:
8383
campaign:
8484
data:
8585
id: "{{ campaignId }}"
86-
type: "campaigns"
86+
type: campaigns
8787
capture:
88-
json: "$.data.id"
89-
as: "campaignParticipationId"
88+
json: $.data.id
89+
as: campaignParticipationId
9090

9191
# Get campaign assessment filtered
9292
- get:
@@ -95,7 +95,7 @@ scenarios:
9595
Authorization: "Bearer {{ accessToken }}"
9696
capture:
9797
json: "$.data[0].id"
98-
as: "assessmentId"
98+
as: assessmentId
9999

100100
# Fetch assessment
101101
- get:
@@ -109,8 +109,8 @@ scenarios:
109109
headers:
110110
Authorization: "Bearer {{ accessToken }}"
111111
capture:
112-
json: "$.data.id"
113-
as: "challengeId"
112+
json: $.data.id
113+
as: challengeId
114114

115115
- loop:
116116
# Fetch answer (if exists)
@@ -119,13 +119,13 @@ scenarios:
119119
headers:
120120
Authorization: "Bearer {{ accessToken }}"
121121

122-
### -------------------------------------------------------------- ###
123-
### From page /assessments/:assessment_id/challenges/:challenge_id ###
124-
### -------------------------------------------------------------- ###
122+
# ## -------------------------------------------------------------- ###
123+
# ## From page /assessments/:assessment_id/challenges/:challenge_id ###
124+
# ## -------------------------------------------------------------- ###
125125

126126
# Submit "skip" answer
127127
- post:
128-
url: "/api/answers"
128+
url: /api/answers
129129
headers:
130130
Authorization: "Bearer {{ accessToken }}"
131131
json:
@@ -136,21 +136,21 @@ scenarios:
136136
assessment:
137137
data:
138138
id: "{{ assessmentId }}"
139-
type: "assessments"
139+
type: assessments
140140
challenge:
141141
data:
142142
id: "{{ challengeId }}"
143-
type: "challenges"
144-
type: "answers"
143+
type: challenges
144+
type: answers
145145

146146
# Fetch assessment next challenge
147147
- get:
148148
url: "/api/assessments/{{ assessmentId }}/next"
149149
headers:
150150
Authorization: "Bearer {{ accessToken }}"
151-
afterResponse: "handleResponseForChallengeId"
151+
afterResponse: handleResponseForChallengeId
152152

153-
whileTrue: "foundNextChallenge"
153+
whileTrue: foundNextChallenge
154154

155155
# Complete assessment
156156
- patch:
@@ -170,13 +170,13 @@ scenarios:
170170
headers:
171171
Authorization: "Bearer {{ accessToken }}"
172172

173-
### ----------------------------------------------------- ###
174-
### From page /assessment-result, go back to profile page ###
175-
### ----------------------------------------------------- ###
173+
# ## ----------------------------------------------------- ###
174+
# ## From page /assessment-result, go back to profile page ###
175+
# ## ----------------------------------------------------- ###
176176

177177
# Get user profile
178178
- get:
179-
url: "/api/users/me"
179+
url: /api/users/me
180180
headers:
181181
Authorization: "Bearer {{ accessToken }}"
182182

0 commit comments

Comments
 (0)