arkisto/.gitlab-ci.yml

40 lines
1.1 KiB
YAML
Raw Normal View History

2022-07-09 15:23:22 +00:00
---
# You can override the included template(s) by including variable overrides
# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings
# Dependency Scanning customization: https://docs.gitlab.com/ee/user/application_security/dependency_scanning/#customizing-the-dependency-scanning-settings
# Container Scanning customization: https://docs.gitlab.com/ee/user/application_security/container_scanning/#customizing-the-container-scanning-settings
# Note that environment variables can be set in several places
# See https://docs.gitlab.com/ee/ci/variables/#cicd-variable-precedence
stages:
2022-07-09 15:29:18 +00:00
- build
2022-07-09 15:23:22 +00:00
- test
2022-07-09 15:29:18 +00:00
- publish
build_job:
stage: build
image: crystallang/crystal:1.5
script:
2022-07-09 15:30:25 +00:00
- make build
2022-07-09 15:29:18 +00:00
artifacts:
paths:
- bin
cache:
paths:
- lib
2022-07-09 15:23:22 +00:00
sast:
stage: test
2022-07-09 15:29:18 +00:00
publish_job:
stage: publish
script:
- echo "Not implemented yet"
artifacts:
paths:
- bin
2022-07-09 15:23:22 +00:00
include:
- template: Security/SAST.gitlab-ci.yml