chorel(Verify Stages): rename the Test stages to verify

This commit is contained in:
Marcel Feix 2022-05-13 16:18:53 +02:00
parent b6bc0667fc
commit 01f06d8507
No known key found for this signature in database
GPG Key ID: 04D016E104A25F03
10 changed files with 10 additions and 9 deletions

View File

@ -23,5 +23,5 @@ image::GitlabCiTest.png[]
.gradle-test-template .gradle-test-template
[source,yaml] [source,yaml]
---- ----
include::{sourcedir}java/gradle/gradle-test.gitlab-ci.yml[] include::{sourcedir}java/gradle/gradle-verify.gitlab-ci.yml[]
---- ----

View File

@ -23,5 +23,5 @@ image::GitlabCiTest.png[]
.mvn-verify-template .mvn-verify-template
[source, yaml] [source, yaml]
---- ----
include::{sourcedir}/java/maven/maven-test.gitlab-ci.yml[] include::{sourcedir}/java/maven/maven-verify.gitlab-ci.yml[]
---- ----

View File

@ -15,5 +15,5 @@ This template will run your NPM unit tests
.npm-test-template .npm-test-template
[source, yaml] [source, yaml]
---- ----
include::{sourcedir}npm/npm-test.gitlab-ci.yml[] include::{sourcedir}npm/npm-verify.gitlab-ci.yml[]
---- ----

View File

@ -46,7 +46,7 @@ include:
- project: 'gilden/ci/gitlab-ci-templates' - project: 'gilden/ci/gitlab-ci-templates'
ref: '2.0.0' ref: '2.0.0'
file: file:
- '/templates/java/maven/maven-test.gitlab-ci.yml' - '/templates/java/maven/maven-verify.gitlab-ci.yml'
test-image: test-image:
stage: test-image stage: test-image

View File

@ -1,6 +1,6 @@
include: include:
- '/templates/java/gradle/gradle-build.gitlab-ci.yml' - '/templates/java/gradle/gradle-build.gitlab-ci.yml'
- '/templates/java/gradle/gradle-test.gitlab-ci.yml' - '/templates/java/gradle/gradle-verify.gitlab-ci.yml'
- '/templates/static-analysis/repo-cve-scan-trivy.gitlab-ci.yml' - '/templates/static-analysis/repo-cve-scan-trivy.gitlab-ci.yml'
- '/templates/static-analysis/sonar.gitlab-ci.yml' - '/templates/static-analysis/sonar.gitlab-ci.yml'

View File

@ -1,7 +1,7 @@
include: include:
- '/templates/java/maven/maven-dependencies.gitlab-ci.yml' - '/templates/java/maven/maven-dependencies.gitlab-ci.yml'
- '/templates/java/maven/maven-build.gitlab-ci.yml' - '/templates/java/maven/maven-build.gitlab-ci.yml'
- '/templates/java/maven/maven-test.gitlab-ci.yml' - '/templates/java/maven/maven-verify.gitlab-ci.yml'
- '/templates/java/maven/maven-database-diff.gitlab-ci.yml' - '/templates/java/maven/maven-database-diff.gitlab-ci.yml'
- '/templates/static-analysis/repo-cve-scan-trivy.gitlab-ci.yml' - '/templates/static-analysis/repo-cve-scan-trivy.gitlab-ci.yml'
- '/templates/static-analysis/sonar.gitlab-ci.yml' - '/templates/static-analysis/sonar.gitlab-ci.yml'

View File

@ -1,4 +1,4 @@
.gradle-test: .gradle-verify:
image: $GRADLE_IMAGE image: $GRADLE_IMAGE
stage: verify stage: verify
script: script:

View File

@ -8,6 +8,7 @@
mvn $MVN_EXTRA_ARGS $MAVEN_CLI_OPTS versions:set -DnewVersion=$CI_COMMIT_TAG -DgenerateBackupPoms=false mvn $MVN_EXTRA_ARGS $MAVEN_CLI_OPTS versions:set -DnewVersion=$CI_COMMIT_TAG -DgenerateBackupPoms=false
fi fi
script: script:
- "cd $BACKEND_DIR"
- mvn $MAVEN_CLI_OPTS package -DskipTests - mvn $MAVEN_CLI_OPTS package -DskipTests
artifacts: artifacts:
expire_in: 2 weeks expire_in: 2 weeks

View File

@ -1,4 +1,4 @@
.maven-test: .maven-verify:
image: $MAVEN_IMAGE image: $MAVEN_IMAGE
stage: verify stage: verify
script: script:

View File

@ -1,4 +1,4 @@
.npm-test: .npm-verify:
image: $NODE_IMAGE image: $NODE_IMAGE
stage: verify stage: verify
variables: variables: