Skip to content

Commit

Permalink
created drone config (ros-navigation#342)
Browse files Browse the repository at this point in the history
* created drone config

* fixes #2

* changes to drone ci
  • Loading branch information
MaxZubrytskyi committed Feb 25, 2022
1 parent 14a807c commit 58e2389
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
# 1. PR validation
kind: pipeline
type: docker
name: PR validation step

platform:
arch: amd64
os: linux

trigger:
event:
include:
- pull_request

volumes:
- name: dockersock
host:
path: /var/run/docker.sock

image_pull_secrets:
- dockerconfig_prd

steps:
- name: Rebuild nav2 and run tests
image: quay.io/logivations/ml_all:latest
volumes:
- name: dockersock
path: /var/run/docker.sock
commands:
- cd /code/ros2_ws/src/navigation2 && git fetch --all && git checkout ${DRONE_SOURCE_BRANCH}
- cd /code/ros2_ws && colcon build --packages-up-to amr_system_tests
- cd /code/ros2_ws && colcon test --packages-select amr_system_tests

0 comments on commit 58e2389

Please sign in to comment.