mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
Rename top-level kas/ to ci/
The files in kas/ are not generic Kas files, but instead designed specifically and solely around the CI system. Change-Id: I30082392ad2231a4c1c41e54a292595adf81715b Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -15,7 +15,7 @@ stages:
|
|||||||
KAS_REPO_REF_DIR: $CI_BUILDS_DIR/persist/repos
|
KAS_REPO_REF_DIR: $CI_BUILDS_DIR/persist/repos
|
||||||
SSTATE_DIR: $CI_BUILDS_DIR/persist/sstate
|
SSTATE_DIR: $CI_BUILDS_DIR/persist/sstate
|
||||||
DL_DIR: $CI_BUILDS_DIR/persist/downloads
|
DL_DIR: $CI_BUILDS_DIR/persist/downloads
|
||||||
BB_LOGCONFIG: $CI_PROJECT_DIR/kas/logging.yml
|
BB_LOGCONFIG: $CI_PROJECT_DIR/ci/logging.yml
|
||||||
before_script:
|
before_script:
|
||||||
- echo KAS_WORK_DIR = $KAS_WORK_DIR
|
- echo KAS_WORK_DIR = $KAS_WORK_DIR
|
||||||
- echo SSTATE_DIR = $SSTATE_DIR
|
- echo SSTATE_DIR = $SSTATE_DIR
|
||||||
@@ -26,10 +26,10 @@ stages:
|
|||||||
.build:
|
.build:
|
||||||
extends: .setup
|
extends: .setup
|
||||||
script:
|
script:
|
||||||
- KASFILES=$(kas/jobs-to-kas $CI_JOB_NAME)
|
- KASFILES=$(./ci/jobs-to-kas $CI_JOB_NAME)
|
||||||
- kas shell --update --force-checkout $KASFILES -c 'cat conf/*.conf'
|
- kas shell --update --force-checkout $KASFILES -c 'cat conf/*.conf'
|
||||||
- kas build $KASFILES
|
- kas build $KASFILES
|
||||||
- ./kas/check-warnings $KAS_WORK_DIR/build/warnings.log
|
- ./ci/check-warnings $KAS_WORK_DIR/build/warnings.log
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -39,7 +39,7 @@ update-repos:
|
|||||||
extends: .setup
|
extends: .setup
|
||||||
stage: prep
|
stage: prep
|
||||||
script:
|
script:
|
||||||
- flock --verbose --timeout 60 $KAS_REPO_REF_DIR ./kas/update-repos
|
- flock --verbose --timeout 60 $KAS_REPO_REF_DIR ./ci/update-repos
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
@@ -56,7 +56,7 @@ n1sdp/bootstrap:
|
|||||||
machine-coverage:
|
machine-coverage:
|
||||||
stage: bootstrap
|
stage: bootstrap
|
||||||
script:
|
script:
|
||||||
- ./kas/check-machine-coverage
|
- ./ci/check-machine-coverage
|
||||||
coverage: '/Coverage: \d+/'
|
coverage: '/Coverage: \d+/'
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ machines = metaarm.glob("meta-*/conf/machine/*.conf")
|
|||||||
machines = set(p.stem for p in machines)
|
machines = set(p.stem for p in machines)
|
||||||
|
|
||||||
# All kas files
|
# All kas files
|
||||||
kas = metaarm.glob("kas/*.yml")
|
kas = metaarm.glob("ci/*.yml")
|
||||||
kas = set(p.stem for p in kas)
|
kas = set(p.stem for p in kas)
|
||||||
|
|
||||||
missing = machines - kas
|
missing = machines - kas
|
||||||
@@ -8,8 +8,8 @@ set -e -u
|
|||||||
# Read Job namne from $1 and split on /
|
# Read Job namne from $1 and split on /
|
||||||
IFS=/ read -r -a PARTS<<<$1
|
IFS=/ read -r -a PARTS<<<$1
|
||||||
|
|
||||||
# Prefix each part with kas/
|
# Prefix each part with ci/
|
||||||
PARTS=("${PARTS[@]/#/kas/}")
|
PARTS=("${PARTS[@]/#/ci/}")
|
||||||
|
|
||||||
# Suffix each part with .yml
|
# Suffix each part with .yml
|
||||||
PARTS=("${PARTS[@]/%/.yml}")
|
PARTS=("${PARTS[@]/%/.yml}")
|
||||||
Reference in New Issue
Block a user