From 0f873b93e0d69bb588d5a5e4f8816456f4ffbcb5 Mon Sep 17 00:00:00 2001 From: Jacopo Date: Tue, 17 Dec 2024 21:12:27 +0100 Subject: [PATCH] Test trigger of children build --- .github/workflows/test.yml | 16 ++++++++-------- .../superbuild-icubhead-withuser/Dockerfile | 2 -- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 39b4341..ab968bd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -370,14 +370,14 @@ jobs: needs: [build_and_push, check_files] if: always() && needs.check_files.outputs.children_flag == 'true' && ! cancelled() steps: - - name: Get Token - id: get_workflow_token - uses: tibdex/github-app-token@v2 - with: - app_id: ${{ secrets.ICUB_TECH_IIT_APP_ID }} - private_key: ${{ secrets.ICUB_TECH_IIT_APP_KEY }} - installation_retrieval_mode: repository - installation_retrieval_payload: icub-tech-iit/code + # - name: Get Token + # id: get_workflow_token + # uses: tibdex/github-app-token@v2 + # with: + # app_id: ${{ secrets.ICUB_TECH_IIT_APP_ID }} + # private_key: ${{ secrets.ICUB_TECH_IIT_APP_KEY }} + # installation_retrieval_mode: repository + # installation_retrieval_payload: icub-tech-iit/code # this step ensures that the children are built with the "release" version, which is used when the "repository_trigger" is sent - name: Repository Dispatch for release if: github.event.client_payload.type == 'repository_trigger' diff --git a/dockerfile_images/basic/superbuild-icubhead-withuser/Dockerfile b/dockerfile_images/basic/superbuild-icubhead-withuser/Dockerfile index 1aa3e3f..08a883c 100644 --- a/dockerfile_images/basic/superbuild-icubhead-withuser/Dockerfile +++ b/dockerfile_images/basic/superbuild-icubhead-withuser/Dockerfile @@ -75,11 +75,9 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-sel -DNON_INTERACTIVE_BUILD:BOOL=ON \ -DROBOTOLOGY_ENABLE_CORE:BOOL=ON \ -DROBOTOLOGY_ENABLE_ICUB_HEAD:BOOL=ON \ - #-DYCM_USE_DEPRECATED:BOOL=OFF \ -DROBOTOLOGY_USES_GAZEBO=OFF \ -DROBOTOLOGY_PROJECT_TAGS=${sbtag} \ -DYCM_EP_INSTALL_DIR=${INSTALL_DIR} \ - #-DENABLE_yarpmod_grabber:BOOL=ON \ &&\ #Build all the projects &&\ cmake --build . -- ${CMAKE_EXTRA_OPTIONS}