From 4fe0bf9099af1c4e2485bbec10a40692f9085b35 Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 12:16:19 +0200 Subject: [PATCH 01/16] test: testing source build pipeline --- .github/workflows/source-build.yaml | 13 +++++++++++++ ros2.repos | 13 +++++++++++++ submodules/vortex-aruco-detection | 1 - submodules/vortex-blackfly-driver | 1 - submodules/vortex-image-filtering | 1 - submodules/vortex-vkf | 1 - 6 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 .github/workflows/source-build.yaml create mode 100644 ros2.repos delete mode 160000 submodules/vortex-aruco-detection delete mode 160000 submodules/vortex-blackfly-driver delete mode 160000 submodules/vortex-image-filtering delete mode 160000 submodules/vortex-vkf diff --git a/.github/workflows/source-build.yaml b/.github/workflows/source-build.yaml new file mode 100644 index 0000000..0a30bec --- /dev/null +++ b/.github/workflows/source-build.yaml @@ -0,0 +1,13 @@ +name: Source Build + +on: + push: + +jobs: + source-build: + uses: vortexntnu/vortex-ci/.github/workflows/reusable-source-build.yaml@main + with: + ros_distro: 'humble' + os_name: 'ubuntu-22.04' + ref: ${{ github.ref_name }} + vcs_repo_file_url: 'https://raw.githubusercontent.com/vortexntnu/perception-auv/11-task-docker-dev-environment-on-orin/ros2.repos' diff --git a/ros2.repos b/ros2.repos new file mode 100644 index 0000000..a191175 --- /dev/null +++ b/ros2.repos @@ -0,0 +1,13 @@ +repositories: + vortex-aruco-detection: + type: git + url: https://github.com/vortexntnu/vortex-aruco-detection.git + vortex-blackfly-driver: + type: git + url: https://github.com/vortexntnu/vortex-blackfly-driver.git + vortex-image-filtering: + type: git + url: https://github.com/vortexntnu/vortex-image-filtering.git + vortex-image-filtering: + type: git + url: https://github.com/vortexntnu/vortex-vkf.git \ No newline at end of file diff --git a/submodules/vortex-aruco-detection b/submodules/vortex-aruco-detection deleted file mode 160000 index a3d07da..0000000 --- a/submodules/vortex-aruco-detection +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a3d07dac9599d0bbbe1736520cb38eb633158a24 diff --git a/submodules/vortex-blackfly-driver b/submodules/vortex-blackfly-driver deleted file mode 160000 index 9892c59..0000000 --- a/submodules/vortex-blackfly-driver +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 9892c59f1418406e52bbdde7a1c687c09329e3e6 diff --git a/submodules/vortex-image-filtering b/submodules/vortex-image-filtering deleted file mode 160000 index 44dbfd5..0000000 --- a/submodules/vortex-image-filtering +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 44dbfd5d5a4a8beafc2dcc4cab60b1f0a47de0bd diff --git a/submodules/vortex-vkf b/submodules/vortex-vkf deleted file mode 160000 index a8c1919..0000000 --- a/submodules/vortex-vkf +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a8c1919edb60609bdb749c0b287898c4d8c9f800 From 4b2194d9bfa5efaf42642aa98380be770cd2f59b Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 13:03:05 +0200 Subject: [PATCH 02/16] test: testing source build pipeline --- .github/workflows/source-build.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/source-build.yaml b/.github/workflows/source-build.yaml index 0a30bec..2c87212 100644 --- a/.github/workflows/source-build.yaml +++ b/.github/workflows/source-build.yaml @@ -5,9 +5,10 @@ on: jobs: source-build: - uses: vortexntnu/vortex-ci/.github/workflows/reusable-source-build.yaml@main + uses: vortexntnu/vortex-ci/.github/workflows/reusable-source-build.yaml@feat/add-input-gcc-version-reusable-source-build with: ros_distro: 'humble' os_name: 'ubuntu-22.04' ref: ${{ github.ref_name }} vcs_repo_file_url: 'https://raw.githubusercontent.com/vortexntnu/perception-auv/11-task-docker-dev-environment-on-orin/ros2.repos' + gcc_version: '13' From 9964ccc58673f0ffcdc8cbab8aff31e7bbbcc21e Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 13:04:09 +0200 Subject: [PATCH 03/16] test: testing source build pipeline --- .github/workflows/source-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/source-build.yaml b/.github/workflows/source-build.yaml index 2c87212..62687ae 100644 --- a/.github/workflows/source-build.yaml +++ b/.github/workflows/source-build.yaml @@ -11,4 +11,4 @@ jobs: os_name: 'ubuntu-22.04' ref: ${{ github.ref_name }} vcs_repo_file_url: 'https://raw.githubusercontent.com/vortexntnu/perception-auv/11-task-docker-dev-environment-on-orin/ros2.repos' - gcc_version: '13' + gcc_version: 'gcc-13' From 3f8be5fc31bd4107220f68934f0cb07c49b00e9d Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 13:16:17 +0200 Subject: [PATCH 04/16] test: testing source build pipeline --- .github/workflows/source-build.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/source-build.yaml b/.github/workflows/source-build.yaml index 62687ae..32bd482 100644 --- a/.github/workflows/source-build.yaml +++ b/.github/workflows/source-build.yaml @@ -11,4 +11,3 @@ jobs: os_name: 'ubuntu-22.04' ref: ${{ github.ref_name }} vcs_repo_file_url: 'https://raw.githubusercontent.com/vortexntnu/perception-auv/11-task-docker-dev-environment-on-orin/ros2.repos' - gcc_version: 'gcc-13' From f019cf338e7d54e27468fb468216af1a349601c8 Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 13:30:17 +0200 Subject: [PATCH 05/16] test: testing source build pipeline --- .github/workflows/source-build.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/source-build.yaml b/.github/workflows/source-build.yaml index 32bd482..8188cfa 100644 --- a/.github/workflows/source-build.yaml +++ b/.github/workflows/source-build.yaml @@ -11,3 +11,4 @@ jobs: os_name: 'ubuntu-22.04' ref: ${{ github.ref_name }} vcs_repo_file_url: 'https://raw.githubusercontent.com/vortexntnu/perception-auv/11-task-docker-dev-environment-on-orin/ros2.repos' + skip_tests: 'true' From 782747f705bb3669741cd174edec6f0c7a645bd3 Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 13:31:16 +0200 Subject: [PATCH 06/16] test: testing source build pipeline --- .github/workflows/source-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/source-build.yaml b/.github/workflows/source-build.yaml index 8188cfa..7bac214 100644 --- a/.github/workflows/source-build.yaml +++ b/.github/workflows/source-build.yaml @@ -11,4 +11,4 @@ jobs: os_name: 'ubuntu-22.04' ref: ${{ github.ref_name }} vcs_repo_file_url: 'https://raw.githubusercontent.com/vortexntnu/perception-auv/11-task-docker-dev-environment-on-orin/ros2.repos' - skip_tests: 'true' + skip_tests: true From 43e785f4bb45261dab4d369a78fa2496a5fa3ba4 Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 15:06:40 +0200 Subject: [PATCH 07/16] test: testing source build pipeline --- ros2.repos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ros2.repos b/ros2.repos index a191175..ab46094 100644 --- a/ros2.repos +++ b/ros2.repos @@ -8,6 +8,6 @@ repositories: vortex-image-filtering: type: git url: https://github.com/vortexntnu/vortex-image-filtering.git - vortex-image-filtering: + vortex-vkf: type: git url: https://github.com/vortexntnu/vortex-vkf.git \ No newline at end of file From 757df0345fc94bff753047b5fc87d477024acfdd Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 15:08:45 +0200 Subject: [PATCH 08/16] test: testing source build pipeline --- .gitmodules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitmodules b/.gitmodules index f98b2e2..3da3ab6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,12 +1,12 @@ [submodule "submodules/vortex-aruco-detection"] path = submodules/vortex-aruco-detection - url = git@github.com:vortexntnu/vortex-aruco-detection.git + url = https://github.com/vortexntnu/vortex-aruco-detection.git [submodule "submodules/vortex-image-filtering"] path = submodules/vortex-image-filtering - url = git@github.com:vortexntnu/vortex-image-filtering.git + url = https://github.com/vortexntnu/vortex-blackfly-driver.git [submodule "submodules/vortex-blackfly-driver"] path = submodules/vortex-blackfly-driver - url = git@github.com:vortexntnu/vortex-blackfly-driver.git + url = https://github.com/vortexntnu/vortex-image-filtering.git [submodule "submodules/vortex-vkf"] path = submodules/vortex-vkf - url = git@github.com:vortexntnu/vortex-vkf.git + url = https://github.com/vortexntnu/vortex-vkf.git From 2627ec8d8bc62ffd60eceeabdb38046b58129cb0 Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 15:34:50 +0200 Subject: [PATCH 09/16] test: testing source build pipeline --- .github/workflows/source-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/source-build.yaml b/.github/workflows/source-build.yaml index 7bac214..85e53e9 100644 --- a/.github/workflows/source-build.yaml +++ b/.github/workflows/source-build.yaml @@ -10,5 +10,5 @@ jobs: ros_distro: 'humble' os_name: 'ubuntu-22.04' ref: ${{ github.ref_name }} - vcs_repo_file_url: 'https://raw.githubusercontent.com/vortexntnu/perception-auv/11-task-docker-dev-environment-on-orin/ros2.repos' + vcs_repo_file_url: 'https://raw.githubusercontent.com/vortexntnu/perception-auv/feat/test-source-build-pipeline/ros2.repos' skip_tests: true From 35016c7088348d85bfd591bd53bdb4bcde6bdbff Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 15:52:25 +0200 Subject: [PATCH 10/16] test: test submodules --- .gitmodules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index 3da3ab6..607dec4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,10 +3,10 @@ url = https://github.com/vortexntnu/vortex-aruco-detection.git [submodule "submodules/vortex-image-filtering"] path = submodules/vortex-image-filtering - url = https://github.com/vortexntnu/vortex-blackfly-driver.git + url = https://github.com/vortexntnu/vortex-image-filtering.git [submodule "submodules/vortex-blackfly-driver"] path = submodules/vortex-blackfly-driver - url = https://github.com/vortexntnu/vortex-image-filtering.git + url = https://github.com/vortexntnu/vortex-blackfly-driver.git [submodule "submodules/vortex-vkf"] path = submodules/vortex-vkf url = https://github.com/vortexntnu/vortex-vkf.git From 32c18ef89678421e2ca292c37a01296faa47fa48 Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 15:58:16 +0200 Subject: [PATCH 11/16] test: test submodules --- submodules/vortex-aruco-detection | 1 + submodules/vortex-blackfly-driver | 1 + submodules/vortex-image-filtering | 1 + submodules/vortex-vkf | 1 + 4 files changed, 4 insertions(+) create mode 160000 submodules/vortex-aruco-detection create mode 160000 submodules/vortex-blackfly-driver create mode 160000 submodules/vortex-image-filtering create mode 160000 submodules/vortex-vkf diff --git a/submodules/vortex-aruco-detection b/submodules/vortex-aruco-detection new file mode 160000 index 0000000..a3d07da --- /dev/null +++ b/submodules/vortex-aruco-detection @@ -0,0 +1 @@ +Subproject commit a3d07dac9599d0bbbe1736520cb38eb633158a24 diff --git a/submodules/vortex-blackfly-driver b/submodules/vortex-blackfly-driver new file mode 160000 index 0000000..9892c59 --- /dev/null +++ b/submodules/vortex-blackfly-driver @@ -0,0 +1 @@ +Subproject commit 9892c59f1418406e52bbdde7a1c687c09329e3e6 diff --git a/submodules/vortex-image-filtering b/submodules/vortex-image-filtering new file mode 160000 index 0000000..44dbfd5 --- /dev/null +++ b/submodules/vortex-image-filtering @@ -0,0 +1 @@ +Subproject commit 44dbfd5d5a4a8beafc2dcc4cab60b1f0a47de0bd diff --git a/submodules/vortex-vkf b/submodules/vortex-vkf new file mode 160000 index 0000000..a8c1919 --- /dev/null +++ b/submodules/vortex-vkf @@ -0,0 +1 @@ +Subproject commit a8c1919edb60609bdb749c0b287898c4d8c9f800 From 604cd869b416b91d9dd8a080fd9c329833fba72c Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 17:16:31 +0200 Subject: [PATCH 12/16] test: test submodules --- .github/workflows/source-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/source-build.yaml b/.github/workflows/source-build.yaml index 85e53e9..4642e96 100644 --- a/.github/workflows/source-build.yaml +++ b/.github/workflows/source-build.yaml @@ -10,5 +10,5 @@ jobs: ros_distro: 'humble' os_name: 'ubuntu-22.04' ref: ${{ github.ref_name }} - vcs_repo_file_url: 'https://raw.githubusercontent.com/vortexntnu/perception-auv/feat/test-source-build-pipeline/ros2.repos' + vcs_repo_file_url: '' skip_tests: true From 677ff443531b5c7ace51f34d38963abff2458057 Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 17:19:42 +0200 Subject: [PATCH 13/16] test: test submodules --- .github/workflows/source-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/source-build.yaml b/.github/workflows/source-build.yaml index 4642e96..34111f2 100644 --- a/.github/workflows/source-build.yaml +++ b/.github/workflows/source-build.yaml @@ -10,5 +10,5 @@ jobs: ros_distro: 'humble' os_name: 'ubuntu-22.04' ref: ${{ github.ref_name }} - vcs_repo_file_url: '' + vcs_repo_file_url: "" skip_tests: true From a31f622783cc1dc16df348a3735af725705c9e1c Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 18:46:16 +0200 Subject: [PATCH 14/16] test: test submodules --- .github/workflows/source-build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/source-build.yaml b/.github/workflows/source-build.yaml index 34111f2..b6c1cc2 100644 --- a/.github/workflows/source-build.yaml +++ b/.github/workflows/source-build.yaml @@ -5,10 +5,10 @@ on: jobs: source-build: - uses: vortexntnu/vortex-ci/.github/workflows/reusable-source-build.yaml@feat/add-input-gcc-version-reusable-source-build + uses: vortexntnu/vortex-ci/.github/workflows/reusable-source-build.yaml@main with: ros_distro: 'humble' os_name: 'ubuntu-22.04' ref: ${{ github.ref_name }} - vcs_repo_file_url: "" skip_tests: true + gcc_version: '13' From 810821cd14d32b3a9b61322721ab232e9a027f24 Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 19:01:11 +0200 Subject: [PATCH 15/16] refactor: updated source build pipeline to include comments and format it --- .github/workflows/source-build.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/source-build.yaml b/.github/workflows/source-build.yaml index b6c1cc2..6588fa9 100644 --- a/.github/workflows/source-build.yaml +++ b/.github/workflows/source-build.yaml @@ -1,8 +1,9 @@ name: Source Build - +# Build all ROS 2 packages in the repository and submodules on: - push: - + workflow_dispatch: + schedule: + - cron: "0 1 * * *" # Runs daily to check for depency issues or flaking tests jobs: source-build: uses: vortexntnu/vortex-ci/.github/workflows/reusable-source-build.yaml@main @@ -10,5 +11,6 @@ jobs: ros_distro: 'humble' os_name: 'ubuntu-22.04' ref: ${{ github.ref_name }} + vcs_repo_file_url: "" skip_tests: true gcc_version: '13' From f71a5e98316fb63be678427ece974d1d887ad835 Mon Sep 17 00:00:00 2001 From: Andreas Kluge Svendsrud <89779148+kluge7@users.noreply.github.com> Date: Sun, 20 Oct 2024 19:02:32 +0200 Subject: [PATCH 16/16] refactor: remove ros2.repos since it is unused --- ros2.repos | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 ros2.repos diff --git a/ros2.repos b/ros2.repos deleted file mode 100644 index ab46094..0000000 --- a/ros2.repos +++ /dev/null @@ -1,13 +0,0 @@ -repositories: - vortex-aruco-detection: - type: git - url: https://github.com/vortexntnu/vortex-aruco-detection.git - vortex-blackfly-driver: - type: git - url: https://github.com/vortexntnu/vortex-blackfly-driver.git - vortex-image-filtering: - type: git - url: https://github.com/vortexntnu/vortex-image-filtering.git - vortex-vkf: - type: git - url: https://github.com/vortexntnu/vortex-vkf.git \ No newline at end of file