Skip to content

Commit

Permalink
Start using new image in CI
Browse files Browse the repository at this point in the history
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
  • Loading branch information
vmcj committed Jan 8, 2024
1 parent 1016930 commit f6f3467
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ stages:
- style
- ci_checks

image: domjudge/gitlabci:2.1
image: domjudge/gitlabci:22.04
2 changes: 2 additions & 0 deletions gitlab/ci/webstandard.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
webstandard_check_role:
image: domjudge/gitlabci:2.1
only:
- main
- /^[0-9].[0-9]$/
Expand Down Expand Up @@ -29,6 +30,7 @@ webstandard_check_role:
- w3csvgpublic.json

webstandard_check_role_PR:
image: domjudge/gitlabci:2.1
extends: [.short_job,.mariadb_job]
parallel:
matrix:
Expand Down
2 changes: 1 addition & 1 deletion gitlab/jsontogitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def sec_end(job):
print('section_end:{}:{}'.format(int(time.time()),cleanHash(job)+'\r\033[0K'))

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

0 comments on commit f6f3467

Please sign in to comment.