CI: rename stages "first, second" to "lint, build" (MR 802)
Make it more descriptive and match Alpine's gitlab-ci.yml.
This commit is contained in:
parent
e5b8b8631f
commit
816616c9de
1 changed files with 11 additions and 11 deletions
|
@ -5,8 +5,8 @@ image: alpine:latest
|
||||||
after_script:
|
after_script:
|
||||||
- .gitlab-ci/move_logs.sh $CI_PROJECT_DIR
|
- .gitlab-ci/move_logs.sh $CI_PROJECT_DIR
|
||||||
stages:
|
stages:
|
||||||
- first
|
- lint
|
||||||
- second
|
- build
|
||||||
|
|
||||||
# defaults for "only"
|
# defaults for "only"
|
||||||
# We need to run the CI jobs in a "merge request specific context", if CI is
|
# We need to run the CI jobs in a "merge request specific context", if CI is
|
||||||
|
@ -24,7 +24,7 @@ stages:
|
||||||
|
|
||||||
# device documentation
|
# device documentation
|
||||||
wiki:
|
wiki:
|
||||||
stage: first
|
stage: lint
|
||||||
<<: *only-default
|
<<: *only-default
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
|
@ -38,7 +38,7 @@ wiki:
|
||||||
|
|
||||||
# testcases linting
|
# testcases linting
|
||||||
testcases-linting:
|
testcases-linting:
|
||||||
stage: first
|
stage: lint
|
||||||
<<: *only-default
|
<<: *only-default
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
|
@ -53,7 +53,7 @@ testcases-linting:
|
||||||
|
|
||||||
# shellcheck
|
# shellcheck
|
||||||
shellcheck:
|
shellcheck:
|
||||||
stage: first
|
stage: lint
|
||||||
<<: *only-default
|
<<: *only-default
|
||||||
image: alpine:edge
|
image: alpine:edge
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -64,7 +64,7 @@ shellcheck:
|
||||||
|
|
||||||
# aports checks (generic)
|
# aports checks (generic)
|
||||||
aports-static:
|
aports-static:
|
||||||
stage: first
|
stage: lint
|
||||||
<<: *only-default
|
<<: *only-default
|
||||||
before_script:
|
before_script:
|
||||||
- wget "https://gitlab.com/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
|
- wget "https://gitlab.com/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
|
||||||
|
@ -81,7 +81,7 @@ aports-static:
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
distfile-check:
|
distfile-check:
|
||||||
stage: first
|
stage: lint
|
||||||
<<: *only-default
|
<<: *only-default
|
||||||
before_script:
|
before_script:
|
||||||
- apk -q add make findutils
|
- apk -q add make findutils
|
||||||
|
@ -94,7 +94,7 @@ distfile-check:
|
||||||
|
|
||||||
# APKBUILD linting
|
# APKBUILD linting
|
||||||
aport-lint:
|
aport-lint:
|
||||||
stage: first
|
stage: lint
|
||||||
before_script:
|
before_script:
|
||||||
- wget "https://gitlab.com/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
|
- wget "https://gitlab.com/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
|
||||||
- sh ./install_pmbootstrap.sh
|
- sh ./install_pmbootstrap.sh
|
||||||
|
@ -106,7 +106,7 @@ aport-lint:
|
||||||
|
|
||||||
# kernel kconfig check
|
# kernel kconfig check
|
||||||
kernel-kconfig:
|
kernel-kconfig:
|
||||||
stage: first
|
stage: lint
|
||||||
only:
|
only:
|
||||||
refs:
|
refs:
|
||||||
- master
|
- master
|
||||||
|
@ -123,7 +123,7 @@ kernel-kconfig:
|
||||||
# MR settings
|
# MR settings
|
||||||
# (Checks for "Allow commits from members who can merge to the target branch")
|
# (Checks for "Allow commits from members who can merge to the target branch")
|
||||||
mr-settings:
|
mr-settings:
|
||||||
stage: first
|
stage: lint
|
||||||
only:
|
only:
|
||||||
- merge_requests
|
- merge_requests
|
||||||
before_script:
|
before_script:
|
||||||
|
@ -134,7 +134,7 @@ mr-settings:
|
||||||
|
|
||||||
# build changed aports
|
# build changed aports
|
||||||
.build:
|
.build:
|
||||||
stage: second
|
stage: build
|
||||||
<<: *only-default
|
<<: *only-default
|
||||||
before_script:
|
before_script:
|
||||||
- wget "https://gitlab.com/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
|
- wget "https://gitlab.com/postmarketOS/ci-common/-/raw/master/install_pmbootstrap.sh"
|
||||||
|
|
Loading…
Reference in a new issue