File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,18 @@ prefix ?= /usr
3
3
all :
4
4
cargo build --release
5
5
6
+ all-test :
7
+ cargo build --release --all-features
8
+
6
9
install :
7
10
install -D -t $(DESTDIR )$(prefix ) /bin target/release/bootc
8
11
9
12
bin-archive : all
10
13
$(MAKE ) install DESTDIR=tmp-install && tar --zstd -C tmp-install -cf bootc.tar.zst . && rm tmp-install -rf
11
14
15
+ test-bin-archive : all-test
16
+ $(MAKE ) install DESTDIR=tmp-install && tar --zstd -C tmp-install -cf bootc.tar.zst . && rm tmp-install -rf
17
+
12
18
install-kola-tests :
13
19
install -D -t $(DESTDIR )$(prefix ) /lib/coreos-assembler/tests/kola/bootc tests/kolainst/*
14
20
Original file line number Diff line number Diff line change 3
3
FROM quay.io/coreos-assembler/fcos-buildroot:testing-devel as builder
4
4
WORKDIR /src
5
5
COPY . .
6
- RUN make bin-archive
6
+ RUN make test- bin-archive
7
7
8
8
FROM quay.io/fedora/fedora-coreos:testing-devel
9
9
COPY --from=builder /src/bootc.tar.zst /tmp
You can’t perform that action at this time.
0 commit comments