aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: da5000f13445134dfb398bcab9e4f98abc73e027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
jobs:
  tags:
    - shell

  before_script:
    - docker ps -a -q | xargs --no-run-if-empty docker rm -f

  script:
    - curl -L https://github.com/drone/drone-cli/releases/latest/download/drone_linux_amd64.tar.gz | tar zx
    - chmod +x drone
    - ./drone exec --pipeline compliance .gitlab-ci-drone.yml && ./drone exec --pipeline testing-amd64 .gitlab-ci-drone.yml

  after_script:
    - docker run --rm --volume $(pwd):/drone/src --workdir /drone/src  gitea/test_env:linux-amd64 chown -R $(id -u) .