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

Introduce a group to hide setup from logs #4

Merged
merged 1 commit into from
Aug 26, 2022
Merged
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
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ inputs:
runs:
using: "composite"
steps:
- run: |
- name: Run payload
shell: bash
run: |
if [ "${{ inputs.run_local_checkout }}" == "true" ]; then
echo "WARNING running local checkout of the action !"
. setup-lcg-view.sh local
Expand Down
5 changes: 5 additions & 0 deletions run-coverity.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

set -e

echo "::group::Launching container"
echo "Checking if there is a working CVMFS mount"

if [ ! -d "/cvmfs/sft.cern.ch/lcg/" ]; then
Expand Down Expand Up @@ -86,6 +87,8 @@ tar czvf /myproject.tgz cov-int
" > ${GITHUB_WORKSPACE}/coverity_scan.sh
chmod a+x ${GITHUB_WORKSPACE}/coverity_scan.sh

echo "::endgroup::" # Launch container

echo "#####################################################################"
echo "###################### Executing Coverity Scan ######################"
echo "VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV"
Expand All @@ -96,6 +99,7 @@ echo "#####################################################################"
echo "###################### Coverity Scan Compelte #######################"
echo "#####################################################################"

echo "::group::Upload artifacts"
echo "Start uploading compilation units for analysis"

docker cp view_worker:/myproject.tgz myproject.tgz
Expand All @@ -110,3 +114,4 @@ if [ "$1" != "local" ]; then
else
echo "Not submitting to server only test run"
fi
echo "::endgroup::"
2 changes: 2 additions & 0 deletions run-linux.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env bash

set -e
echo "::group::Launching container"

echo "Checking if there is a working CVMFS mount"

Expand Down Expand Up @@ -61,6 +62,7 @@ else
echo "Docker image ready for ${SYSTEM}"
fi

echo "::endgroup::" # Launch container

echo "####################################################################"
echo "###################### Executing user payload ######################"
Expand Down
5 changes: 5 additions & 0 deletions run-macOS.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/zsh

set -e

echo "::group::Launching container"

if [ -z "${VIEW_PATH}" ]; then
echo "Checking if there is a working CVMFS mount"

Expand Down Expand Up @@ -52,6 +55,8 @@ ${RUN}
" > ${GITHUB_WORKSPACE}/action_payload.sh
chmod a+x ${GITHUB_WORKSPACE}/action_payload.sh

echo "::endgroup::" # Launch container

echo "####################################################################"
echo "###################### Executing user payload ######################"
echo "VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV"
Expand Down