Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dynamic Exposure
server-components
containers
docker-spearhead
Commits
579ef0a8
Commit
579ef0a8
authored
Feb 09, 2021
by
Felix Delattre
Browse files
Added CI for shell script
parent
ff938691
Pipeline
#19212
failed with stage
in 1 minute
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
579ef0a8
image
:
debian:bullseye-slim
before_script
:
-
apt update -y
-
apt install -y git make shellcheck golang-go
-
go get -u github.com/mvdan/sh/cmd/shfmt
-
goenv global 1.15.7
-
goenv rehash
linters
:
script
:
-
make check
Makefile
0 → 100644
View file @
579ef0a8
SOURCES
=
./files/start.sh
LENGTH
=
96
check
:
$(SOURCES)
shellcheck
$^
shfmt
-i
2
-d
$^
format
:
$(SOURCES)
shfmt
-i
2
-w
$^
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment