Browse Source
Merge pull request #131 from lluiscampos/fix-license-check-ci
Update commit/license checks in CI to use mendertesting Pipelines
2.0.x
Lluis Campos
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
21 deletions
-
.gitlab-ci.yml
-
LIC_FILES_CHKSUM.sha256
|
|
@ -3,31 +3,17 @@ image: docker:git |
|
|
|
variables: |
|
|
|
DOCKER_REPOSITORY: mendersoftware/mender-convert |
|
|
|
|
|
|
|
include: |
|
|
|
- project: 'Northern.tech/Mender/mendertesting' |
|
|
|
file: '.gitlab-ci-check-commits.yml' |
|
|
|
- project: 'Northern.tech/Mender/mendertesting' |
|
|
|
file: '.gitlab-ci-check-license.yml' |
|
|
|
|
|
|
|
stages: |
|
|
|
- test |
|
|
|
- build |
|
|
|
- test_acceptance |
|
|
|
|
|
|
|
test: |
|
|
|
stage: test |
|
|
|
before_script: |
|
|
|
- apk add --no-cache bash perl-utils |
|
|
|
# Rename the branch we're on, so that it's not in the way for the |
|
|
|
# subsequent fetch. It's ok if this fails, it just means we're not on any |
|
|
|
# branch. |
|
|
|
- git branch -m temp-branch || true |
|
|
|
# Git trick: Fetch directly into our local branches instead of remote |
|
|
|
# branches. |
|
|
|
- git fetch origin 'refs/heads/*:refs/heads/*' |
|
|
|
# Get last remaining tags, if any. |
|
|
|
- git fetch --tags origin |
|
|
|
- git clone http://github.com/mendersoftware/mendertesting |
|
|
|
script: |
|
|
|
# Check commit compliance. |
|
|
|
- mendertesting/check_commits.sh |
|
|
|
# Check licenses |
|
|
|
- mendertesting/check_license.sh |
|
|
|
|
|
|
|
build: |
|
|
|
stage: build |
|
|
|
services: |
|
|
|
|
|
@ -1,2 +1 @@ |
|
|
|
beb140be4cd64599bedc691a55b2729c9cc611a4b9d6ec44e01270105daf18a2 LICENSE |
|
|
|
beb140be4cd64599bedc691a55b2729c9cc611a4b9d6ec44e01270105daf18a2 mendertesting/LICENSE |
|
|
|