summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml14
1 files changed, 9 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 132eb78..c7a89a9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,17 +5,21 @@ stages:
5 stage: build 5 stage: build
6 image: crops/poky 6 image: crops/poky
7 before_script: 7 before_script:
8 - echo "$ERR_REPORT_USERNAME" > ~/.oe-send-error
9 - echo "$ERR_REPORT_EMAIL" >> ~/.oe-send-error
8 - export PATH=~/.local/bin:$PATH 10 - export PATH=~/.local/bin:$PATH
9 - wget https://bootstrap.pypa.io/get-pip.py 11 - wget https://bootstrap.pypa.io/get-pip.py
10 - python3 get-pip.py 12 - python3 get-pip.py
11 - python3 -m pip install kas 13 - python3 -m pip install kas
12 - wget -q 'https://downloads.rclone.org/rclone-current-linux-amd64.zip'
13 - unzip -q rclone-current-linux-amd64.zip
14 - mv rclone-*-linux-amd64/rclone ~/.local/bin/
15 - rm -rf rclone-*-linux-amd64*
16 after_script: 14 after_script:
15 - cd $CI_PROJECT_DIR/poky
16 - . ./oe-init-build-env $CI_PROJECT_DIR/build
17 - for x in `ls $CI_PROJECT_DIR/build/tmp/log/error-report/ | grep error_report_`; do
18 - send-error-report -y tmp/log/error-report/$x
19 - done
20 - cd $CI_PROJECT_DIR
17 - rm -rf build 21 - rm -rf build
18 - ./scripts/ci-cleanup.sh 22 - $CI_PROJECT_DIR/scripts/ci-cleanup.sh
19 cache: 23 cache:
20 paths: 24 paths:
21 - layers 25 - layers