mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +00:00
CI: update build for new CI
Update for Ubuntu 24.04 runners: - use venv for installing kas - add missing directories Assume that python3 and pip are installed. Signed-off-by: Marta Rybczynska <marta.rybczynska@ygreky.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
This commit is contained in:
committed by
Scott Murray
parent
8a266d6df5
commit
7cabe4fa2b
@@ -1,10 +1,12 @@
|
||||
.before-my-script: &before-my-script
|
||||
- echo "$ERR_REPORT_USERNAME" > ~/.oe-send-error
|
||||
- echo "$ERR_REPORT_EMAIL" >> ~/.oe-send-error
|
||||
- echo "$CI_PROJECT_DIR" >> ~/.ci_project_dir
|
||||
- export PATH=~/.local/bin:$PATH
|
||||
- wget https://bootstrap.pypa.io/get-pip.py
|
||||
- python3 get-pip.py
|
||||
- python3 -m venv ~/kas_env/
|
||||
- source ~/kas_env/bin/activate
|
||||
- python3 -m pip install kas
|
||||
- mkdir -p $CI_PROJECT_DIR/build/tmp/log/error-report/
|
||||
|
||||
.after-my-script: &after-my-script
|
||||
- cd $CI_PROJECT_DIR/poky
|
||||
|
||||
Reference in New Issue
Block a user