- Jan 16, 2024
-
-
Dmitry Petrov authored
The following errors can be observed in dmesg on some boards (e.g. SANTINO/SANTINO-LT): [ 3.102655] /disp0: could not find display-timings node [ 3.108037] /disp0: no timings specified It looks like panel_dt_get_non_edid_modes() was made from panel_simple_get_non_edid_modes() of drivers/gpu/drm/panel/panel-simple.c but increasing number of found modes was omited. panel-simple.c has this code: 283- if (mode) { 284- drm_mode_probed_add(connector, mode); 285: num = 1; 286- } else { So add the same assignment in panel-dt.c too.
-
- Jan 09, 2024
-
-
Image.dx gets wrong value because of missing '()'. If xres == logo->width and n == 1, image.dx = -16. Signed-off-by:
Guiling Deng <greens9@163.com> Fixes: 3d8b1933 ("fbdev: fbmem: add config option to center the bootup logo") Cc: stable@vger.kernel.org # v5.0+ Signed-off-by:
Helge Deller <deller@gmx.de>
-
The 'reserved-memory' node must exist in device tree, so that we can apply the DT overlay to reserve memory for a custom logo.
-
The 'reserved-memory' node must exist in device tree, so that we can apply the DT overlay to reserve memory for a custom logo.
-
Mikhail Vanyulin authored
This is a fix for issue [746-000092] logo: Implement logo driver to show logo from RAM If CONFIG_LOGO_SECO_MEMLOGO is set, logo driver will get logo memory address and size from dtb. And if this points to a correct data, logo, loaded into memory will be displayed. If some part of dtb node is missing or data in the memory is incorrect, a logo, which was selected by the driver before will be used. It is also necessary to reserve memory to which logo is loaded. Exampled dtb nodes: seco-memlogo { compatible = "seco,memlogo"; address = <0x14000000>; size = <74501>; }; reserved-memory { #address-cells = <1>; #size-cells = <1>; ranges; logo_reserved: logo@14000000 { reusable; reg = <0x14000000 74501>; }; }; Example script, which will generate logo from logo.png: WIDTH=492 HEIGHT=150 pngtopam logo.png > logo.ppm pnmpad -width $WIDTH -height $HEIGHT logo.ppm > logo_pad.ppm pnmcolormap 224 logo_pad.ppm > colormap pnmremap -floyd -plain -mapfile=colormap logo_pad.ppm > logo_plain.ppm seco-pnmtologo -t clut224 -o logo.dat -f bin logo_plain.ppm Example command to load logo into memory from U-Boot: load mmc 1:3 0x14000000 logo.dat Signed-off-by:
Mikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
-
- Jan 08, 2024
-
-
Instead of using always-on regulator, configure it as supply for the port, so it gets enabled when the port is opened.
-
Add the fixed regulator for the CAN/RS485 output of SANTINO, that may be optionally galvanic isolated. Add rts-gpios for RS485.
-
-
Jonas Höppner authored
On some hw the rs485 needs an additional regulator to be switched on. With this patch it is possible to configure the regulator as supply for the port, so it gets enabled when the port is opened. BCS 746-001117
-
The wrong compatible string is used for the EEPROM. STMicroelectronics M24C32/TSSOP8 is installed on i.MX6 SAN boards.
-
- Jan 04, 2024
-
-
Use interpolated brightness table for i.MX6 SAN boards. The "brightness-levels" values are taken from XML configurations.
-
- 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.
-
- Dec 13, 2023
-
-
Modified platform initialization to check for (a) @lcd@-node in device-tree to identify systems with parallel LCD-interface and (b) presence of enabled spread-spectrum settings in device-tree to change the IPU-DI PLL from PLL5 to PLL2 in this case to allow spread-spectrum clocking of parallel LCD-displays
-
The helper function checks if spread spectrum clocking is enabled in device tree.
-
- 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 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 24, 2023
-
-
The LDB is enabled via device tree overlay generated by gfxml2dto tool, depending on "display" settings in the XML configuration file. There is a problem with HDMI output when "display" settings are missing in the XML configuration file. The following errors can be observed in dmesg: [ 2.081476] /ldb/lvds-channel@0: could not find display-timings node [ 2.088014] /ldb/lvds-channel@0: no timings specified It happens because gfxml2dto does not completely disable the "ldb" node, but disables only the "panel". After this, the DRM driver does not bind any device.
-
- 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
-
-
Tobias Kahlki authored
-
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.
-
- Oct 16, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@bc85e805 Build documentation in Yocto
-
GitBot authored
-- 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.
-
- Sep 28, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@cf0336d6 Define manifest file to build from
-
- Sep 25, 2023
-
-
GitBot authored
-- 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.
-
- Sep 18, 2023
-
-
Some connected touches lead to a large traffic on the bus. If this traffic is handled too slowly, some ugly effects show up, such as input delays or a high CPU load due to the touch driver. Set the enable-isr-read flag to speed up the message read process. BCS 746-001477 746-001000
-
By default the read msg process is handled by the follwing queue mechanism: 1. Client driver read request 2. The i2c driver triggers a read and waits for a byte to be ready to read 3. ISR sends a wake_up call to the queue when the byte is ready to read 5. The i2c driver becomes scheduled again and reads the byte 6. The i2c driver waits for the next byte and so on For some reason, it often takes a long time to reschedule the i2c driver after the ISR reports ready status. This causes problems with i2c devices that cause a lot of bus traffic, such as touch devices. To resolve this, the devicetree flag "enable-i2c-isr" enables the following read routine: 1. Client driver read request 2. The i2c driver triggers a read and waits for the ISR 3. The ISR reads the bytes itself and wakes up the queue when all bytes are processed This way the wake_up calls are reduced by the number of bytes in a message and processing becomes much faster. However the ISR does more, but adding something that controls the scheduling of the i2c driver also seems to be very complicated. BCS 746-001477 746-001000
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@64dc51d3 Use regex operator to check for multiple variables The "&&" operator does not work as expected when checking if multiple variables are set. See for reference: https://gitlab.com/gitlab-org/gitlab/-/issues/321371 -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@89fbce24 Hide Confluence stage if confluence variables not set -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@db50e93b Hide deploy stage if DEPLOY_RELEASE_TARGET not set -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f4aa0048 Hide FTP stage if DEPLOY_FTP_TARGET not set This makes the variable HIDE_FTP_UPLOAD_STAGE obsolete, because we can hide the FTP stage now by setting DEPLOY_FTP_TARGET to an empty string. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@409c4f27 Do not run CI test sub-pipeline on master
-
- Sep 15, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@a731b156 Remove DISTRO_IMAGES This variable has been removed in Yocto. Its contents have been merged into DISTRO_RELEASE_ARTEFACTS. See for reference: seco-ne/yocto/layers/meta-seconorth-distro@a316e95e
-
- Sep 14, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@45f2aca7 Refactoring: remove parsing of testdata.json in package stage Extract and save these variables in the build stage instead and explicitly pass them as arguments to the package script. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@8ca2487d Move .simulate_build below .build_yocto -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@2808f067 Fix build.env contents for simulated build -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@73d00715 Pretty print release metadata JSON file
-
- Sep 08, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f2a29f53 Refactoring: remove RELEASE_NAME from deploy targets Append it to the configured target at the deploy class level instead. This removes the need for eval'ing the variables before usage. RELEASE_NAME can be used directly at the class level because it is known from build-version.env. This makes the deploy behavior identical to the Azure stage. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e136e5e2 Remove top-level "release" folder from package -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@1d5e479f Define MACHINE variable on job level Instead of passing MACHINE from stage to stage or loading it from testdata.json, use the original value from the Jinja2 loop and set it directly for each job where it is used. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@cdd47023 Introduce separate variables to set RELEASE_NAME and RELEASE_VERSION The expressions to calculate RELEASE_NAME and RELEASE_VERSION cannot be stored within these variables themseselves. If set on the trigger level, they would override the calculated values in build-version.env then, as trigger variables always have the highest precedence. Use separate variables RELEASE_VERSION_EXPRESSION and RELEASE_NAME_EXPRESSION to define how RELEASE_VERSION and RELEASE_NAME are calculated instead. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@372d192b Use RELEASE_VERSION and RELEASE_NAME from build-version job Instead of passing these variables from stage to stage or regenerating their values in later stages, use the ones set in the build-version job at all places. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@cad30c20 Remove RELEASE_SUFFIX variable The RELEASE_NAME variable can be set directly now, so there's no need to have a dedicated RELEASE_SUFFIX anymore. A previous configuration like RELEASE_SUFFIX: "-custom" can now be achieved using: RELEASE_NAME: "Yocto-${RELEASE_VERSION}-custom" -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@922f49f8 Add yocto version job This adds a machine-independent job "build-version" which populates the RELEASE_VERSION and RELEASE_NAME variables, so that following jobs can use these without depending on the various build jobs. The variables can be set from the trigger job in a project's `.gitlab-ci.yml` file. They are eval'ed before saving them to version.env, so we can use deferred variable expansion or even command execution to construct their values. This mechanism is already used for the Flash-N-Go System variables. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@073ae81e LAVA: rename MACHINE to LAVA_MACHINE Rename variable in order to avoid confusion with the original MACHINE variable used everywhere else. Also rename the local Jinja2 variable to include an underscore to make naming consistent. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@a91baa55 Clean build.env before writing This had been accidentally removed in 5e36715ef6cf98df4c1b98fedddc0c3c50ed4040. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@1860ca8e Remove LOG_PREFIX variable This was used in times when the same code was executed from different places. We don't do that anymore, so the variable is obsolete. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@3d2dbe4d Documentation: update job generation chapter
-
- Sep 04, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@17b87f84 Refactoring: remove CI_PARAM_ prefix from variables There is no need to add a prefix to the variables. Basically every variable can be set or overridden at the trigger level, so we just use plain variable names for everything. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@825f3686 Refactoring: do not rename *_PATH variables in build.env We were using different variable names for the same variable in build and package stages. Unify these names in order to reduce potential confusion. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@2346bb98 Refactoring: make build variable naming consistent Use underscore to separate words within variable name. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@581541b9 Refactoring: improve FNG_INSTALL_URL definition FNG_INSTALL_URL was defined in build.env only, and in order to use it during the build we sourced build.env after writing it. Remove this workaround and define the variable cleanly in the first place. This removes the intermediate variable FNG_INSTALL_PATH. Also move the "/artifact" path from JOB_URL to FNG_INSTALL_URL in order to make the JOB_URL variable name match better. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@35784f29 Refactoring: improve IMAGEPATH et al. definition On every usage of IMAGEPATH, SDKPATH and LICENSESPATH we prepended BUILDPATH to it. Prepend it directly on definition to prevent repetition. Also remove redundant variable IMAGEBASEPATH. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@5e36715e Remove needless variables from build.env There were three variables set in build.env of which the values are already known in the environment for all jobs, because they are passed from the parent pipeline. Use the original variables instead of defining new ones. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@84aa6afb Fix LAVA job name -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@8160c7d5 Sourcery: enable "low-code-quality" check globally Disable it locally instead, so that 1. new code additions are always checked, and 2. we can refactor one function at a time to make the check pass. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@ef60c378 Sourcery: keep "for-append-to-extend" check disabled This is another check that suggests changes an average developer without profound Python experience would find hard to understand. Disable it. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/for-append-to-extend/
-
- Aug 30, 2023
-
-
We lowered all the other constraint related log messages to debug level so lower the logging of what supplies we're configuring to debug level too. Signed-off-by:
Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20210929140717.3769-1-broonie@kernel.org Signed-off-by:
Mark Brown <broonie@kernel.org>
-
- Aug 28, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@cf371aca alphaplan_fwr: Remove obsolete pkg.py artifact The pkg.py file is no longer deployed by the build process. See commit seco-ne/yocto/layers/meta-seconorth-distro@e79e8579 -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@b2b43f71 Sourcery: keep "use-named-expression" check disabled This suggestion aims to reduce code size, but IMO for the expense of readability for non-python-experts, so we disable it. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/use-named-expression/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@ae8c5423 Sourcery: keep "use-next" check disabled I don't see any benefit in accepting the refactoring suggestions based on this rule. IMO it makes the code harder to read, especially for non- experienced Python developers. See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/use-next/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@9462f826 Refactoring: raise specific errors See for reference: https://docs.sourcery.ai/Reference/Python/Default-Rules/raise-specific-error/ -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@61eb3e11 Switch all strings to formatted string literals (f-strings) The old printf-style string formatting syntax using '%' is not recommended anymore. See for reference: https://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting https://docs.sourcery.ai/Reference/Python/Default-Rules/replace-interpolation-with-fstring/ Python 3.6 introduced f-strings as a better alternative: https://docs.python.org/3/reference/lexical_analysis.html#f-strings Consequently switch to this new syntax for all strings.
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@b2fb3e93 Combine build-yocto.yml and and build-common.yml to build-pipeline.yml
-
- Aug 24, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@e6808701 Add "Deploy Azure" stage This stage contains jobs to deploy packaged artifacts to our Azure blob storage. The required variables `AZURE_STORAGE_ACCOUNT` and `AZURE_STORAGE_SAS_TOKEN` are stored in the GitLab CI/CD variables. The storage container `AZURE_CONTAINER_NAME` and artifact path `AZURE_TARGET_FOLDER` are passed from the parent pipeline.
-
- Aug 22, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@f8c1d732 Add confluence stage This adds two jobs to the Yocto pipeline: - generate-confluence-page - publish-confluence-page The first one generates a confluence page from a template (`confluence-page.xml.jinja2`) using information downloaded from all successful "Deploy FTP" jobs of the same pipeline. The second one publishes this page in Confluence and displays a link to the new page. If the page already exists it is overwritten. The place in Confluence where the new page is published is configurable via the `CONFLUENCE_SPACE` and `CONFLUENCE_PARENT_ID` variables. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@fee9493b generate-build-pipeline: re-add YAML format parsing This was accidentally forgotten in the previous commit. -- Commit: seco-ne/yocto/infrastructure/gitlab-ci@9b777f29 Rename "generate_job_from_template" script to "render_jinja2_template" This makes the script more general and open for other future purposes. The parsing of the YAML content is conditional now, depending on the new "format" argument.
-
- Aug 11, 2023
-
-
GitBot authored
-- Commit: seco-ne/yocto/infrastructure/gitlab-ci@b20f6b95 Use multiple CI test pipelines Instead of mixing dedicated CI test jobs and Yocto build simulation jobs within one pipeline, use the new multi-build-pipelines architecture to split them up into separate child pipelines. This also makes most of the Yocto pipeline code reusable, so that we don't have to declare all the jobs again in ci-test.
-