Skip to content

Commit

Permalink
chore: drop containers/image related build tags
Browse files Browse the repository at this point in the history
Now we don't use containers/image (except for types for backward
compatibility through to 5.0), remove the build tags related to
containers/image and containers/storage that are no longer required.
  • Loading branch information
dtrudg committed Nov 28, 2023
1 parent b64f91f commit 0c874e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ run:
timeout: 5m
build-tags:
- apparmor
- containers_image_openpgp
- e2e_test
- fakeroot_engine
- seccomp
Expand Down
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"--fast"
],
"go.buildFlags": [
"-tags=apparmor,containers_image_openpgp,fakeroot_engine,seccomp,selinux,singularity_engine,sylog"
"-tags=apparmor,fakeroot_engine,seccomp,selinux,singularity_engine,sylog"
],
"go.testTags": "apparmor,containers_image_openpgp,fakeroot_engine,seccomp,selinux,singularity_engine,sylog,e2e_test,integration_test"
"go.testTags": "apparmor,fakeroot_engine,seccomp,selinux,singularity_engine,sylog,e2e_test,integration_test"
}
4 changes: 2 additions & 2 deletions mlocal/frags/go_common_opts.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# go tool default build options
GO111MODULE := on
GO_TAGS := containers_image_openpgp exclude_graphdriver_btrfs exclude_graphdriver_devicemapper sylog singularity_engine fakeroot_engine
GO_TAGS_SUID := containers_image_openpgp exclude_graphdriver_btrfs exclude_graphdriver_devicemapper sylog singularity_engine fakeroot_engine
GO_TAGS := sylog singularity_engine fakeroot_engine
GO_TAGS_SUID := sylog singularity_engine fakeroot_engine
GO_LDFLAGS :=
# Need to use non-pie build on ppc64le
# https://github.com/hpcng/singularity/issues/5762
Expand Down

0 comments on commit 0c874e0

Please sign in to comment.