Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gitlab-profile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RoboCT (Public)
RoboQuality
gitlab-profile
Commits
8e4683b8
Commit
8e4683b8
authored
8 months ago
by
Simon Wittl
Browse files
Options
Downloads
Patches
Plain Diff
forgot images
parent
5ce05c5c
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
+54
-52
54 additions, 52 deletions
.gitlab-ci.yml
with
54 additions
and
52 deletions
.gitlab-ci.yml
+
54
−
52
View file @
8e4683b8
stages
:
stages
:
#
- test
-
test
-
build
-
build
#
- docu
-
docu
#
cache:
cache
:
#
- paths:
-
paths
:
#
- /home/install/
-
/home/install/
#
rq-pytests:
rq-pytests
:
#
stage: test
stage
:
test
#
image: ros:humble
image
:
ros:humble
#
before_script:
before_script
:
#
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_interfaces
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_interfaces
#
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_hardware
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_hardware
#
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_controller
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_controller
#
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_ddetection
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_ddetection
#
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_trajectory
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_trajectory
#
- git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_reconstruction
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_reconstruction
#
- rosdep install --from-paths . -y --ignore-src
-
rosdep install --from-paths . -y --ignore-src
#
- colcon build --merge-install
-
colcon build --merge-install
#
- apt update
-
apt update
#
- apt install wget
-
apt install wget
#
- wget https://bootstrap.pypa.io/get-pip.py
-
wget https://bootstrap.pypa.io/get-pip.py
#
- python3 ./get-pip.py
-
python3 ./get-pip.py
#
- pip3 install pytest pytest-cov netCDF4 ros2-numpy Pillow pyometiff
-
pip3 install pytest pytest-cov netCDF4 ros2-numpy Pillow pyometiff
#
script:
script
:
#
- source ./install/setup.bash
-
source ./install/setup.bash
#
- python3 -m pytest ./rq_controller/test/ --junitxml=report.xml
-
python3 -m pytest ./rq_controller/test/ --junitxml=report.xml
build-ros
:
build-ros
:
stage
:
build
stage
:
build
# dependencies: [rq-pytests]
image
:
ros:humble
dependencies
:
[
rq-pytests
]
before_script
:
before_script
:
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_interfaces
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_interfaces
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_hardware
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_hardware
...
@@ -42,35 +43,36 @@ build-ros:
...
@@ -42,35 +43,36 @@ build-ros:
-
rosdep install --from-paths . -y --ignore-src
-
rosdep install --from-paths . -y --ignore-src
-
colcon build --merge-install
-
colcon build --merge-install
script
:
script
:
-
source ./install/setup.bash
-
source ./
home/
install/setup.bash
artifacts
:
artifacts
:
when
:
always
when
:
always
paths
:
paths
:
-
install
-
install
name
:
ubuntu_humble
name
:
ubuntu_humble
# create-docu:
create-docu
:
# stage: docu
stage
:
docu
# dependencies: [rq-pytests]
image
:
ros:humble
# before_script:
dependencies
:
[
rq-pytests
]
# - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_interfaces
before_script
:
# - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_hardware
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_interfaces
# - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_controller
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_hardware
# - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_ddetection
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_controller
# - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_trajectory
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_ddetection
# - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_reconstruction
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_trajectory
# - rosdep install --from-paths . -y --ignore-src
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@mygit.th-deg.de/roboct/robo_quality/rq_reconstruction
# - colcon build --merge-install
-
rosdep install --from-paths . -y --ignore-src
# - apt update
-
colcon build --merge-install
# - apt install wget
-
apt update
# - wget https://bootstrap.pypa.io/get-pip.py
-
apt install wget
# - python3 ./get-pip.py
-
wget https://bootstrap.pypa.io/get-pip.py
# - pip3 install pdoc3
-
python3 ./get-pip.py
# script:
-
pip3 install pdoc3
# - source ./home/install/setup.bash
script
:
# - mkdir doc
-
source ./home/install/setup.bash
# - python3 -m pdoc3 --html rq_controller -o=./doc/rq_controller -c show_source_code=True
-
mkdir doc
# artifacts:
-
python3 -m pdoc3 --html rq_controller -o=./doc/rq_controller -c show_source_code=True
# when: always
artifacts
:
# paths:
when
:
always
# - doc
paths
:
-
doc
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