Skip to contentSkip to conversation

CI: use Kas 3.3

PATCH Applied [email protected] 2 participants 5 messages Jul 4, 2023 – Jul 7, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 CI: use Kas 3.3

From: Ross Burton <[email protected]>

Kas 3.3 has the following new features:

- kas: Introduce commit and branch as alternative to refspec key
- kas: Warn if a repo uses legacy refspec
- kas: add support for lock files via dump plugin
- kas: track root repo dir config files of menu plugin
- kas: add support for --log-level argument
- kas: add GIT_CREDENTIAL_USEHTTPPATH environment variable
- kas: improve error reporting
- kas: drop support for Python 3.5
- kas-container: fix invocations with --isar for some layers
- kas-container: Purge tmp* on clean
- kas-container: enable colored logging

4.0 is basically the same but the Kas container uses Debian 12, which is not yet supported as a tested platform. Until Debian 12 is tested we should continue to use 3.3.

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
.gitlab-ci.yml +1 -1
index b2246743..1433d2ac 100644
@@ -1,4 +1,4 @@
-image: ghcr.io/siemens/kas/kas:3.2.3
+image: ghcr.io/siemens/kas/kas:3.3
 
 variables:
   CPU_REQUEST: ""
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/3 CI: update to Kas format 14

From: Ross Burton <[email protected]>

---
 ci/base.yml                    | 2 +-
 ci/clang.yml                   | 2 +-
 ci/corstone1000-common.yml     | 2 +-
 ci/corstone1000-fvp.yml        | 2 +-
 ci/corstone1000-mps3.yml       | 2 +-
 ci/corstone500.yml             | 2 +-
 ci/debug.yml                   | 2 +-
 ci/edk2.yml                    | 2 +-
 ci/external-gccarm.yml         | 2 +-
 ci/fvp-base.yml                | 2 +-
 ci/fvp-baser-aemv8r64.yml      | 2 +-
 ci/fvp.yml                     | 2 +-
 ci/fvps.yml                    | 2 +-
 ci/gcc.yml                     | 2 +-
 ci/generic-arm64.yml           | 2 +-
 ci/glibc.yml                   | 2 +-
 ci/juno.yml                    | 2 +-
 ci/linux-yocto-dev.yml         | 2 +-
 ci/linux-yocto-rt.yml          | 2 +-
 ci/linux-yocto.yml             | 2 +-
 ci/meta-openembedded.yml       | 2 +-
 ci/meta-virtualization.yml     | 2 +-
 ci/musca-b1.yml                | 2 +-
 ci/musca-s1.yml                | 2 +-
 ci/musl.yml                    | 2 +-
 ci/n1sdp-ts.yml                | 2 +-
 ci/n1sdp.yml                   | 2 +-
 ci/poky-tiny.yml               | 2 +-
 ci/poky.yml                    | 2 +-
 ci/qemu-generic-arm64.yml      | 2 +-
 ci/qemuarm-secureboot.yml      | 2 +-
 ci/qemuarm.yml                 | 2 +-
 ci/qemuarm64-secureboot-ts.yml | 2 +-
 ci/qemuarm64-secureboot.yml    | 2 +-
 ci/qemuarm64.yml               | 2 +-
 ci/qemuarmv5.yml               | 2 +-
 ci/selftest.yml                | 2 +-
 ci/sgi575.yml                  | 2 +-
 ci/tc1.yml                     | 2 +-
 ci/testimage.yml               | 2 +-
 ci/tftf.yml                    | 2 +-
 ci/toolchains.yml              | 2 +-
 ci/u-boot.yml                  | 2 +-
 ci/xen.yml                     | 2 +-
 44 files changed, 44 insertions(+), 44 deletions(-)
ci/base.yml +1 -1
index 92fa7074..05142361 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
 
 distro: poky
 
ci/clang.yml +1 -1
index eeee7852..ecfd73b2 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
 
 repos:
   meta-clang:
ci/corstone1000-common.yml +1 -1
index d856cfe7..a4c9ca3f 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
     - ci/meta-openembedded.yml
ci/corstone1000-fvp.yml +1 -1
index 7d21b984..25f8edf8 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/corstone1000-common.yml
     - ci/fvp.yml
ci/corstone1000-mps3.yml +1 -1
index 2df7d976..7a1fc9ef 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/corstone1000-common.yml
 
