Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
RAGO - RAG OpenAPI Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JastAdd
RAGO - RAG OpenAPI Framework
Commits
7af950f7
Commit
7af950f7
authored
3 years ago
by
Jueun Park
Browse files
Options
Downloads
Patches
Plain Diff
add .gitlab-ci.yml
parent
921886e7
Branches
Branches containing commit
No related tags found
1 merge request
!1
Tests/openapi generator
Pipeline
#13003
failed
3 years ago
Stage: build
Stage: test
Stage: ragdoc
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+86
-0
86 additions, 0 deletions
.gitlab-ci.yml
with
86 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
86
−
0
View file @
7af950f7
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
stages
:
-
build
-
test
-
ragdoc
-
publish
build
:
image
:
openjdk:11
stage
:
build
before_script
:
-
apt-get update && apt-get -y install graphviz
script
:
-
"
./gradlew
assemble"
artifacts
:
paths
:
-
"
src/gen/java"
-
"
src/gen/jastadd"
test
:
image
:
openjdk:11
stage
:
test
needs
:
-
build
before_script
:
-
apt-get update && apt-get -y install graphviz
script
:
-
"
./gradlew
test
generateGrammarDiagrams"
artifacts
:
reports
:
junit
:
"
*/build/test-results/test/TEST-*.xml"
paths
:
-
"
src/gen/resources"
ragdoc_build
:
image
:
name
:
"
git-st.inf.tu-dresden.de:4567/jastadd/ragdoc-builder"
entrypoint
:
[
"
"
]
stage
:
ragdoc
needs
:
-
build
script
:
-
JAVA_FILES="$(find src/main -name '*.java') $(find src/gen -name '*.java')"
-
/ragdoc-builder/start-builder.sh -excludeGenerated -d data/ $JAVA_FILES
artifacts
:
paths
:
-
"
data/"
ragdoc_view
:
image
:
name
:
"
git-st.inf.tu-dresden.de:4567/jastadd/ragdoc-view:relations"
entrypoint
:
[
"
"
]
stage
:
ragdoc
needs
:
-
ragdoc_build
script
:
-
DATA_DIR=$(pwd -P)/data
-
mkdir -p pages/docs/ragdoc
-
OUTPUT_DIR=$(pwd -P)/pages/docs/ragdoc
-
cd /ragdoc-view/src/ && rm -rf data && ln -s $DATA_DIR
-
/ragdoc-view/build-view.sh --output-path=$OUTPUT_DIR
only
:
-
dev
-
main
artifacts
:
paths
:
-
"
pages/docs/ragdoc"
pages
:
image
:
python:3.10.0-bullseye
stage
:
publish
needs
:
-
ragdoc_view
-
test
before_script
:
-
pip install -r pages/requirements.txt
script
:
-
cp -r src/gen/resources/diagrams/ pages/docs/diagrams
-
cd pages && mkdocs build
artifacts
:
paths
:
-
public/
only
:
-
main
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