Browse Source

Merge pull request #121 from lluiscampos/fix-pipeline-remove-travis

Fix GitLAb pipeline and remove Travis script
2.0.x
Lluis Campos 5 years ago
committed by GitHub
parent
commit
a545e66324
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      .travis.yml
  2. 2
      docker-build
  3. 3
      docker-mender-convert

17
.travis.yml

@ -1,17 +0,0 @@
language: minimal
# Disable git shallow clone. We need full history for validating copyright year of each file.
git:
depth: false
dist: trusty
before_script:
- git clone git://github.com/mendersoftware/mendertesting
script:
# Check commit compliance.
- mendertesting/check_commits.sh
# Check licenses
- mendertesting/check_license.sh
- ./docker-build

2
docker-build

@ -16,6 +16,6 @@
set -e
IMAGE_NAME=mender-convert
IMAGE_NAME=${IMAGE_NAME:-mender-convert}
eval docker build . -t ${IMAGE_NAME}

3
docker-mender-convert

@ -16,10 +16,9 @@
set -e
IMAGE_NAME=mender-convert
IMAGE_NAME=${IMAGE_NAME:-mender-convert}
MENDER_CONVERT_DIR="$(pwd)"
mkdir -p output
docker run \
--mount type=bind,source="$MENDER_CONVERT_DIR,target=/mender-convert" \

Loading…
Cancel
Save