Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ include:
file: '.gitlab-ci-check-commits-signoffs.yml'
- project: 'Northern.tech/Mender/mendertesting'
file: '.gitlab-ci-github-status-updates.yml'
- project: "Northern.tech/Mender/mendertesting"
file: "qa-common/send-results-to-mantra.yml"
ref: "master"

default:
tags: !reference [.qa-common-default-runner, tags]
Expand Down Expand Up @@ -87,12 +90,22 @@ test:acceptance:
# Log in to pull test image from registry.gitlab.com
- echo $CI_REGISTRY_PASSWORD | docker login -u $CI_REGISTRY_USER $CI_REGISTRY --password-stdin
script:
- apk add --update python3 py3-pip bash gcc openssh-client make openssl-dev
- apk add --update python3 py3-pip bash gcc openssh-client make openssl-dev curl jq
libffi-dev libc-dev python3-dev musl-dev rust cargo
- pip3 install --break-system-packages --upgrade pip
- cd tests
- pip3 install --break-system-packages -r requirements.txt
- python3 -m pytest -v
- python3 -m pytest --verbose --junitxml=results.xml
after_script:
- export MANTRA_PROJECT_NAME="client_general"
- !reference [.mantra-push-results]
artifacts:
expire_in: 2w
when: always
paths:
- results.xml
reports:
junit: results.xml

publish:s3:
stage: publish
Expand Down