Skip to content

Commit 614500b

Browse files
authored
Ignore other CI jobs
1 parent 2583f8b commit 614500b

13 files changed

+0
-740
lines changed

.github/workflows/chroot-checks.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +0,0 @@
1-
name: Chroot checks
2-
on:
3-
push:
4-
pull_request:
5-
branches:
6-
- main
7-
- '[0-9]+.[0-9]+'
8-
9-
jobs:
10-
check-chroot-arch:
11-
runs-on: ubuntu-24.04
12-
container:
13-
image: domjudge/gitlabci:24.04
14-
options: --privileged --cgroupns=host --init
15-
strategy:
16-
matrix:
17-
arch: [amd64, default]
18-
steps:
19-
- name: Checkout current code
20-
uses: actions/checkout@v4
21-
- name: Install DOMjudge
22-
run: |
23-
.github/jobs/chroot_checks.sh ${{ matrix.arch }}
24-
- name: Upload all logs/artifacts
25-
if: ${{ !cancelled() }}
26-
uses: actions/upload-artifact@v4
27-
with:
28-
name: ${{ matrix.arch }}-logs
29-
path: |
30-
/tmp/artifacts

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +0,0 @@
1-
name: "CodeQL"
2-
3-
on:
4-
merge_group:
5-
pull_request:
6-
branches:
7-
- main
8-
- '[0-9]+.[0-9]+'
9-
10-
jobs:
11-
analyze:
12-
container:
13-
image: domjudge/gitlabci:24.04
14-
options: --user domjudge
15-
name: Analyze
16-
runs-on: ubuntu-latest
17-
env:
18-
COMPILED: "cpp"
19-
USER: "domjudge"
20-
permissions:
21-
actions: read
22-
contents: read
23-
security-events: write
24-
25-
strategy:
26-
fail-fast: false
27-
matrix:
28-
language: [ 'cpp', 'java', 'javascript', 'python' ]
29-
30-
steps:
31-
- name: Checkout repository
32-
uses: actions/checkout@v4
33-
34-
- name: Initialize CodeQL
35-
uses: github/codeql-action/init@v3
36-
with:
37-
languages: ${{ matrix.language }}
38-
39-
- name: Install composer files
40-
if: ${{ contains(env.COMPILED, matrix.language) }}
41-
run: |
42-
cd webapp
43-
composer install --no-scripts
44-
45-
- name: Configure Makefile
46-
if: ${{ contains(env.COMPILED, matrix.language) }}
47-
run: |
48-
DIR=$(pwd)
49-
mkdir ./installdir
50-
make configure
51-
./configure --enable-doc-build=no --prefix=$DIR/installdir
52-
53-
- name: Compile domserver
54-
if: ${{ contains(env.COMPILED, matrix.language) }}
55-
run: |
56-
make domserver
57-
make install-domserver
58-
59-
- name: Compile the build scripts for languages
60-
run: |
61-
make build-scripts
62-
63-
- name: Compile judgehost
64-
if: ${{ contains(env.COMPILED, matrix.language) }}
65-
run: |
66-
make judgehost
67-
sudo make install-judgehost
68-
69-
- name: Remove upstream code
70-
run: |
71-
rm -rf webapp/public/js/monaco doc/manual/_static
72-
73-
- name: Chown everything to the current runner user
74-
if: ${{ contains(env.COMPILED, matrix.language) }}
75-
run: sudo chown -R ${USER} ./installdir
76-
77-
- name: Perform CodeQL Analysis
78-
uses: github/codeql-action/analyze@v3

.github/workflows/codespell.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +0,0 @@
1-
on:
2-
merge_group:
3-
pull_request:
4-
branches:
5-
- main
6-
- '[0-9]+.[0-9]+'
7-
8-
name: Spell Check
9-
10-
jobs:
11-
codespell:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v4
15-
- name: Rewrite Changelog to find new mistakes
16-
run: awk '1;/Version 7.2.1 - 6 May 2020/{exit}' ChangeLog > latest_Changelog
17-
- name: Get dirs to skip
18-
id: list_to_csv
19-
run: echo "::set-output name=SKIP::$(awk '{print $1}' .github/jobs/data/codespellignorefiles.txt | paste -s -d, -)"
20-
- uses: codespell-project/actions-codespell@master
21-
with:
22-
check_filenames: true
23-
ignore_words_file: .github/jobs/data/codespellignorewords.txt
24-
skip: ${{ steps.list_to_csv.outputs.SKIP }}

.github/workflows/codestyle.yml

