aboutsummaryrefslogblamecommitdiffstats
path: root/.gitlab-ci.yml
blob: 46af6eb2904c636f2fdba61e563a6ef4dd14dda8 (plain) (tree)



















                                                                                                    
stages:
  - lint

# Make sure master points to the correct upstream commit
before_script:
  - >
    git fetch $CI_MERGE_REQUEST_PROJECT_URL
    +refs/heads/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME:refs/heads/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME

lint:
  stage: lint
  image: alpinelinux/apkbuild-lint-tools:latest
  script:
    - changed-aports $CI_MERGE_REQUEST_TARGET_BRANCH_NAME | lint
  allow_failure: true
  only:
    - merge_requests
  tags:
    - docker-alpine
    - x86_64