Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
quant
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
danet
quant
Commits
615f6fec
Commit
615f6fec
authored
11 months ago
by
Neil-Jocelyn Schark
Browse files
Options
Downloads
Patches
Plain Diff
Statically linked binaries
See merge request
!151
parent
d4273f0a
No related branches found
No related tags found
1 merge request
!151
Statically linked binaries
Pipeline
#206016
passed
11 months ago
Stage: build
Stage: test
Stage: analyze
Stage: build-latest
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.devcontainer/Dockerfile
+1
-0
1 addition, 0 deletions
.devcontainer/Dockerfile
.gitlab-ci.yml
+7
-0
7 additions, 0 deletions
.gitlab-ci.yml
Makefile
+2
-2
2 additions, 2 deletions
Makefile
with
10 additions
and
2 deletions
.devcontainer/Dockerfile
+
1
−
0
View file @
615f6fec
...
...
@@ -26,6 +26,7 @@ RUN apt-get update \
nload
\
yamllint
\
zsh
\
file
\
&&
apt-get clean
# Install gnmic
...
...
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
7
−
0
View file @
615f6fec
...
...
@@ -59,6 +59,13 @@ build-akms-simulator:
-
docker buildx build --push -t "$IMAGE_NAME:$TAG" -f akms-simulator/Dockerfile --build-arg "GITLAB_PROXY=${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/" --build-arg GOLANG_VERSION=${GOLANG_VERSION} .
<<
:
*build
build-binaries
:
image
:
${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golang:$GOLANG_VERSION
stage
:
build
before_script
:
-
apt-get update && apt-get upgrade -y && apt-get install -y make
script
:
-
make build
# Build latest stage
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
2
−
2
View file @
615f6fec
...
...
@@ -11,7 +11,7 @@ GOBIN := $(GOSDN_PRG)
GOLANG_VERSION
:=
1.22
GOLANGCI_LINT_VERSION
=
v1.59.1
GOCMD
=
go
GOCMD
=
CGO_ENABLED
=
0
go
GOBUILD
=
$(
GOCMD
)
build
GOCLEAN
=
$(
GOCMD
)
clean
-cache
-fuzzcache
-testcache
-modcache
BUILD_ARTIFACTS_PATH
=
artifacts
...
...
@@ -47,7 +47,7 @@ unit-test:
build
:
build-gokms build-quantumlayer build-etsi14module build-akms-simulator
build-gokms
:
pre
CGO_ENABLED
=
0
$(
GOBUILD
)
-o
$(
BUILD_ARTIFACTS_PATH
)
/goKMS ./goKMS/main.go
$(
GOBUILD
)
-o
$(
BUILD_ARTIFACTS_PATH
)
/goKMS ./goKMS/main.go
build-quantumlayer
:
pre
$(
GOBUILD
)
-o
$(
BUILD_ARTIFACTS_PATH
)
/quantumlayer ./quantumlayer/main/main.go
...
...
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