Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
netobserv-ebpf-agent
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
hdacloud
netobserv-ebpf-agent
Commits
ff37a09f
Unverified
Commit
ff37a09f
authored
3 months ago
by
Mohamed S. Mahmoud
Committed by
GitHub
3 months ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #575 from msherif1234/test-bc-wf
test fix for bc workflow
parents
d05b51bb
2de06f67
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.mk/bc.mk
+1
-1
1 addition, 1 deletion
.mk/bc.mk
with
1 addition
and
1 deletion
.mk/bc.mk
+
1
−
1
View file @
ff37a09f
...
...
@@ -41,7 +41,7 @@ define build_bc_target
echo
'building bytecode image for arch $(1)'
;
\
echo
'${PROGRAMS}'
|
jq
empty
||
{
echo
"Invalid JSON in PROGRAMS"
;
exit
1;
};
\
echo
'${MAPS}'
|
jq
empty
||
{
echo
"Invalid JSON in MAPS"
;
exit
1;
};
\
DOCKER_BUILDKIT
=
1
$(
OCI_BIN
)
buildx build
--load
--build-arg
PROGRAMS
=
'
${
PROGRAMS
}
'
--build-arg
MAPS
=
'
${
MAPS
}
'
--build-arg
BC_AMD64_EL
=
bpf_x86_bpfel.o
--build-arg
BC_ARM64_EL
=
bpf_arm64_bpfel.o
--build-arg
BC_S390X_EB
=
bpf_s390_bpfeb.o
--build-arg
BC_PPC64LE_EL
=
bpf_powerpc_bpfel.o
--build-arg
LDFLAGS
=
"
${
LDFLAGS
}
"
--build-arg
TARGETARCH
=
$(
1
)
${
OCI_BUILD_OPTS
}
-t
${
BC_IMAGE
}
-
$(
1
)
-f
./Containerfile.bytecode.multi.arch ./pkg/ebpf
;
DOCKER_BUILDKIT
=
1
$(
OCI_BIN
)
buildx build
--platform
linux/
$(
1
)
--load
--build-arg
PROGRAMS
=
'
${
PROGRAMS
}
'
--build-arg
MAPS
=
'
${
MAPS
}
'
--build-arg
BC_AMD64_EL
=
bpf_x86_bpfel.o
--build-arg
BC_ARM64_EL
=
bpf_arm64_bpfel.o
--build-arg
BC_S390X_EB
=
bpf_s390_bpfeb.o
--build-arg
BC_PPC64LE_EL
=
bpf_powerpc_bpfel.o
--build-arg
LDFLAGS
=
"
${
LDFLAGS
}
"
--build-arg
TARGETARCH
=
$(
1
)
${
OCI_BUILD_OPTS
}
-t
${
BC_IMAGE
}
-
$(
1
)
-f
./Containerfile.bytecode.multi.arch ./pkg/ebpf
;
endef
# push a single arch target image
...
...
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