Skip to content

Commit 1fe9569

Browse files
FedeDPpoiana
authored andcommitted
chore(ci,plugins/container): use -tags containers_image_openpgp for test make target too.
This allows us to drop libgpgme-dev dep from test ci. Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
1 parent 0e0737e commit 1fe9569

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/container-ci.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,8 @@ jobs:
9696
arch: [ amd64, arm64 ]
9797
steps:
9898
# libbtrfs: needed by podman package - build dep.
99-
# libgpgme: needed by github.com/containers/image, build dep since our go build tags use opengpg instead.
10099
- name: Install go test deps
101-
run: sudo apt-get install -y --no-install-recommends libbtrfs-dev libgpgme-dev
100+
run: sudo apt-get install -y --no-install-recommends libbtrfs-dev
102101

103102
- name: Checkout repo
104103
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

plugins/container/go-worker/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ clean:
1616
.PHONY: test
1717
test:
1818
go clean -testcache
19-
GOEXPERIMENT=loopvar go test -v -cover -race ./...
19+
GOEXPERIMENT=loopvar go test -tags containers_image_openpgp -v -cover -race ./...

0 commit comments

Comments
 (0)