123456789101112131415161718192021222324252627282930313233 |
- # Workaround to enable usage of mixed SSH and Docker GitLab CI runners
- .template_pre: &template_pre
- stage: pre
- extends:
- - .tags_docker
- - .rules_singletest
- before_script:
- - '' # disable before_script for pre "non-application" env
- rubocop:
- <<: *template_pre
- script:
- - bundle install -j $(nproc) --path vendor
- - bundle exec rubocop
- coffeelint:
- <<: *template_pre
- script:
- - coffeelint app/
- bundle-audit:
- <<: *template_pre
- script:
- - gem install bundler-audit
- - bundle-audit update
- - bundle-audit --ignore CVE-2015-9284
- github:
- <<: *template_pre
- tags:
- - deploy
- script:
- - script/build/sync_repo.sh git@github.com:zammad/zammad.git
|