diff options
| author | Marta Rybczynska <marta.rybczynska@ygreky.com> | 2025-07-01 05:28:22 +0000 |
|---|---|---|
| committer | Scott Murray <scott.murray@konsulko.com> | 2025-07-04 12:41:20 -0400 |
| commit | 7cabe4fa2b992f525d17c493146edd8fdb2d9578 (patch) | |
| tree | cb384ae6355bdec92eb419bd8219a23f0dc5d47c | |
| parent | 8a266d6df5118fc3be230931d2aa4534bfc9f8b2 (diff) | |
| download | meta-security-7cabe4fa2b992f525d17c493146edd8fdb2d9578.tar.gz | |
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>
| -rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 46ab4a9..32ce2b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml | |||
| @@ -1,10 +1,12 @@ | |||
| 1 | .before-my-script: &before-my-script | 1 | .before-my-script: &before-my-script |
| 2 | - echo "$ERR_REPORT_USERNAME" > ~/.oe-send-error | 2 | - echo "$ERR_REPORT_USERNAME" > ~/.oe-send-error |
| 3 | - echo "$ERR_REPORT_EMAIL" >> ~/.oe-send-error | 3 | - echo "$ERR_REPORT_EMAIL" >> ~/.oe-send-error |
| 4 | - echo "$CI_PROJECT_DIR" >> ~/.ci_project_dir | ||
| 4 | - export PATH=~/.local/bin:$PATH | 5 | - export PATH=~/.local/bin:$PATH |
| 5 | - wget https://bootstrap.pypa.io/get-pip.py | 6 | - python3 -m venv ~/kas_env/ |
| 6 | - python3 get-pip.py | 7 | - source ~/kas_env/bin/activate |
| 7 | - python3 -m pip install kas | 8 | - python3 -m pip install kas |
| 9 | - mkdir -p $CI_PROJECT_DIR/build/tmp/log/error-report/ | ||
| 8 | 10 | ||
| 9 | .after-my-script: &after-my-script | 11 | .after-my-script: &after-my-script |
| 10 | - cd $CI_PROJECT_DIR/poky | 12 | - cd $CI_PROJECT_DIR/poky |