ci/corstone500.yml +1 -1
index 0f9592e3..2172bc1f 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
     - ci/fvp.yml
ci/debug.yml +1 -1
index 757f6d1d..6ca1a072 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
 
 # Add universally helpful features when testing boards
 local_conf_header:
ci/edk2.yml +1 -1
index 1261bf10..3a5c4ce9 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
 
 local_conf_header:
   bootfirmware: |
ci/external-gccarm.yml +1 -1
index 2af8b5e8..fe8fa6ca 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
 
 local_conf_header:
   cc: |
ci/fvp-base.yml +1 -1
index fbba6984..7441ea42 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
     - ci/fvp.yml
ci/fvp-baser-aemv8r64.yml +1 -1
index cfaf9ef2..fd906250 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
     - ci/fvp.yml
ci/fvp.yml +1 -1
index 3803d8ca..81a5caa6 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
 
 local_conf_header:
   testimagefvp: |
ci/fvps.yml +1 -1
index 44c153ab..cf4103ed 100644
@@ -1,7 +1,7 @@
 # Simple target to build the FVPs that are publically available
 
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
 
ci/gcc.yml +1 -1
index a3943680..260199ae 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
 
 #NOTE: This is the default for poky.  This is only being added for completeness/clarity
 local_conf_header:
ci/generic-arm64.yml +1 -1
index 873c9fd1..5d944ef1 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
 
ci/glibc.yml +1 -1
index adc85a76..3c9f9eb7 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
 
 #NOTE: This is the default for poky.  This is only being added for completeness/clarity
 local_conf_header:
ci/juno.yml +1 -1
index b2ee60a7..552e325f 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
 
ci/linux-yocto-dev.yml +1 -1
index a6fadce1..5ee7afbb 100644
@@ -1,5 +1,5 @@
 header:
-  version: 9
+  version: 14
 
 local_conf_header:
   kernel: |
ci/linux-yocto-rt.yml +1 -1
index 69d768c5..65a276c1 100644
@@ -1,5 +1,5 @@
 header:
-  version: 9
+  version: 14
 
 local_conf_header:
   kernel: |
ci/linux-yocto.yml +1 -1
index 359fea5a..e9ccdcb2 100644
@@ -1,5 +1,5 @@
 header:
-  version: 9
+  version: 14
 
 #NOTE: This is the default for poky.  This is only being added for completeness/clarity
 local_conf_header:
ci/meta-openembedded.yml +1 -1
index bed338da..e1e16c8f 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
 
 repos:
   meta-openembedded:
ci/meta-virtualization.yml +1 -1
index 8791fc3b..5fba0481 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/meta-openembedded.yml
 
ci/musca-b1.yml +1 -1
index b38dd1e4..db2adc9b 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
     - ci/meta-openembedded.yml
ci/musca-s1.yml +1 -1
index 29f289a3..974badf4 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
     - ci/meta-openembedded.yml
ci/musl.yml +1 -1
index ee7905ec..641c4709 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
 
 local_conf_header:
   libc: |
ci/n1sdp-ts.yml +1 -1
index e8e9298d..641d3766 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/meta-openembedded.yml
 
ci/n1sdp.yml +1 -1
index f6883079..c1b654d4 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
 
ci/poky-tiny.yml +1 -1
index cf252a0e..d869c557 100644
@@ -1,5 +1,5 @@
 header:
-  version: 9
+  version: 14
 
 distro: poky-tiny
 
ci/poky.yml +1 -1
index d4bcfebf..d6887a9c 100644
@@ -1,4 +1,4 @@
 header:
-  version: 9
+  version: 14
 
 distro: poky
ci/qemu-generic-arm64.yml +1 -1
index 32c4b981..43ae2563 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/generic-arm64.yml
 
ci/qemuarm-secureboot.yml +1 -1
index 044661cd..97e99039 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
 
ci/qemuarm.yml +1 -1
index 4155847c..18fef52e 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
 
ci/qemuarm64-secureboot-ts.yml +1 -1
index 5f28dd3c..e18ce1a9 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/meta-openembedded.yml
 
ci/qemuarm64-secureboot.yml +1 -1
index f617dfc5..c4943cb6 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
 
ci/qemuarm64.yml +1 -1
index 66390344..cd03e942 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
 
ci/qemuarmv5.yml +1 -1
index 18c7a15a..c2ff6c84 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
 
ci/selftest.yml +1 -1
index 9a587354..e519851c 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
 
 local_conf_header:
   setup: |
ci/sgi575.yml +1 -1
index 1895fc52..faab716d 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
 
ci/tc1.yml +1 -1
index f2de9a4e..66c5ab99 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
     - ci/fvp.yml
ci/testimage.yml +1 -1
index 5d402f0f..f496ec1c 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/debug.yml
 
ci/tftf.yml +1 -1
index 6e42d9c6..260ceab0 100644
@@ -1,5 +1,5 @@
 header:
-  version: 9
+  version: 14
 
 local_conf_header:
   tftf: |
ci/toolchains.yml +1 -1
index 080d8d97..72ce5582 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/base.yml
 
ci/u-boot.yml +1 -1
index 76bdd23e..c693b8b0 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
 
 local_conf_header:
   bootfirmware: |
ci/xen.yml +1 -1
index d8b75d44..f4a8f9a4 100644
@@ -1,5 +1,5 @@
 header:
-  version: 11
+  version: 14
   includes:
     - ci/meta-virtualization.yml
 
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/3 CI: use branch, not refspec

In reply to [email protected]

From: Ross Burton <[email protected]>

Kas 3.3 uses branch and commit keys instead of a general-purpose refspec. Change the base to use branch:mickledore and remove the explicit use of master for meta-virtualization now that a mickledore branch exists there too now.

---
 ci/base.yml                | 2 +-
 ci/meta-virtualization.yml | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
ci/base.yml +1 -1
index 05142361..38d8584f 100644
@@ -5,7 +5,7 @@ distro: poky
 
 defaults:
   repos:
-    refspec: mickledore
+    branch: mickledore
 
 repos:
   meta-arm:
ci/meta-virtualization.yml +0 -1
index 5fba0481..88f8cdc9 100644
@@ -6,4 +6,3 @@ header:
 repos:
   meta-virtualization:
     url: git://git.yoctoproject.org/meta-virtualization
-    refspec: master
Signature · 1 line
2.34.1
Applied
#3 lore raw
In reply to [email protected]
Quoted 14 lines · On Tue, 4 Jul 2023 10:18:55 +0100, [email protected] wrote:

Kas 3.3 has the following new features:

- kas: Introduce commit and branch as alternative to refspec key
- kas: Warn if a repo uses legacy refspec
- kas: add support for lock files via dump plugin
- kas: track root repo dir config files of menu plugin
- kas: add support for --log-level argument
- kas: add GIT_CREDENTIAL_USEHTTPPATH environment variable
- kas: improve error reporting
- kas: drop support for Python 3.5
- kas-container: fix invocations with --isar for some layers
- kas-container: Purge tmp* on clean
- kas-container: enable colored logging

Quoted 1 line

[...]

Applied, thanks!

[1/3] CI: use Kas 3.3

      commit: 95e7e59c1a81d338d7eb710aabdf5c38cdddc45c
[2/3] CI: update to Kas format 14
      commit: 77b5e1c72c8d22a9c60eff26eb9bcad8edbc9e47
[3/3] CI: use branch, not refspec
      commit: c2d0905b51ff267839d1482640d913ccfa3bae63

Best regards,

Signature · 1 line
Jon Mason <[email protected]>
Applied
#4 lore raw
In reply to [email protected]
Quoted 14 lines · On Tue, 4 Jul 2023 10:18:55 +0100, [email protected] wrote:

Kas 3.3 has the following new features:

- kas: Introduce commit and branch as alternative to refspec key
- kas: Warn if a repo uses legacy refspec
- kas: add support for lock files via dump plugin
- kas: track root repo dir config files of menu plugin
- kas: add support for --log-level argument
- kas: add GIT_CREDENTIAL_USEHTTPPATH environment variable
- kas: improve error reporting
- kas: drop support for Python 3.5
- kas-container: fix invocations with --isar for some layers
- kas-container: Purge tmp* on clean
- kas-container: enable colored logging

Quoted 1 line

[...]

Applied, thanks!

[1/3] CI: use Kas 3.3

      commit: 95e7e59c1a81d338d7eb710aabdf5c38cdddc45c
[2/3] CI: update to Kas format 14
      commit: 77b5e1c72c8d22a9c60eff26eb9bcad8edbc9e47
[3/3] CI: use branch, not refspec
      commit: c2d0905b51ff267839d1482640d913ccfa3bae63

Best regards,

Signature · 1 line
Jon Mason <[email protected]>