Integrate gitlab-ci/add_git_credentials_script and 42 more
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.
--
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.
--
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.
--
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
--
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
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@96f5745c
Confluence: group download files by type
--
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.
--
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.
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@bc85e805
Build documentation in Yocto
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@0a3b1406
Confluence: get only those build jobs with a corresponding successful deploy job
We cannot handle build jobs and deploy jobs similarly, because all build jobs are successful usually, while not all deploy jobs necessarily have run. Get build.env only from those build job which have a corresponding successful deploy job, otherwise MACHINE and SUPPORTED_HARDWARE fields always contain the full list of built platforms, even if they might have not been deployed.
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@97228cdb
Move MACHINE variable from deploy.env to build.env
The Confluence stage is the only stage that needs the MACHINE variable. Since the collect_release_information script already loads the build.env from the build jobs, there is no need to store this variable in deploy.env.
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@ba156b0f
Confluence: check if variables are defined
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@cae6e282
Confluence: improve variable passing to template
Use a general mechanism of storing all job variables for each build job separately, so that we have all documentation files in the FILES_documentation variable. This makes the dedicated HTML_FILES variable obsolete. The merged variables are still kept, though, so that we have all machines in the MACHINE variable to loop over.
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@41f8a49f
Confluence: add error handling if artifact not found
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@1a519057
Make documentation files configurable
This disables the documentation jobs for SDK and FNGSystem.
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@303e24eb
Build documentation in dedicated job
Previously the documentation files were rendered as part of the package jobs. Each package job converted the same set of static markdown files to HTML files, which was redundant.
Add dedicated jobs to build, package and deploy the documentation files.
Modify convert_md2html.py to support file globs as arguments.
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@838da585
Refactoring: move Alphaplan stage code to the end
This reflects the stage order in the code.
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@ff31d083
Refactoring: use multiple MACHINE loops for better structure
This is a preparation for adding dedicated documentation jobs. In order to have these grouped by stage along with their corresponding machine jobs, we have to get rid of the giant outer loop and add loops for each stage instead.
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@69973c95
Deploy: save deployed files in dotenv variable instead of dedicated file
Previously the deployed files were stored in a dedicated text file called files.txt. Move this information to a dotenv variable called FILES, so that we don't need special handling for it in the Confluence stage.
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@45d04033
Remove disabling sourcery low-code-quality in package_release
This check is not failing anymore since the latest refactorings.
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@cf0336d6
Define manifest file to build from
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@a7503809
Confluence: add supported hardware information
--
Commit: seco-ne/yocto/infrastructure/gitlab-ci@0ef32ce7
Update simulated build to kirkstone-14.0
Remove temporary workarounds that were necessary due to changes after the previously used release kirkstone-7.0.