Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
relast-preprocessor
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
relast-preprocessor
Commits
c713038a
Commit
c713038a
authored
2 years ago
by
René Schöne
Browse files
Options
Downloads
Patches
Plain Diff
Testing variant publishing
- use multiple jobs with different images
parent
0eea50a3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+33
-21
33 additions, 21 deletions
.gitlab-ci.yml
with
33 additions
and
21 deletions
.gitlab-ci.yml
+
33
−
21
View file @
c713038a
...
...
@@ -2,7 +2,6 @@ variables:
GIT_SUBMODULE_STRATEGY
:
recursive
stages
:
-
build
-
test
-
ragdoc_build
-
ragdoc_view
...
...
@@ -16,24 +15,46 @@ cache:
-
.gradle/wrapper
-
.gradle/caches
build
:
## Hidden jobs, base configurations
.test
:
image
:
openjdk:11
stage
:
build
stage
:
test
script
:
-
./gradlew --console=plain --no-daemon
assemble
-
./gradlew --console=plain --no-daemon
test
artifacts
:
reports
:
junit
:
build/test-results/test/**/TEST-*.xml
paths
:
-
"
src/gen"
expire_in
:
1 week
test
:
.publish_dev
:
image
:
openjdk:11
stage
:
test
stage
:
deploy
script
:
-
./gradlew --console=plain --no-daemon test
artifacts
:
reports
:
junit
:
build/test-results/test/**/TEST-*.xml
-
"
./gradlew
setDevVersionForCI"
-
"
./gradlew
publish"
## Real jobs
test8
:
extends
:
.test
image
:
"
openjdk:8"
test11
:
extends
:
.test
image
:
"
openjdk:11"
publish_dev8
:
extends
:
.publish_dev
image
:
"
openjdk:8"
needs
:
-
test8
publish_dev11
:
extends
:
.publish_dev
image
:
"
openjdk:11"
needs
:
-
test11
ragdoc_build
:
image
:
...
...
@@ -41,7 +62,7 @@ ragdoc_build:
entrypoint
:
[
"
"
]
stage
:
ragdoc_build
needs
:
-
build
-
test8
script
:
-
JAVA_FILES=$(find src/ -name '*.java')
-
/ragdoc-builder/start-builder.sh -excludeGenerated -d data/ $JAVA_FILES
...
...
@@ -75,7 +96,7 @@ pages:
stage
:
deploy
needs
:
-
ragdoc_view
-
test
-
test
8
before_script
:
-
pip install -U mkdocs mkdocs-macros-plugin mkdocs-git-revision-date-localized-plugin
script
:
...
...
@@ -85,12 +106,3 @@ pages:
artifacts
:
paths
:
-
public
publish_dev
:
image
:
openjdk:11
stage
:
deploy
needs
:
-
test
script
:
-
"
./gradlew
setDevVersionForCI"
-
"
./gradlew
publish"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment