gitlab: Add a Rockpro64 to the sjg lab
PATCH 1/2 gitlab: Add a Rockpro64 to the sjg lab
I have one of these boards with Armbian_22.02.2_Rockpro64_bullseye loaded. Add an entry for it so that it can be used for testing.
---
.gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+)
.gitlab-ci.yml +5 -0
@@ -705,3 +705,8 @@ colibrimx8: variables: ROLE: colibrimx8 <<: *lab_dfn + +rockpro64: + variables: + ROLE: rockpro64 + <<: *lab_dfn
Signature · 1 line
2.34.1
PATCH 2/2 gitlab: Add samus_tpl to the sjg lab
This board has two variants, one of which boots with tpl. Labgrid gets upset when they both try to claim the same hardware, so we might need to see if we can handle that cleanly, e.g. by making the job wait.
---
.gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+)
.gitlab-ci.yml +6 -0
@@ -593,6 +593,12 @@ samus: ROLE: samus <<: *lab_dfn +# chromebook_samus_tpl +samus_tpl: + variables: + ROLE: samus_tpl + <<: *lab_dfn + link: variables: ROLE: link
Signature · 1 line
2.34.1
Re: [PATCH 2/2] gitlab: Add samus_tpl to the sjg lab
Quoted 15 lines · Simon Glass
This board has two variants, one of which boots with tpl. Labgrid gets upset when they both try to claim the same hardware, so we might need to see if we can handle that cleanly, e.g. by making the job wait.
Signed-off-by Simon Glass <[email protected]>---
.gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+).gitlab-ci.yml +0
-0
.gitlab-ci.yml samus: · line 597
Quoted 5 lines
.gitlab-ci.yml +2
-0@@ -593,6 +593,12 @@ samus: ROLE: samus <<: *lab_dfn +# chromebook_samus_tpl +samus_tpl:
I think you can just add:
needs: [ "samus" ]
here and gitlab should get the ordering right, but I didn't pass it through the validator.
Signature · 1 line
Tom
Re: [PATCH 2/2] gitlab: Add samus_tpl to the sjg lab
Quoted 19 lines · Tom Rini
Quoted 18 lines · Simon Glass
This board has two variants, one of which boots with tpl. Labgrid gets upset when they both try to claim the same hardware, so we might need to see if we can handle that cleanly, e.g. by making the job wait.
Signed-off-by Simon Glass <[email protected]>---
.gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+).gitlab-ci.yml +0
-0@@ -593,6 +593,12 @@ samus: ROLE: samus <<: *lab_dfn
Quoted 8 lines
.gitlab-ci.yml samus: · line 597
Quoted 2 lines
.gitlab-ci.yml +2
-0+# chromebook_samus_tpl +samus_tpl:I think you can just add:
needs: [ "samus" ]
here and gitlab should get the ordering right, but I didn't pass it through the validator.
You probably want to not fetch artifacts from samus job though, so disable artifact downloading (if there's any), c.f. https://docs.gitlab.com/ee/ci/yaml/#needsartifacts
or use a resource_group, c.f. https://docs.gitlab.com/ee/ci/yaml/#resource_group
you could have
resource_group: samus
in both jobs for example. I think this matches more the expectation?
Cheers,
Quentin
Re: [PATCH 2/2] gitlab: Add samus_tpl to the sjg lab
Quoted 34 lines · Quentin Schulz
Quoted 11 lines · Tom Rini
Quoted 10 lines · Simon Glass
This board has two variants, one of which boots with tpl. Labgrid gets upset when they both try to claim the same hardware, so we might need to see if we can handle that cleanly, e.g. by making the job wait.
Signed-off-by Simon Glass <[email protected]>---
.gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+)Quoted 15 lines
.gitlab-ci.yml samus: · line 596
Quoted 9 lines
.gitlab-ci.yml +2
-0@@ -593,6 +593,12 @@ samus: ROLE: samus <<: *lab_dfn +# chromebook_samus_tpl +samus_tpl:I think you can just add:
needs: [ "samus" ]
here and gitlab should get the ordering right, but I didn't pass it through the validator.You probably want to not fetch artifacts from samus job though, so disable artifact downloading (if there's any), c.f.
https://docs.gitlab.com/ee/ci/yaml/#needsartifacts
Quoted 8 lines
or use a
resource_group, c.f.
https://docs.gitlab.com/ee/ci/yaml/#resource_groupyou could have
resource_group: samusin both jobs for example. I think this matches more the expectation?
Yup, that looks right, thanks!
Signature · 1 line
Tom