Skip to content
Snippets Groups Projects
Commit 372bd1a7 authored by Chase Qi's avatar Chase Qi
Browse files

ci: reorganize SQUAD groups and projects


Reorganize SQUAD groups and projects to make it easier to find out what
is tested by looking at the group/project overview.

New group/project org.

```
squad/
├── merge-request
│   ├── meta-zephyr
│   └── oniro
├── release
├── scheduled-daily
│   ├── kselftest
│   ├── ltp
│   ├── perf
│   └── zephyr
└── scheduled-weekly
    └── gcc
```

This closes: #731

Signed-off-by: default avatarChase Qi <chase.qi@linaro.org>
parent 5c7b1010
No related branches found
No related tags found
1 merge request!257ci: reorganize SQUAD groups and projects
...@@ -202,11 +202,13 @@ publish-seco-intel-b68: ...@@ -202,11 +202,13 @@ publish-seco-intel-b68:
extends: .lava-test extends: .lava-test
variables: variables:
CI_LAVA_JOB_PRIORITY: "high" CI_LAVA_JOB_PRIORITY: "high"
CI_SQUAD_GROUP_NAME: "merge-request"
CI_SQUAD_PROJECT_NAME: "oniro"
.lava-test-scheduled: .lava-test-scheduled:
extends: .lava-test extends: .lava-test
variables: variables:
CI_SQUAD_PROJECT_NAME: "oniro" CI_SQUAD_GROUP_NAME: "scheduled-daily"
rules: rules:
- if: '$CI_SQUAD_TOKEN == null' - if: '$CI_SQUAD_TOKEN == null'
when: never when: never
...@@ -286,6 +288,7 @@ lava-qemu-x86-ltp: ...@@ -286,6 +288,7 @@ lava-qemu-x86-ltp:
CI_BUILD_JOB_NAME: linux-qemu-x86-gcc CI_BUILD_JOB_NAME: linux-qemu-x86-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86-ltp.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86-ltp.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "ltp"
lava-qemu-x86_64-ltp: lava-qemu-x86_64-ltp:
needs: [linux-qemu-x86_64-gcc] needs: [linux-qemu-x86_64-gcc]
...@@ -296,6 +299,7 @@ lava-qemu-x86_64-ltp: ...@@ -296,6 +299,7 @@ lava-qemu-x86_64-ltp:
CI_BUILD_JOB_NAME: linux-qemu-x86_64-gcc CI_BUILD_JOB_NAME: linux-qemu-x86_64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86_64-ltp.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86_64-ltp.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "ltp"
lava-raspberrypi4-64-ltp: lava-raspberrypi4-64-ltp:
needs: [linux-raspberrypi4-64-gcc] needs: [linux-raspberrypi4-64-gcc]
...@@ -306,6 +310,7 @@ lava-raspberrypi4-64-ltp: ...@@ -306,6 +310,7 @@ lava-raspberrypi4-64-ltp:
CI_BUILD_JOB_NAME: linux-raspberrypi4-64-gcc CI_BUILD_JOB_NAME: linux-raspberrypi4-64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/raspberrypi4-64-ltp.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/raspberrypi4-64-ltp.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "ltp"
lava-seco-intel-b68-ltp: lava-seco-intel-b68-ltp:
needs: [linux-seco-intel-b68-gcc] needs: [linux-seco-intel-b68-gcc]
...@@ -316,6 +321,7 @@ lava-seco-intel-b68-ltp: ...@@ -316,6 +321,7 @@ lava-seco-intel-b68-ltp:
CI_BUILD_JOB_NAME: linux-seco-intel-b68-gcc CI_BUILD_JOB_NAME: linux-seco-intel-b68-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-intel-b68-ltp.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-intel-b68-ltp.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "ltp"
lava-seco-c61-4gb-ltp: lava-seco-c61-4gb-ltp:
needs: [linux-seco-imx8mm-c61-4gb-gcc] needs: [linux-seco-imx8mm-c61-4gb-gcc]
...@@ -327,6 +333,7 @@ lava-seco-c61-4gb-ltp: ...@@ -327,6 +333,7 @@ lava-seco-c61-4gb-ltp:
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb-gcc CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-ltp.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-ltp.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "ltp"
lava-seco-c61-2gb-ltp: lava-seco-c61-2gb-ltp:
needs: [linux-seco-imx8mm-c61-2gb-gcc] needs: [linux-seco-imx8mm-c61-2gb-gcc]
...@@ -338,6 +345,7 @@ lava-seco-c61-2gb-ltp: ...@@ -338,6 +345,7 @@ lava-seco-c61-2gb-ltp:
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-2gb-gcc CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-2gb-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-ltp.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-ltp.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "ltp"
lava-qemu-x86_64-kselftest: lava-qemu-x86_64-kselftest:
needs: [linux-qemu-x86_64-gcc] needs: [linux-qemu-x86_64-gcc]
...@@ -348,6 +356,7 @@ lava-qemu-x86_64-kselftest: ...@@ -348,6 +356,7 @@ lava-qemu-x86_64-kselftest:
CI_BUILD_JOB_NAME: linux-qemu-x86_64-gcc CI_BUILD_JOB_NAME: linux-qemu-x86_64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86_64-kselftest.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86_64-kselftest.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "kselftest"
lava-raspberrypi4-64-kselftest: lava-raspberrypi4-64-kselftest:
needs: [linux-raspberrypi4-64-gcc] needs: [linux-raspberrypi4-64-gcc]
...@@ -358,6 +367,7 @@ lava-raspberrypi4-64-kselftest: ...@@ -358,6 +367,7 @@ lava-raspberrypi4-64-kselftest:
CI_BUILD_JOB_NAME: linux-raspberrypi4-64-gcc CI_BUILD_JOB_NAME: linux-raspberrypi4-64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/raspberrypi4-64-kselftest.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/raspberrypi4-64-kselftest.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "kselftest"
lava-seco-c61-4gb-kselftest: lava-seco-c61-4gb-kselftest:
needs: [linux-seco-imx8mm-c61-4gb-gcc] needs: [linux-seco-imx8mm-c61-4gb-gcc]
...@@ -369,6 +379,7 @@ lava-seco-c61-4gb-kselftest: ...@@ -369,6 +379,7 @@ lava-seco-c61-4gb-kselftest:
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb-gcc CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-kselftest.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-kselftest.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "kselftest"
lava-seco-c61-2gb-kselftest: lava-seco-c61-2gb-kselftest:
needs: [linux-seco-imx8mm-c61-2gb-gcc] needs: [linux-seco-imx8mm-c61-2gb-gcc]
...@@ -380,6 +391,7 @@ lava-seco-c61-2gb-kselftest: ...@@ -380,6 +391,7 @@ lava-seco-c61-2gb-kselftest:
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-2gb-gcc CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-2gb-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-kselftest.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-kselftest.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "kselftest"
lava-zephyr-96b-nitrogen-twister: lava-zephyr-96b-nitrogen-twister:
needs: [zephyr-96b-nitrogen-twister-gcc] needs: [zephyr-96b-nitrogen-twister-gcc]
...@@ -390,6 +402,7 @@ lava-zephyr-96b-nitrogen-twister: ...@@ -390,6 +402,7 @@ lava-zephyr-96b-nitrogen-twister:
CI_BUILD_JOB_NAME: zephyr-96b-nitrogen-twister-gcc CI_BUILD_JOB_NAME: zephyr-96b-nitrogen-twister-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/nitrogen-twister.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/nitrogen-twister.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "zephyr"
lava-qemu-x86-perf: lava-qemu-x86-perf:
needs: [linux-qemu-x86-gcc] needs: [linux-qemu-x86-gcc]
...@@ -400,6 +413,7 @@ lava-qemu-x86-perf: ...@@ -400,6 +413,7 @@ lava-qemu-x86-perf:
CI_BUILD_JOB_NAME: linux-qemu-x86-gcc CI_BUILD_JOB_NAME: linux-qemu-x86-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86-perf.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86-perf.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "perf"
lava-qemu-x86_64-perf: lava-qemu-x86_64-perf:
needs: [linux-qemu-x86_64-gcc] needs: [linux-qemu-x86_64-gcc]
...@@ -410,6 +424,7 @@ lava-qemu-x86_64-perf: ...@@ -410,6 +424,7 @@ lava-qemu-x86_64-perf:
CI_BUILD_JOB_NAME: linux-qemu-x86_64-gcc CI_BUILD_JOB_NAME: linux-qemu-x86_64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86_64-perf.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/qemu-x86_64-perf.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "perf"
lava-raspberrypi4-64-perf: lava-raspberrypi4-64-perf:
needs: [linux-raspberrypi4-64-gcc] needs: [linux-raspberrypi4-64-gcc]
...@@ -420,6 +435,7 @@ lava-raspberrypi4-64-perf: ...@@ -420,6 +435,7 @@ lava-raspberrypi4-64-perf:
CI_BUILD_JOB_NAME: linux-raspberrypi4-64-gcc CI_BUILD_JOB_NAME: linux-raspberrypi4-64-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/raspberrypi4-64-perf.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/raspberrypi4-64-perf.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "perf"
lava-seco-intel-b68-perf: lava-seco-intel-b68-perf:
needs: [linux-seco-intel-b68-gcc] needs: [linux-seco-intel-b68-gcc]
...@@ -430,6 +446,7 @@ lava-seco-intel-b68-perf: ...@@ -430,6 +446,7 @@ lava-seco-intel-b68-perf:
CI_BUILD_JOB_NAME: linux-seco-intel-b68-gcc CI_BUILD_JOB_NAME: linux-seco-intel-b68-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-intel-b68-perf.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-intel-b68-perf.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "perf"
lava-seco-c61-4gb-perf: lava-seco-c61-4gb-perf:
needs: [linux-seco-imx8mm-c61-4gb-gcc] needs: [linux-seco-imx8mm-c61-4gb-gcc]
...@@ -441,6 +458,7 @@ lava-seco-c61-4gb-perf: ...@@ -441,6 +458,7 @@ lava-seco-c61-4gb-perf:
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb-gcc CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-4gb-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-perf.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-perf.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "perf"
lava-seco-c61-2gb-perf: lava-seco-c61-2gb-perf:
needs: [linux-seco-imx8mm-c61-2gb-gcc] needs: [linux-seco-imx8mm-c61-2gb-gcc]
...@@ -452,6 +470,7 @@ lava-seco-c61-2gb-perf: ...@@ -452,6 +470,7 @@ lava-seco-c61-2gb-perf:
CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-2gb-gcc CI_BUILD_JOB_NAME: linux-seco-imx8mm-c61-2gb-gcc
CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-perf.yaml" CI_LAVA_JOB_DEFINITION: "https://git.ostc-eu.org/OSTC/infrastructure/lava/lava-config/-/raw/master/lava.ostc-eu.org/job-definitions/ci/seco-c61-perf.yaml"
CI_REPORT_JOB_NAME: lava-report CI_REPORT_JOB_NAME: lava-report
CI_SQUAD_PROJECT_NAME: "perf"
lava-zephyr-qemu-cortex-m3: lava-zephyr-qemu-cortex-m3:
needs: [zephyr-qemu-cortex-m3-gcc] needs: [zephyr-qemu-cortex-m3-gcc]
...@@ -498,7 +517,7 @@ lava-qemu-x86_64-sysota: ...@@ -498,7 +517,7 @@ lava-qemu-x86_64-sysota:
lava-raspberrypi4-64-sysota: lava-raspberrypi4-64-sysota:
needs: [bundle-raspberrypi4-64] needs: [bundle-raspberrypi4-64]
stage: test stage: test
extends: .lava-test extends: .lava-test-mr
variables: variables:
MACHINE: raspberrypi4-64 MACHINE: raspberrypi4-64
CI_BUILD_JOB_NAME: linux-raspberrypi4-64 CI_BUILD_JOB_NAME: linux-raspberrypi4-64
...@@ -509,7 +528,7 @@ lava-raspberrypi4-64-sysota: ...@@ -509,7 +528,7 @@ lava-raspberrypi4-64-sysota:
lava-seco-intel-b68-sysota: lava-seco-intel-b68-sysota:
needs: [bundle-seco-intel-b68] needs: [bundle-seco-intel-b68]
stage: test stage: test
extends: .lava-test extends: .lava-test-mr
variables: variables:
MACHINE: seco-intel-b68 MACHINE: seco-intel-b68
CI_BUILD_JOB_NAME: linux-seco-intel-b68 CI_BUILD_JOB_NAME: linux-seco-intel-b68
......
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
GIT_STRATEGY: none GIT_STRATEGY: none
CI_LAVA_INSTANCE: "https://lava.ostc-eu.org/" CI_LAVA_INSTANCE: "https://lava.ostc-eu.org/"
CI_SQUAD_INSTANCE: "https://squadp.svc.ostc-eu.dev" CI_SQUAD_INSTANCE: "https://squadp.svc.ostc-eu.dev"
CI_SQUAD_PROJECT_NAME: "oniro-test-mr" CI_SQUAD_GROUP_NAME: ""
CI_SQUAD_PROJECT_NAME: ""
CI_LAVA_JOB_PRIORITY: "medium" CI_LAVA_JOB_PRIORITY: "medium"
# Run the same ltp test suites that using by LKFT project. # Run the same ltp test suites that using by LKFT project.
# Reference: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.98-75-g9f5cb871ceb9/testjobs/ # Reference: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.10.y/build/v5.10.98-75-g9f5cb871ceb9/testjobs/
...@@ -32,7 +33,13 @@ ...@@ -32,7 +33,13 @@
echo "precondition failed - set CI_LAVA_JOB_DEFINITION to the URL of the LAVA test job definition" echo "precondition failed - set CI_LAVA_JOB_DEFINITION to the URL of the LAVA test job definition"
&& exit 1 ) && exit 1 )
- test -n "$CI_REPORT_JOB_NAME" || ( - test -n "$CI_REPORT_JOB_NAME" || (
echo "precondition failed - set CI_REPORT_JOB_NAME to the CI job name which will gather results back from LAVA" echo "precondition failed - set CI_REPORT_JOB_NAME to the CI job name which will gather results back from Squad"
&& exit 1 )
- test -n "$CI_SQUAD_GROUP_NAME" || (
echo "precondition failed - set CI_SQUAD_GROUP_NAME to the squad group name."
&& exit 1 )
- test -n "$CI_SQUAD_PROJECT_NAME" || (
echo "precondition failed - set CI_SQUAD_PROJECT_NAME to the squad project name."
&& exit 1 ) && exit 1 )
# If the test job name contains 'sysota', usage of update job name is # If the test job name contains 'sysota', usage of update job name is
# required. # required.
...@@ -85,8 +92,8 @@ ...@@ -85,8 +92,8 @@
# Submit the jobs to SQUAD. # Submit the jobs to SQUAD.
- | - |
for job_def in $(find lava_jobs/ -name "*.yaml"); do for job_def in $(find lava_jobs/ -name "*.yaml"); do
echo $CI_SQUAD_INSTANCE/api/submitjob/oniro-core/$CI_SQUAD_PROJECT_NAME/$CI_PIPELINE_ID/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN" --form "backend=oniro_lava" --form "definition=@${job_def}" echo $CI_SQUAD_INSTANCE/api/submitjob/$CI_SQUAD_GROUP_NAME/$CI_SQUAD_PROJECT_NAME/$CI_PIPELINE_ID/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN" --form "backend=oniro_lava" --form "definition=@${job_def}"
curl $CI_SQUAD_INSTANCE/api/submitjob/oniro-core/$CI_SQUAD_PROJECT_NAME/$CI_PIPELINE_ID/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN" --form "backend=oniro_lava" --form "definition=@${job_def}" curl $CI_SQUAD_INSTANCE/api/submitjob/$CI_SQUAD_GROUP_NAME/$CI_SQUAD_PROJECT_NAME/$CI_PIPELINE_ID/$MACHINE --header "Auth-Token: $CI_SQUAD_TOKEN" --form "backend=oniro_lava" --form "definition=@${job_def}"
done done
# Attach a callback to this build to trigger the lava-report job # Attach a callback to this build to trigger the lava-report job
squad_build_id="$(curl --silent "$CI_SQUAD_INSTANCE/api/builds/?version=$CI_PIPELINE_ID" | jq -r '.results[0].id')" squad_build_id="$(curl --silent "$CI_SQUAD_INSTANCE/api/builds/?version=$CI_PIPELINE_ID" | jq -r '.results[0].id')"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment