Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GemnasiumDependencyScanning = pipeline.Job{ Name: "gemnasium-dependency_scanning", Rules: List( pipeline.Rule{ If: "$CI_MERGE_REQUEST_IID", }, pipeline.Rule{ If: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH", }, ), }
View Source
var MainPipeline = pipeline.Pipeline{
Stages: List("test", "deploy"),
}
View Source
var SecretDetection = pipeline.Job{ Name: "secret_detection", Rules: List( pipeline.Rule{ If: "$CI_MERGE_REQUEST_IID", }, pipeline.Rule{ If: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH", }, ), }
View Source
var SemgrepSast = pipeline.Job{ Name: "semgrep-sast", Rules: List( pipeline.Rule{ If: "$CI_MERGE_REQUEST_IID", }, pipeline.Rule{ If: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH", }, ), }
View Source
var Specs = pipeline.Job{ Name: "specs", Stage: "test", Script: List("if [[ \"$RUBY_VERSION\" != \"3.1\" ]]; then export SIMPLECOV=0; fi", "bundle exec rspec"), Artifacts: pipeline.Artifacts{ Paths: List("coverage/index.html", "coverage/assets/"), ExpireIn: "31d", Name: "coverage", }, }
View Source
var Styles = pipeline.Job{
Name: "styles",
Stage: "test",
Script: List("bundle exec rubocop --debug --parallel"),
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.