Lines changed: 0 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +0,0 @@
1-
name: Codestandard
2-
on:
3-
merge_group:
4-
pull_request:
5-
branches:
6-
- main
7-
- '[0-9]+.[0-9]+'
8-
9-
jobs:
10-
syntax-job:
11-
runs-on: ubuntu-latest
12-
container:
13-
image: domjudge/gitlabci:24.04
14-
steps:
15-
- uses: actions/checkout@v4
16-
- name: Run the syntax checks
17-
run: .github/jobs/syntax.sh
18-
19-
detect-dump:
20-
runs-on: ubuntu-latest
21-
steps:
22-
- uses: actions/checkout@v4
23-
- name: "Search for leftover dump( statements"
24-
run: .github/jobs/detect_dump.sh
25-
26-
php-linter:
27-
runs-on: ubuntu-latest
28-
container:
29-
image: pipelinecomponents/php-linter:latest
30-
steps:
31-
- uses: actions/checkout@v4
32-
- name: Detect PHP linting issues
33-
run: >
34-
parallel-lint --colors
35-
lib/lib.*.php
36-
etc
37-
judge
38-
webapp/src
39-
webapp/tests
40-
webapp/public
41-
webapp/config
42-
43-
phpcs_compatibility:
44-
runs-on: ubuntu-latest
45-
container:
46-
image: pipelinecomponents/php-codesniffer:latest
47-
strategy:
48-
matrix:
49-
PHPVERSION: ["8.1", "8.2", "8.3", "8.4"]
50-
steps:
51-
- run: apk add git
52-
- uses: actions/checkout@v4
53-
- name: Various fixes to this image
54-
run: .github/jobs/fix_pipelinecomponents_image.sh
55-
- name: Detect compatibility with supported PHP version
56-
run: >
57-
phpcs -s -p --colors
58-
--standard=PHPCompatibility
59-
--extensions=php
60-
--runtime-set testVersion ${{ matrix.PHPVERSION }}
61-
lib/lib.*.php
62-
etc
63-
judge
64-
webapp/src
65-
webapp/tests
66-
webapp/public
67-
webapp/config
68-
69-
pycodestyle:
70-
runs-on: ubuntu-latest
71-
steps:
72-
- uses: actions/checkout@v4
73-
- name: Download pycodestyle python file
74-
run: >
75-
curl -L -o /tmp/pycodestyle.py 'https://github.com/PyCQA/pycodestyle/raw/refs/tags/2.12.1/pycodestyle.py'
76-
- name: Check codestyle in python files
77-
run: >
78-
python3 /tmp/pycodestyle.py \
79-
--exclude='./example_problems/,./doc/,./gitlab/,./webapp/vendor/' \
80-
--max-line-length 120 \
81-
--show-pep8 --show-source \
82-
.
83-
84-
pyright:
85-
runs-on: ubuntu-latest
86-
steps:
87-
- uses: jakebailey/pyright-action@v2
88-
with:
89-
version: 1.1.311
Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +0,0 @@
1-
name: Database Upgrade Test
2-
3-
on:
4-
merge_group:
5-
pull_request:
6-
branches:
7-
- main
8-
- '[0-9]+.[0-9]+'
9-
10-
jobs:
11-
upgrade_test:
12-
runs-on: ubuntu-latest
13-
container:
14-
image: domjudge/gitlabci:24.04
15-
services:
16-
sqlserver:
17-
image: mariadb
18-
ports:
19-
- 3306:3306
20-
env:
21-
MYSQL_ROOT_PASSWORD: root
22-
MYSQL_USER: domjudge
23-
MYSQL_PASSWORD: domjudge
24-
options: --health-cmd="healthcheck.sh --connect --innodb_initialized" --health-interval=10s --health-timeout=5s --health-retries=3
25-
steps:
26-
- uses: actions/checkout@v4
27-
- name: Import Database
28-
run: mysql -hsqlserver -uroot -proot < .github/jobs/data/dj733.sql
29-
- name: Upgrade DOMjudge
30-
run: .github/jobs/baseinstall.sh default upgrade
31-
- name: Setting initial Admin Password
32-
run: echo "pass" > /opt/domjudge/domserver/etc/initial_admin_password.secret
33-
- name: Check for Errors in the Upgrade
34-
run: mysql -hsqlserver -uroot -proot -e "SHOW TABLES FROM domjudge;"
35-
- name: Check for Errors in DOMjudge Webinterface
36-
run: .github/jobs/webstandard.sh none admin

0 commit comments

Comments
 (0)