Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Merge requests
!904
Added local building of go modules
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Added local building of go modules
WS-702
into
main
Overview
0
Commits
12
Pipelines
2
Changes
6
Merged
Nathan Bockisch
requested to merge
WS-702
into
main
3 years ago
Overview
0
Commits
12
Pipelines
2
Changes
6
Expand
0
0
Merge request reports
Compare
main
version 1
6896cde6
3 years ago
main (base)
and
latest version
latest version
4521127a
12 commits,
3 years ago
version 1
6896cde6
6 commits,
3 years ago
6 files
+
171
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
ci/bin/build-go.sh
+
4
−
8
Options
@@ -39,13 +39,9 @@ do
fi
cd
"
$module
"
# if [ -e setup.py ]; then
# until python3 setup.py bdist_pex --bdist-all --bdist-dir="$BUILD_DIR" --pex-args="--python-shebang /home/ssa/bin/python3.8"; do
# echo "PEX build failed. Retrying."; sleep 2;
# done
# else
# echo "PEX build impossible in $PWD because there is no setup.py file"
# fi
# cd ..
# Run the build
CGO_ENABLED
=
0 go build
-a
-ldflags
"-w -s"
-o
$BUILD_DIR
/
$module
cd
..
done
Loading