- May 08, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@54f17a69 Update CI_IMAGES_REVISION -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@4fd7f8a8 report_image_diff: get rid of hardcode Parse machines, pipeline names and distros from gitlab yaml file instead of harcoding these values in the script. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@05d6a8db fullbuildpipeline.py: fix timeout The problem was found in pipeline: https://git.seco.com/seco-ne/yocto/manifest/-/jobs/954246 Fix missing update of upstream pipeline status inside while loop. The timeout in the script was not in sync with the default timeout for build jobs. Set timeout in __get_build_pipelines() function to 8 hours. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@3077d252 handle_artifacts: add "try" block for keep_/delete_artifacts -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@b0be529b handle_artifacts: fix case when pipeline was canceled -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@1a4a5ab1 Refactoring: move common code to separate files
-
- May 02, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@bf6de920 convert_md2html: new font style for main text -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@dc43f865 convert_md2html: move content to left -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f0088d25 convert_md2html: fix long commands Several blocks of code are too long and don't fit on the page. Words are not wrapped to the next line. To fix this, adjust the span slacc in css. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@caa6efa2 convert_md2html: restore several css rules - fix h1 color - fix missing gorizontal line above h1 - increased h2 font size - fix missing borders for table - restore link style -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@28a1bc5e convert_md2html: Update the style for the generated html file
-
- Apr 26, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@6656c465 CI: allow failure in new jobs 'handle_artifacts' and 'report-image-diff' It seems that these jobs are not yet completly errorsafe and we could ignore the failure without changing the build artifacts.
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@de9851be ci: add a job to handle artifacts after merge In the latest commit in the manifest it often happens, that the pipeline does not contain the artifacts itself, but just a link to the pipeline of the MR. Added a python script with corresponding GitLab CI job to launch this script. The script searches for the latest pipelines for default branch in manifest repo, and then decides either to keep or delete artifacts for particular build. The build artifacts are kept for: - the latest commit - the last successful build - the tagged commits (e.g. "fngsystem/47.0", "kirkstone/20.0")
-
- Apr 25, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@1299a9d6 CI: add "report-image-diff" job Add a python script and a GitLab CI job to run it. The job is triggered when the build is complete. The script retrieves build artifacts for the default/main branch (currently "kirkstone") in the manifest repo and build artifacts for the integration branch of merge request. After that, it compares those builds and creates a summary of the overall changes. In particular: - size of compressed artifacts (artifacts.zip) - size of built image - difference between manifest files The summary is reported to stdout and as a comment to the merge request. Each run of the pipeline means removing the old summary comment and creating a new one when the build is finished.
-
- Apr 19, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@dcc8d92b build:hardware: Add Trizeps VIII Plus, fix MX93 and sort entries -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@add2bb17 Revert "CI: remove 'setup_ssh' as ssh access is disabled" The SSH setup is required for some private projects that pull in external repos via SSH. This reverts commit 4d5bca8fb8aaebf8794ffa88a6d0aef779c9eedf.
-
- Apr 11, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@19ff9d08 package_release: Fix missing variable for os.walk Even though the variable isn't used in the package_release script, it seems to be required by the os.walk function. Underscore satisfies the linter preventing it from causeing unused variable errors.
-
- Apr 08, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@6e6f124b package_release: Add a way to copy the whole directory Item should end with "/" to be treated as a directory
-
- Mar 26, 2024
-
-
Tobias Kahlki authored
-
- Mar 20, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@ab19eb61 CI: collect_release_information: jump to next pipeline if no deploy jobs found See for error: https://git.seco.com/seco-ne/yocto/infrastructure/ci-test/minimal-manifest/-/jobs/828261 -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@ae764fbc CI: Confluence page: Fix not created mx6 section The function that merges the variables of the different jobs, i.e: `MACHINE="mx6"` `MACHINE="mx6ull"` used python `in` to check if a value already exists. But `"mx6" in "mx6ull"` is true, so mx6 was dropped. This rewrites it, storing the variables in a set (which is unique automatically) instead of space seperated strings. Space seperation is added before printing the variables to be used on on the shell.
-
- Mar 19, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@094983ae git_config: Add "*" as safedir to omnit 'dubious ownership' error
-
Tobias Kahlki authored
-
- Mar 18, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@44000de1 Check bitbake recipes with linter The job checks bitbake recipes added/updated in MR using the oelint-adv tool (https://github.com/priv-kweihmann/oelint-adv). .oelint.json is a rulefile, created with the command "oelint-adv --print-rulefile". It can be used during development. It contains default rules for now, but will probably be customized later. To get the list of changed files in MR, we adjusted the GIT_DEPTH variable. The new value is 50, which should be fine for getting MR changes, and still small enough to keep checkout fast for large projects. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@9d9574d1 convert_md2html: fix text duplication Fix the problem introduced by commit 4f06516 "convert_md2html: fix id fields for headings". The text converted from markdown was written twice to the HTML document.
-
- Mar 12, 2024
-
-
Tobias Kahlki authored
The page is currently broken. Hide it for now and re-show it, when it is fixed. Issues: - The virtualkeyboard for the login prompt isn't working - The network settings aren't applied - Missing a new section for the WebView
-
Tobias Kahlki authored
-
Tobias Kahlki authored
-
- Mar 11, 2024
-
-
Tobias Kahlki authored
-
- Mar 08, 2024
-
-
Tobias Kahlki authored
-
Tobias Kahlki authored
-
Tobias Kahlki authored
-
Tobias Kahlki authored
-
Tobias Kahlki authored
-
Tobias Kahlki authored
-
Tobias Kahlki authored
-
Tobias Kahlki authored
-
Tobias Kahlki authored
-
Tobias Kahlki authored
-
- Mar 06, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@4f06516a convert_md2html: fix id fields for headings Converter adds "user-content-" to "id" fields for headings. As a result links from TOC do not work. Fix this for now by removing "user-content-" from the resulting html. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de> -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@97898e9e convert_md2html: use gitlab api Update convert_md2html.py to use gitlab api with gitlab flavor. Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- Mar 04, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@4595835d build:machines: Add Genio510 to the build job template -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@d8b5ab7b scripts:firmware: Fix check for U-Boot file types On i.MX6 devices, the U-Boot file types are not set at all. Extent check for the existance of the uboot_file_types var.
-
- Feb 23, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@3146ed1e CI: increase timeout of package-documentation to 5m -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@4d5bca8f CI: remove 'setup_ssh' as ssh access is disabled -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@8353d920 CI: lava testing: replace ssh with https url and CI_JOB_TOKEN
-
- Feb 19, 2024
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e207c443 gitlab-ci: Disable sourcery The sourcery plugin fails again due to a missing login. Disable it for now. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@a3d1e77c manifest:integration: Fix issue in trigger/include -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@b6e66192 pipelines:build: Add check to JSON generation Without the check, we have a race condition when building from sources outside of the Yocto group.
-
- Dec 21, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@42bfe4f0 build:prepare: Add setup script for Git Credentials -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@24653ff8 build:machines: Add i.MX93 to the build job template -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@7aae72ea Re-enable sourcery With the free open source plan, sourcery works only when called from the repository's root directory. Re-enable it by calling it from there. Also apply sourcery's suggestions to file generate_firmware_package.py, which did not exist before disabling sourcery.
-
- Nov 20, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@51e0cf67 build:stages: Add Firmware Package JSON stage The old Alphaplan stage is deprecated and was removed in a prior commit. Add new stage to generate the Firmware Package JSON files that do replace the old Alphaplan articles.
-
- Nov 17, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@1830cb02 And another improvement for the build-up-to-date job -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f7f33de5 Improve the output message in the build-up-to-date job a bit more Use explicit line breaks to make the message look better. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@68aaab94 Improve the output message in the build-up-to-date job -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@26b9eb1d Rename "check" job to "build-up-to-date" This is a more meaningful name and might give a hint what the job does. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@07f0c898 Make build runner tag configurable -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@0d70d719 Disable sourcery check Sourcery changed its license model to only be available for open source projects with the free plan. According to the documentation, sourcery should detect automatically whether it is running on an open source repo. This does not work in our case, though. Disable it until we find a way to correctly make it work.
-
- Nov 13, 2023
-
-
Tobias Kahlki authored
-
- Nov 07, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@9be2c52b pipeline:build: Fix indentation of here-doc -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@245e6537 pipeline:build: Make generation of install script optional The Genio 700 platform doesn't have an fng_install.sh. Currently, the pipeline fails because of the exit code in the script check. Make the generation of the install command optional and only show a warning if the script is missing. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@8fedce8a pipeline:build: Add MediaTek Genio 700 SoC
-
- Oct 23, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@6f773de5 Remove Alphaplan stage We do not use Alphaplan anymore. Remove everything Alphaplan related stuff from the pipeline. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@56bd1900 Confluence: add helper script to get page content This can be helpful if something is configurable in the GUI editor and we can't figure out to do the same thing via the API. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@c3b794c6 Confluence: enforce fixed page width on creation On page creation via the API, the page always seems to be created with full width, even if "full_width=False" is set. Update the page right after creating it in order to correctly set it to fixed width. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@82053a2f Confluence: set width for download table columns
-
- Oct 20, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@96f5745c Confluence: group download files by type
-
- Oct 19, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@3697b4ea cancel_pipelines: reverse order of cancellation Cancel parent pipeline first before cancelling its children in order not to have failed parent pipelines (trigger jobs are failed if their downstream pipeline is cancelled). -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@5f4ca2fb cancel_pipelines: list actually cancelled (child-)pipelines -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@c80cba84 Cancel all pipelines on newer commit We already canceled running pipelines before. Gitlab, however, might have already canceled previous pipelines automatically, but without canceling their child pipelines. Remove the "running" status filter when cancelling pipelines, so that also already cancelled pipelines will be included. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@84eb6e22 Revert "Cancel all pipelines on newer commit" This reverts commit f7582b74e7c565d55bb8a0315fe75c4ab4385fa2. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f7582b74 Cancel all pipelines on newer commit We already canceled running pipelines before. Gitlab, however, might have already canceled previous pipelines automatically, but without canceling their child pipelines. Extend the mechanism now to cancel all pipelines up to and including "running" as well as "canceled" states. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@0ec55c07 Fix list() call in update_submodule Here we don't just iterate over the results, so we have to use "all=True" instead of "as_list=False". See previous commit for explaination. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@4b3a517e Make sure to get all items on Gitlab list() calls The list() call on Gitlab classes uses pagination per default. If the number of items exceeds a certain limit, we only get a part of the results. We can pass "all=True" to the calls in order to disable pagination and get all results. If we're looping over the items, though, the recommended way of getting them is to use a generator object, which works calling list() with "as_list=False". See documentation for reference: https://python-gitlab.readthedocs.io/en/v2.10.1/api-usage.html#pagination Note: the "as_list" argument is deprecated in newer versions of the python-gitlab library, in favor of the newer "iterator=True": https://python-gitlab.readthedocs.io/en/v3.6.0/changelog.html#feature We are using v2.10.1 of the library, though, so this commit also updates calls using the new way, which is not working with our version.
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@c292d144 Confluence: combine data from parallel child pipelines We deploy Yocto image and SDK in different pipelines, which both have their Confluence jobs with the same Confluence target. Previously these pipelines have been independent, so that running the Confluence job in one of them would overwrite the Confluence page if it has been run in the other pipeline before. Hence we could either have the image files or the SDK files in the Confluence page. Combine these now by checking for other parallel child pipelines with the same Confluence configuration, so that running the Confluence jobs in the Yocto pipeline also includes the information from the SDK build and vice versa. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@53106170 Fix ci-test SDK version -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@d6d4ab61 Fix ci-test SDK download Since the implementation of multiple child pipelines we cannot use the previous artifacts download links anymore specifying tag and job name, because the jobs for image build and SDK build are equal. Use direct download links instead via job number.
-