From 6bf81a4681d9e5febeabb52507987301f16b62ea Mon Sep 17 00:00:00 2001 From: xysun Date: Mon, 4 Nov 2024 17:23:46 +0800 Subject: [PATCH] ci: update ci image --- .gitlab-ci.yml | 10 +++++----- test_apps/build_apps.py | 9 +++------ 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 541baec..702e8a3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,12 +6,12 @@ stages: variables: # Versioned esp-idf-doc env image to use for all document building jobs - ESP_DOCS_ENV_IMAGE: "$CI_DOCKER_REGISTRY/esp-idf-doc-env-v5.0" + ESP_DOCS_ENV_IMAGE: "$CI_DOCKER_REGISTRY/esp-idf-doc-env-v5.3:1-1" ESP_SR_PATH: "$CI_PROJECT_DIR" BATCH_BUILD: "1" V: "0" IDF_CI_BUILD: "1" - DOCKER_TARGET_TEST_v5_0_ENV_IMAGE: "$CI_DOCKER_REGISTRY/target-test-env-v5.0:3" + DOCKER_TARGET_TEST_v5_0_ENV_IMAGE: "$CI_DOCKER_REGISTRY/target-test-env-v5.3:1" before_script: # add gitlab ssh key @@ -23,7 +23,7 @@ before_script: - echo -e "Host gitlab.espressif.cn\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config - git --version - git submodule update --init --recursive --force - - pip install idf_build_apps==1.1.4 + - pip install idf_build_apps .if-protected: &if-protected if: '($CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_BRANCH =~ /^release\/v/ || $CI_COMMIT_TAG =~ /^v\d+\.\d+(\.\d+)?($|-)/)' @@ -228,7 +228,7 @@ build_esp_sr_html: parallel: matrix: - DOCLANG: ["en", "zh_CN"] - DOCTGT: ["esp32", "esp32s3", "esp32p4"] + DOCTGT: ["esp32", "esp32s3"] build_esp_sr_pdf: extends: @@ -250,7 +250,7 @@ build_esp_sr_pdf: parallel: matrix: - DOCLANG: ["en", "zh_CN"] - DOCTGT: ["esp32", "esp32s3", "esp32p4"] + DOCTGT: ["esp32", "esp32s3"] .deploy_docs_template: diff --git a/test_apps/build_apps.py b/test_apps/build_apps.py index bcc8909..7edc70e 100644 --- a/test_apps/build_apps.py +++ b/test_apps/build_apps.py @@ -7,14 +7,13 @@ This file is used in CI generate binary files for different kinds of apps """ import argparse -import sys +import logging import os import re +import sys from pathlib import Path -from typing import List -import logging -from idf_build_apps import App, build_apps, find_apps, setup_logging +from idf_build_apps import build_apps, find_apps, setup_logging LOGGER = logging.getLogger('idf_build_apps') @@ -59,8 +58,6 @@ def get_cmake_apps( target=target, build_dir=f'{idf_ver}/build_@t_@w', config_rules_str=config_rules_str, - build_log_path='build_log.txt', - size_json_path='size.json', check_warnings=True, preserve=True, default_build_targets=default_build_targets,