Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects

0.1.0

Open Karine Bauch requested to merge trunk into main
10 files
+ 119
82
Compare changes
  • Side-by-side
  • Inline
Files
10
+ 25
0
spec:
inputs:
stage:
description: "The stage of the job."
default: test
project_path:
description: "The path to the project root directory."
default: .
---
check_symlinks:
variables:
PROJECT_PATH: $[[ inputs.project_path ]]
stage: $[[ inputs.stage ]]
image: ubuntu:latest
before_script:
- apt-get update && apt-get install -y symlinks
script:
- >
symlinks -rv $PROJECT_PATH | tee ./symlinks-output.txt;
if grep "dangling" ./symlinks-output.txt; then
echo "Invalid symlinks"; EXIT_CODE=1; echo "exit code: $EXIT_CODE";
else
echo "All symlinks are valid."; EXIT_CODE=0; echo "exit code: $EXIT_CODE";
fi
Loading