From 27f1c0a3d7af165d4c6347afc63ec3525f2ec558 Mon Sep 17 00:00:00 2001 From: "flowzone-app[bot]" <124931076+flowzone-app[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 12:06:53 +0000 Subject: [PATCH] v5.3.4+rev4 --- .versionbot/CHANGELOG.yml | 569 ++++++++++++++++++++++++++++++++++++++ CHANGELOG.md | 157 +++++++++++ VERSION | 2 +- 3 files changed, 727 insertions(+), 1 deletion(-) diff --git a/.versionbot/CHANGELOG.yml b/.versionbot/CHANGELOG.yml index b4ebc853..b1f84f0d 100644 --- a/.versionbot/CHANGELOG.yml +++ b/.versionbot/CHANGELOG.yml @@ -1,3 +1,572 @@ +- commits: + - subject: Update balena-yocto-scripts to 7736d3807540afb6646b435117bffa2377ac0156 + hash: 3d919c95e96aa036e5ce458d5081a001fcdc383c + body: Update balena-yocto-scripts + footer: + Changelog-entry: Update balena-yocto-scripts to 7736d3807540afb6646b435117bffa2377ac0156 + changelog-entry: Update balena-yocto-scripts to 7736d3807540afb6646b435117bffa2377ac0156 + author: balena-renovate[bot] + nested: + - commits: + - subject: Update docker/login-action action to v3.3.0 + hash: 65a653d66efd1cbfdca1616d62a9387dc47eb50e + body: | + Update docker/login-action from 3.0.0 to 3.3.0 + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: balena-yocto-scripts-1.25.16 + title: "" + date: 2024-07-30T03:01:08.144Z + - commits: + - subject: Update actions/upload-artifact action to v4.3.4 + hash: f81cf0f07965cf34d687b76e9ad7befc6f49cf9c + body: | + Update actions/upload-artifact from 4.3.0 to 4.3.4 + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: balena-yocto-scripts-1.25.15 + title: "" + date: 2024-07-30T01:00:25.663Z + - commits: + - subject: Update balena-os/leviathan digest to 36aafe0 + hash: e5842524bf70adc29c62f35e0744ee970d232866 + body: | + Update balena-os/leviathan + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: balena-yocto-scripts-1.25.14 + title: "" + date: 2024-07-29T22:37:24.756Z + - commits: + - subject: Update actions/checkout action to v4.1.7 + hash: c9da5d524bbebe7dde5175584589cce5634b7a41 + body: | + Update actions/checkout from 4.1.1 to 4.1.7 + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: balena-yocto-scripts-1.25.13 + title: "" + date: 2024-07-29T20:55:15.720Z + - commits: + - subject: Update Pin dependencies + hash: c48f1f984f2f22f49fc9aee3f1cc9883f8ca7ec5 + body: | + Update actions/checkout + footer: + Change-type: patch + change-type: patch + author: balena-renovate[bot] + nested: [] + version: balena-yocto-scripts-1.25.12 + title: "" + date: 2024-07-29T18:13:01.088Z + - commits: + - subject: "revovate: change config to use balena-io template" + hash: f4d82d9029f39245cf15d2433a783d33787a73d1 + body: > + in this repo we are using "change-type" commits, but renovate is + using the balena-os default which is using "changelog-entry" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Ryan Cooke + signed-off-by: Ryan Cooke + author: rcooke-warwick + nested: [] + version: balena-yocto-scripts-1.25.11 + title: "" + date: 2024-07-29T15:14:59.755Z + - commits: + - subject: By default, deploy hostapp on push only + hash: 87763dfc75504522c1dadc698f74576bbf0e9320 + body: > + This is meant to keep the defaults of `deploy-s3` and + `deploy-hostapp` + + consistent. + footer: + Signed-off-by: Leandro Motta Barros + signed-off-by: Leandro Motta Barros + Change-type: patch + change-type: patch + author: Leandro Motta Barros + nested: [] + version: balena-yocto-scripts-1.25.10 + title: "" + date: 2024-07-23T02:23:14.094Z + - commits: + - subject: use token to fetch private contracts + hash: acfc8d20ce8dd4b29eae67679dd1a89ffcc75c7c + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Ryan Cooke + signed-off-by: Ryan Cooke + author: rcooke-warwick + nested: [] + - subject: unroll balena_lib_build_contract function + hash: 82c9e482f3bfb0fcd960c455f2c8ff0c42c98baa + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Ryan Cooke + signed-off-by: Ryan Cooke + author: rcooke-warwick + nested: [] + - subject: unroll balena_api_is_dt_private function + hash: cc3102dbb1348ee563b08dfd3afd37daaa0404ca + body: > + when building + deploying or a private DT , the check to see if + the DT is private fails. This is due to + https://github.com/balena-os/balena-yocto-scripts/blob/master/automation/include/balena-api.inc#L424 + using this function: + https://github.com/balena-os/balena-yocto-scripts/blob/master/automation/include/balena-lib.inc#L191 + - which uses the jenkins deployTo variable to select the correct + api url and token. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Ryan Cooke + signed-off-by: Ryan Cooke + author: rcooke-warwick + nested: [] + version: balena-yocto-scripts-1.25.9 + title: "" + date: 2024-07-22T16:18:49.689Z + - commits: + - subject: Use env vars BALENA_HOST and BALENACLOUD_SSH_URL when provided + hash: f04607fc0f50a99bb2fd14370a2e2dae0e3f7094 + body: | + These currently differ between environments, and we will need + to start supporting environment names that are not the same + as the balena host. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: balena-yocto-scripts-1.25.8 + title: "" + date: 2024-07-17T19:56:20.231Z + - commits: + - subject: Fix handling of empty test matrix input + hash: 727d8d275455361d3bc82b5aec392e9aaa08248b + body: | + Previously an empty test matrix would cause + an error in the workflow. + + Added an if condition to check for a valid + test_suite property where applicable. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: balena-yocto-scripts-1.25.7 + title: "" + date: 2024-07-16T20:10:01.990Z + - commits: + - subject: Use App Installation tokens so we can clone private submodules + hash: 9ca32e51938efc3c5cd01b96eecce85665fb9698 + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: balena-yocto-scripts-1.25.6 + title: "" + date: 2024-07-15T15:11:37.708Z + - commits: + - subject: only login to s3 if deploying to s3 + hash: a23ed7074fd2af18b952b9d0f6ee2623dd6a76f8 + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Ryan Cooke + signed-off-by: Ryan Cooke + author: rcooke-warwick + nested: [] + version: balena-yocto-scripts-1.25.5 + title: "" + date: 2024-07-08T16:52:21.474Z + - commits: + - subject: "balena-deploy: deploy secure boot lock artifacts if available" + hash: 01378a49b0b2264afcf6d2dc4d016e2be206fde7 + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Alex Gonzalez + signed-off-by: Alex Gonzalez + author: Alex Gonzalez + nested: [] + version: balena-yocto-scripts-1.25.4 + title: "" + date: 2024-07-06T09:01:53.726Z + - commits: + - subject: use workflow run of PR head instead of statuses to determine test + results + hash: ad06820f4174568383678710fa68b2054da6db57 + body: > + Since we have moved to workflows for tests instead of status + checks, we have to fetch the workflow runs for the appropriate + commit to determine a test pass/fail. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Ryan Cooke + signed-off-by: Ryan Cooke + author: rcooke-warwick + nested: [] + version: balena-yocto-scripts-1.25.3 + title: "" + date: 2024-07-05T12:42:09.570Z + - commits: + - subject: Remove dry-run flag from S3 upload + hash: cf0301996022ef58a9c19d40d002d72a1bbcf705 + body: | + We are publishing hostapp releases to staging already, we should + start including the associated S3 files as well. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: balena-yocto-scripts-1.25.2 + title: "" + date: 2024-07-03T21:19:20.964Z + - commits: + - subject: Fix actionlint errors and warnings in shell steps + hash: da910ed9ac6fdd70bd0ebd1beb0dbbd1248517fd + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: balena-yocto-scripts-1.25.1 + title: "" + date: 2024-07-03T18:33:05.802Z + - commits: + - subject: Do not run any tests by default unless provided by calling workflow + hash: d0cfc42cf8a17ef6b5f2ac4eed6f84d1581435e6 + body: > + As there are currently more device types without tests than + with, + + and some of those with tests need to provide overrides anyway, + it's + + simpler to assume an empty test matrix unless provided. + footer: + Change-type: minor + change-type: minor + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: balena-yocto-scripts-1.25.0 + title: "" + date: 2024-07-03T15:44:25.729Z + - commits: + - subject: "patch: No upload to GH artifacts when PR is closed" + hash: cdee530e227972e251a2c7c06f4a3e97747419ca + body: > + Uploading artifacts to GH artifact storage when PR is merged + + (closed event) is wasterful. Since they are only uploaded for + temporary + + basis so it can be used for testing. Hence, the PR to stop doing + that + + for closed PR event + footer: + Signed-off-by: Vipul Gupta (@vipulgupta2048) + signed-off-by: Vipul Gupta (@vipulgupta2048) + author: Vipul Gupta (@vipulgupta2048) + nested: [] + version: balena-yocto-scripts-1.24.3 + title: "" + date: 2024-07-02T22:05:09.072Z + - commits: + - subject: Fix quoting of $GITHUB_OUTPUT + hash: 5f56f3236d8ee3d764e46e419aa2431dd42d45ff + body: | + We had typos in two cases, in which we missed the opening quote. + footer: + Signed-off-by: Leandro Motta Barros + signed-off-by: Leandro Motta Barros + Change-type: patch + change-type: patch + author: Leandro Motta Barros + nested: [] + version: balena-yocto-scripts-1.24.2 + title: "" + date: 2024-07-02T00:54:39.074Z + - commits: + - subject: Simplify check for secure boot + hash: be189f7e2f6fb26f778f29e1f955a1cdd01bc8a4 + body: > + We were previously introducing a variable that was essentially + + replicating the contents of an input. This commit makes use of + the input + + directly. + + + Incidentally, the previous code also had a small bug/typo, in + which we + + mixed a test for string length with a test for string equality. + footer: + Signed-off-by: Leandro Motta Barros + signed-off-by: Leandro Motta Barros + Change-type: patch + change-type: patch + author: Leandro Motta Barros + nested: [] + version: balena-yocto-scripts-1.24.1 + title: "" + date: 2024-06-27T20:35:29.474Z + - commits: + - subject: Support runner selection in the test matrix + hash: d409cb0fbaa307a179973b60e5faff8cda6bc34b + body: > + Default to self-hosted X64 with KVM for now to align with + Jenkins but in the future + + we should consider using GitHub hosted runners for the testbot + workers. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + - subject: Allow both combinatorial and include syntax for test_matrix + hash: 2bfc3a0d72830626366cf210f4fe9a0e649688c5 + body: > + The include syntax allows full control over settings used + + in each test job, but the combinatorial is simpler to write + + for basic use cases. + + + Rather than force one, we can allow both and default to the + simple + + syntax. + + + Marking as minor since the input syntax has changed, but isn't + + currently used in production anywhere. + footer: + Change-type: minor + change-type: minor + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: balena-yocto-scripts-1.24.0 + title: "" + date: 2024-06-26T21:26:13.711Z + - commits: + - subject: Refactor secrets and variables to use environments + hash: c46eb9cfa4a272f00af4029c31e355477169802a + body: | + Reduce the required secrets and inputs required by + relying on vars and secrets set in each GitHub Environment. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: balena-yocto-scripts-1.23.1 + title: "" + date: 2024-06-26T12:43:22.833Z + - commits: + - subject: "Dockerfiles: update balenaCLI version to 18.2.2" + hash: cd6ff2606e5f7a251c6b03d4cfbea371d00a9db7 + body: | + Update balena CLI from 17.2.2 to 18.2.2. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Joseph Kogut + signed-off-by: Joseph Kogut + author: Joseph Kogut + nested: [] + - subject: "Dockerfile_yocto-build-env: bump base image to 22.04" + hash: e027c512dbcf801a66a4bb4da15639ca67eedd2e + body: > + This brings a new Docker engine version which supports cgroup v2. + footer: + Change-type: minor + change-type: minor + Signed-off-by: Joseph Kogut + signed-off-by: Joseph Kogut + author: Joseph Kogut + nested: [] + version: balena-yocto-scripts-1.23.0 + title: "" + date: 2024-06-19T15:20:58.274Z + - commits: + - subject: Update job conditions to allow non-PR events for internal branches + hash: 2d0f1029d7b5489feb7c98d749ff66c8faf2f1e7 + body: "" + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + - subject: Hardcode environment paths at the job level + hash: 5dc710c0cc5d8a1c0da97bbb9d39fdb51f5a4497 + body: | + This is easier to read and less likely to break + with unexpected values. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + - subject: Replace test inputs with a single JSON matrix input + hash: 0d6cb8ac05fec8dd314f12e5335f847ef3f8ab78 + body: | + This allows full control over which test conditions are + used for each test job without combinatorial explosion. + + For example, different environments could be used for + specific test suites, or the cloud suite could be run + twice while the other suites run once. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: balena-yocto-scripts-1.22.4 + title: "" + date: 2024-06-14T15:57:11.418Z + - commits: + - subject: "jenkins_generate_ami: pass yocto scripts version as an env var to + helper container" + hash: af71169b93e855c8ecb378b5de3d4a1c12f44510 + body: > + The ami deploys in jenkins fail at the moment because the + balena-lib.inc script fails to fetch the version of the yocto + scripts when running inside the helper image. Passing the + version to the helper image via an env var helps this + footer: + Change-type: patch + change-type: patch + Signed-off-by: Ryan Cooke + signed-off-by: Ryan Cooke + author: rcooke-warwick + nested: [] + version: balena-yocto-scripts-1.22.3 + title: "" + date: 2024-06-13T19:04:31.350Z + - commits: + - subject: Update the triggers on the example test workflow + hash: 1f09e509e09a1a44b62772b9e197fe183c72744d + body: | + We do not need to run the workflow on close/merge, and we + can skip the manual workflow runs on this project as + each device type will have it's own workflow in the device + repos supporting manual triggers. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: balena-yocto-scripts-1.22.2 + title: "" + date: 2024-06-12T17:54:57.718Z + - commits: + - subject: Prevent duplicate workflow runs for multiple triggers + hash: e0132cfba86fcc05527dc4702d6841723752be38 + body: | + This may need to be force merged. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + - subject: Add catchall job to yocto-build-deploy for merge requirements + hash: 6b023b572a35d18743cf4a5d36b9d2f7443fc744 + body: | + This is a helper job to avoid having to mark all build/test + matrices as required, as this job will always run and return + success or failure. + footer: + Change-type: patch + change-type: patch + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: balena-yocto-scripts-1.22.1 + title: "" + date: 2024-06-07T13:45:18.699Z + - commits: + - subject: Create workflow to build and deploy balenaOS + hash: 5868caaa3b7bf506381c8d22f7b0b4035f7e2658 + body: "" + footer: + Change-type: minor + change-type: minor + Signed-off-by: Kyle Harding + signed-off-by: Kyle Harding + author: Kyle Harding + nested: [] + version: balena-yocto-scripts-1.22.0 + title: "" + date: 2024-06-06T17:24:03.676Z + version: 5.3.4+rev4 + title: "" + date: 2024-08-01T12:06:46.465Z - commits: - subject: Update contracts to d06ad25196f67c4d20ad309941192fdddf80e307 hash: 8905bed26fd17c4f9eecec6e8646a129bc06c18e diff --git a/CHANGELOG.md b/CHANGELOG.md index 54a1a2fd..330b954f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,163 @@ Change log ----------- +# v5.3.4+rev4 +## (2024-08-01) + + +
+ Update balena-yocto-scripts to 7736d3807540afb6646b435117bffa2377ac0156 [balena-renovate[bot]] + +> ## balena-yocto-scripts-1.25.16 +> ### (Invalid date) +> +> * Update docker/login-action action to v3.3.0 [balena-renovate[bot]] +> +> ## balena-yocto-scripts-1.25.15 +> ### (Invalid date) +> +> * Update actions/upload-artifact action to v4.3.4 [balena-renovate[bot]] +> +> ## balena-yocto-scripts-1.25.14 +> ### (2024-07-29) +> +> * Update balena-os/leviathan digest to 36aafe0 [balena-renovate[bot]] +> +> ## balena-yocto-scripts-1.25.13 +> ### (2024-07-29) +> +> * Update actions/checkout action to v4.1.7 [balena-renovate[bot]] +> +> ## balena-yocto-scripts-1.25.12 +> ### (2024-07-29) +> +> * Update Pin dependencies [balena-renovate[bot]] +> +> ## balena-yocto-scripts-1.25.11 +> ### (2024-07-29) +> +> * revovate: change config to use balena-io template [rcooke-warwick] +> +> ## balena-yocto-scripts-1.25.10 +> ### (2024-07-23) +> +> * By default, deploy hostapp on push only [Leandro Motta Barros] +> +> ## balena-yocto-scripts-1.25.9 +> ### (2024-07-22) +> +> * use token to fetch private contracts [rcooke-warwick] +> * unroll balena_lib_build_contract function [rcooke-warwick] +> * unroll balena_api_is_dt_private function [rcooke-warwick] +> +> ## balena-yocto-scripts-1.25.8 +> ### (2024-07-17) +> +> * Use env vars BALENA_HOST and BALENACLOUD_SSH_URL when provided [Kyle Harding] +> +> ## balena-yocto-scripts-1.25.7 +> ### (2024-07-16) +> +> * Fix handling of empty test matrix input [Kyle Harding] +> +> ## balena-yocto-scripts-1.25.6 +> ### (2024-07-15) +> +> * Use App Installation tokens so we can clone private submodules [Kyle Harding] +> +> ## balena-yocto-scripts-1.25.5 +> ### (2024-07-08) +> +> * only login to s3 if deploying to s3 [rcooke-warwick] +> +> ## balena-yocto-scripts-1.25.4 +> ### (2024-07-06) +> +> * balena-deploy: deploy secure boot lock artifacts if available [Alex Gonzalez] +> +> ## balena-yocto-scripts-1.25.3 +> ### (2024-07-05) +> +> * use workflow run of PR head instead of statuses to determine test results [rcooke-warwick] +> +> ## balena-yocto-scripts-1.25.2 +> ### (2024-07-03) +> +> * Remove dry-run flag from S3 upload [Kyle Harding] +> +> ## balena-yocto-scripts-1.25.1 +> ### (2024-07-03) +> +> * Fix actionlint errors and warnings in shell steps [Kyle Harding] +> +> ## balena-yocto-scripts-1.25.0 +> ### (2024-07-03) +> +> * Do not run any tests by default unless provided by calling workflow [Kyle Harding] +> +> ## balena-yocto-scripts-1.24.3 +> ### (2024-07-02) +> +> * patch: No upload to GH artifacts when PR is closed [Vipul Gupta (@vipulgupta2048)] +> +> ## balena-yocto-scripts-1.24.2 +> ### (2024-07-02) +> +> * Fix quoting of $GITHUB_OUTPUT [Leandro Motta Barros] +> +> ## balena-yocto-scripts-1.24.1 +> ### (2024-06-27) +> +> * Simplify check for secure boot [Leandro Motta Barros] +> +> ## balena-yocto-scripts-1.24.0 +> ### (2024-06-26) +> +> * Support runner selection in the test matrix [Kyle Harding] +> * Allow both combinatorial and include syntax for test_matrix [Kyle Harding] +> +> ## balena-yocto-scripts-1.23.1 +> ### (2024-06-26) +> +> * Refactor secrets and variables to use environments [Kyle Harding] +> +> ## balena-yocto-scripts-1.23.0 +> ### (2024-06-19) +> +> * Dockerfiles: update balenaCLI version to 18.2.2 [Joseph Kogut] +> * Dockerfile_yocto-build-env: bump base image to 22.04 [Joseph Kogut] +> +> ## balena-yocto-scripts-1.22.4 +> ### (2024-06-14) +> +> * Update job conditions to allow non-PR events for internal branches [Kyle Harding] +> * Hardcode environment paths at the job level [Kyle Harding] +> * Replace test inputs with a single JSON matrix input [Kyle Harding] +> +> ## balena-yocto-scripts-1.22.3 +> ### (2024-06-13) +> +> * jenkins_generate_ami: pass yocto scripts version as an env var to helper container [rcooke-warwick] +> +> ## balena-yocto-scripts-1.22.2 +> ### (2024-06-12) +> +> * Update the triggers on the example test workflow [Kyle Harding] +> +> ## balena-yocto-scripts-1.22.1 +> ### (2024-06-07) +> +> * Prevent duplicate workflow runs for multiple triggers [Kyle Harding] +> * Add catchall job to yocto-build-deploy for merge requirements [Kyle Harding] +> +> ## balena-yocto-scripts-1.22.0 +> ### (2024-06-06) +> +> * Create workflow to build and deploy balenaOS [Kyle Harding] +> + +
+ # v5.3.4+rev3 ## (2024-05-29) diff --git a/VERSION b/VERSION index cec41fcd..417f08d4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -5.3.4+rev3 \ No newline at end of file +5.3.4+rev4 \ No newline at end of file