... | ... | @@ -64,13 +64,12 @@ The following autotests are known to be broken: |
|
|
* Look at Gitlab Triggers to trigger a branch, https://gitlab.eurecom.fr/oai/openairinterface5g/triggers
|
|
|
* Look at Gitlab CI environment variables which are passed to Gitlab, https://gitlab.eurecom.fr/oai/openairinterface5g/variables
|
|
|
* Look at example successful build, https://gitlab.eurecom.fr/oai/openairinterface5g/builds/98
|
|
|
* Example command to run all tests on develop branch
|
|
|
* Examples of commands to trigger gitlab CI for you branch
|
|
|
* **In order to reduce test time, you can set NRUNS_LTE_SOFTMODEM =1 (for only one run), and TIMEOUT_CMD=180 (to set test time to 180 seconds)**. Look at the code examples below to set these variables dynamically.
|
|
|
|
|
|
```python
|
|
|
# To trigger all the tests of your branch. The token is present here, https://gitlab.eurecom.fr/oai/openairinterface5g/triggers
|
|
|
# Example command to trigger all the tests of your branch. The token is present here, https://gitlab.eurecom.fr/oai/openairinterface5g/triggers
|
|
|
curl -X POST -F token=___TOKEN___ -F "variables[OAI_TEST_CASE_GROUP]=\"0101+ 0102+ 0103+ 0104+ 0150+ 0151+ 0155+ 0161+ \" " https://gitlab.eurecom.fr/ci/api/v1/projects/1/refs/__YOUR_BRANCH__/trigger
|
|
|
# To trigger all the tests with prefix 0101+ and 0102+. You can use the command below to also set other Gitlab CI environment variables. The token is present here, https://gitlab.eurecom.fr/oai/openairinterface5g/triggers
|
|
|
# Examples of commands to trigger gitlab CI for you branch but only the tests with prefix 0101+ and 0102+. You can use the command below to also set other Gitlab CI environment variables. The token is present here, https://gitlab.eurecom.fr/oai/openairinterface5g/triggers
|
|
|
curl -X POST -F token=___TOKEN___ -F "variables[OAI_TEST_CASE_GROUP]=\"0101+ 0102+ \" " https://gitlab.eurecom.fr/ci/api/v1/projects/1/refs/__YOUR_BRANCH__/trigger
|
|
|
```
|
|
|
|
... | ... | |