Commit Graph

13 Commits

Author SHA1 Message Date
Clayton Craft fbdc68c3b6
ci: Update docker image to python 3.7, use generic python3
The python3 version in docker image may not be the same in the qemu
test runner VM image, so a more generic 'python3' is used when creating
the venv.
2020-02-08 16:07:31 -08:00
Oliver Smith f3dc6a55cf
gitlab-ci.yml: allow 'git config' cmds to fail
Two "su pmos -c 'git config --global user....'" commands were added to
the before_script in .gitlab-ci.yml. They work fine with the regular
gitlab runners, but fail with the custom gitlab runner that runs the
qemu test. Simply allow the command to fail, because it isn't needed on
the custom gitlab runner, as it doesn't run related tests.

Fixes: 16e2d3c77c ("gitlab-ci.yml: set git user/email (!1848)")
2020-01-24 22:41:23 +01:00
Daniele Debernardi 39f6dbef2e
gitlab-ci.yml: remove flake8/shellcheck (!1853) 2020-01-22 00:17:23 +01:00
Daniele Debernardi 3092fcaddb
gitlab-ci.yml: init pmbootstrap for static_code_analysis.sh (!1853) 2020-01-22 00:17:23 +01:00
Oliver Smith 16e2d3c77c
gitlab-ci.yml: set git user/email (!1848)
Prevent upcoming tests for "pmbootstrap pull" from failing, when trying
to create a git repository.
2020-01-19 20:37:46 +03:00
Steffen Pankratz 9dc326ecb8
CI: add 'merge request' settings check (!1805)
check_mr_settings.py taken from pmaports repository.

Signed-off-by: Steffen Pankratz <kratz00@gmx.de>
2019-08-06 10:22:13 +02:00
Oliver Smith 3ce00de710 Move aports into own repository (pmaports) 2018-09-05 05:57:38 +00:00
Oliver Smith d53550cdc6 pmb: give loop module time to initialize 2018-08-27 21:14:48 +00:00
Oliver Smith 0e2c7507cd
Wiki CI: require all devices to be booting
In gitlab, there is no extra CI job running for commits in a merge
request (MR). This means, we can't run different code in a MR against
"master".

So instead of only checking whether all devices are booting if there's
a MR against master, always perform this check.

I've edited the message slightly, so it's clear that it's only required
to have the devices booting when making a merge request against master.
2018-07-22 23:19:02 +02:00
clayton craft 023fbf53dc gitlab ci: restructure 'tests' stage 2018-07-08 23:06:00 +00:00
Oliver Smith f6dcfbfe56 Use Alpine's QEMU rather than host system QEMU (v2) 2018-07-06 19:50:59 +00:00
Clayton Craft c8e0ff3228
ci: limit running of qemu tests
This uses a variable configured in the gitlab project [settings->CI/CD->Variables]
to restrict when the qemu job will run. This should prevent the job from running
on repo forks where an appropriate runner has not been configured/registered.

Note that if this variable is set in a repo where there is no runner registered to
run qemu, then any CI jobs in that repo will ultimately fail the qemu tests since
no runner will be found.
2018-06-30 09:23:17 -07:00
Clayton Craft 256914c1a0
Implement support for gitlab CI
This implements support for the gitlab CI system. Wiki, static analysis,
and build tests are implemented.
2018-06-29 23:16:41 -07:00