Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker Build Images
scripts
Commits
839309ba
Commit
839309ba
authored
2 years ago
by
Henrik Triem
Browse files
Options
Downloads
Patches
Plain Diff
Spellcheck
parent
6bcdfe80
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#27471
passed
2 years ago
Stage: lint
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
icinga-provide-go
+1
-1
1 addition, 1 deletion
icinga-provide-go
with
1 addition
and
1 deletion
icinga-provide-go
+
1
−
1
View file @
839309ba
...
...
@@ -9,7 +9,7 @@ echo "Downloading Go Version ${VERSION_GO}"
curl
-LO
"https://golang.org/dl/go
${
VERSION_GO
}
.linux-
${
ARCH_GO
}
.tar.gz"
rm
-rf
/usr/local/go
if
[[
$(
sha256sum
go
${
VERSION_GO
}
.linux-
${
ARCH_GO
}
.tar.gz
)
=
"74b9640724fd4e6bb0ed2a1bc44ae813a03f1e72a4c76253e2d5c015494430ba go
${
VERSION_GO
}
.linux-
${
ARCH_GO
}
.tar.gz"
]]
;
if
[[
$(
sha256sum
go
${
VERSION_GO
}
.linux-
"
${
ARCH_GO
}
"
.tar.gz
)
=
"74b9640724fd4e6bb0ed2a1bc44ae813a03f1e72a4c76253e2d5c015494430ba go
${
VERSION_GO
}
.linux-
${
ARCH_GO
}
.tar.gz"
]]
;
then
echo
"Unpacking Go"
;
tar
-C
/usr/local
-xzf
"go
${
VERSION_GO
}
.linux-
${
ARCH_GO
}
.tar.gz"
;
ln
-s
/usr/local/go/bin/
*
/usr/local/bin
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment