Skip to content

Commit f6f3467

Browse files
committed
Start using new image in CI
This is to prepare for the new ubuntu release 24.04 this year. pa11y is broken for 22.04, according to their github their slowly updating the dependencies for now we keep these jobs with the old image. The new pa11y is now in the PATH at /usr/local/bin/pa11y for when we start using it. Encoding was removed in python3.9
1 parent 1016930 commit f6f3467

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ stages:
1414
- style
1515
- ci_checks
1616

17-
image: domjudge/gitlabci:2.1
17+
image: domjudge/gitlabci:22.04

gitlab/ci/webstandard.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
webstandard_check_role:
2+
image: domjudge/gitlabci:2.1
23
only:
34
- main
45
- /^[0-9].[0-9]$/
@@ -29,6 +30,7 @@ webstandard_check_role:
2930
- w3csvgpublic.json
3031

3132
webstandard_check_role_PR:
33+
image: domjudge/gitlabci:2.1
3234
extends: [.short_job,.mariadb_job]
3335
parallel:
3436
matrix:

gitlab/jsontogitlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def sec_end(job):
1616
print('section_end:{}:{}'.format(int(time.time()),cleanHash(job)+'\r\033[0K'))
1717

1818
with open(sys.argv[1],'r') as f:
19-
data = json.load(f, encoding='utf-8')
19+
data = json.load(f)
2020
for message in data['messages']:
2121
mtyp = message['type'].encode('utf-8', 'ignore')
2222
murl = message['url'].encode('utf-8', 'ignore')

0 commit comments

Comments
 (0)