Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix errors in codeql.yml #312

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ name: "CodeQL"

on:
push:
branches: [ "master" ]
branches: [ "codeql-enable" ]
pull_request:
branches: [ "master" ]
branches: [ "codeql-enable" ]
schedule:
- cron: '41 23 * * 3'

Expand Down Expand Up @@ -93,7 +93,12 @@ jobs:
cp ${GITHUB_WORKSPACE}/docker/Dockerfile ../workspace/ros2_openvino_toolkit_test
ls ../workspace/ros2_openvino_toolkit_test/Dockerfile
cd ../workspace/ros2_openvino_toolkit_test
docker build --build-arg ROS_PRE_INSTALLED_PKG=galactic-desktop --build-arg VERSION=galactic -t ros2_openvino_docker:01 .
docker build --build-arg ROS_PRE_INSTALLED_PKG=galactic-desktop --build-arg VERSION=galactic -t ros2_openvino_docker:01 .
docker run --name temp_ov ros2_openvino_docker:01
docker ps
docker cp temp_ov:/root/catkin_ws/install ~/work/_temp/codeql_databases/cpp
docker rm temp_ov
tree ~/work/_temp/codeql_databases/


- name: Perform CodeQL Analysis
Expand Down
4 changes: 3 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# ros2 openvino toolkit env master f1b1ca4d914186a1881b87f103be9c6e910c9d80

ARG ROS_PRE_INSTALLED_PKG
ARG BUILD_FOLDER
FROM osrf/ros:${ROS_PRE_INSTALLED_PKG}
ARG VERSION
VOLUME [${BUILD_FOLDER}, "/root/catkin_ws"]

ARG VERSION
# setting proxy env --option
# If needed, enable the below ENV setting by correct proxies.
# ENV HTTP_PROXY="your_proxy"
Expand Down
Loading