CI: normalize indentation

This commit is contained in:
intrigeri 2022-02-13 11:14:20 +00:00
parent 694b3348da
commit f0ff344e2a

View file

@ -24,50 +24,50 @@ build-all:
expire_in: 30 days expire_in: 30 days
untracked: true untracked: true
paths: paths:
- libraries/libapparmor/ - libraries/libapparmor/
- parser/ - parser/
- binutils/ - binutils/
- utils/ - utils/
- changehat/mod_apparmor/ - changehat/mod_apparmor/
- changehat/pam_apparmor/ - changehat/pam_apparmor/
- profiles/ - profiles/
script: script:
- *install-c-build-deps - *install-c-build-deps
- cd libraries/libapparmor && ./autogen.sh && ./configure --with-perl --with-python --prefix=/usr && make && cd ../.. || { cat config.log ; exit 1 ; } - cd libraries/libapparmor && ./autogen.sh && ./configure --with-perl --with-python --prefix=/usr && make && cd ../.. || { cat config.log ; exit 1 ; }
- make -C parser - make -C parser
- make -C binutils - make -C binutils
- make -C utils - make -C utils
- make -C changehat/mod_apparmor - make -C changehat/mod_apparmor
- make -C changehat/pam_apparmor - make -C changehat/pam_apparmor
- make -C profiles - make -C profiles
test-libapparmor: test-libapparmor:
stage: test stage: test
needs: ["build-all"] needs: ["build-all"]
script: script:
- *install-c-build-deps - *install-c-build-deps
- make -C libraries/libapparmor check - make -C libraries/libapparmor check
test-parser: test-parser:
stage: test stage: test
needs: ["build-all"] needs: ["build-all"]
script: script:
- *install-c-build-deps - *install-c-build-deps
- make -C parser check - make -C parser check
test-binutils: test-binutils:
stage: test stage: test
needs: ["build-all"] needs: ["build-all"]
script: script:
- make -C binutils check - make -C binutils check
test-utils: test-utils:
stage: test stage: test
needs: ["build-all"] needs: ["build-all"]
script: script:
- apt-get install --no-install-recommends -y libc6-dev libjs-jquery libjs-jquery-throttle-debounce libjs-jquery-isonscreen libjs-jquery-tablesorter pyflakes3 python3-coverage python3-notify2 python3-psutil - apt-get install --no-install-recommends -y libc6-dev libjs-jquery libjs-jquery-throttle-debounce libjs-jquery-isonscreen libjs-jquery-tablesorter pyflakes3 python3-coverage python3-notify2 python3-psutil
- make -C utils check - make -C utils check
- make -C utils/test coverage-regression - make -C utils/test coverage-regression
artifacts: artifacts:
paths: paths:
- utils/test/htmlcov/ - utils/test/htmlcov/
@ -77,14 +77,14 @@ test-mod-apparmor:
stage: test stage: test
needs: ["build-all"] needs: ["build-all"]
script: script:
- make -C changehat/mod_apparmor check - make -C changehat/mod_apparmor check
test-profiles: test-profiles:
stage: test stage: test
needs: ["build-all"] needs: ["build-all"]
script: script:
- make -C profiles check-parser - make -C profiles check-parser
- make -C profiles check-abstractions.d - make -C profiles check-abstractions.d
shellcheck: shellcheck:
stage: test stage: test
@ -101,7 +101,7 @@ shellcheck:
junit: shellcheck.xml junit: shellcheck.xml
# Disabled due to aa-logprof dependency on /sbin/apparmor_parser existing # Disabled due to aa-logprof dependency on /sbin/apparmor_parser existing
# - make -C profiles check-profiles # - make -C profiles check-profiles
# test-pam_apparmor: # test-pam_apparmor:
# - stage: test # - stage: test