File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ jobs:
52
52
with :
53
53
key : " build"
54
54
- name : Build
55
- run : cargo build --release --features internal-testing-api
55
+ run : make test-bin-archive
56
56
- name : Upload binary
57
57
uses : actions/upload-artifact@v2
58
58
with :
59
- name : bootc
60
- path : target/release/ bootc
59
+ name : bootc.tar.zst
60
+ path : target/bootc.tar.zst
61
61
build-minimum-toolchain :
62
62
name : " Build using MSRV"
63
63
runs-on : ubuntu-latest
@@ -122,9 +122,9 @@ jobs:
122
122
- name : Download
123
123
uses : actions/download-artifact@v2
124
124
with :
125
- name : bootc
125
+ name : bootc.tar.zst
126
126
- name : Install
127
- run : sudo install bootc /usr/bin && rm -v bootc
127
+ run : sudo tar -C / -xvf bootc.tar.zst
128
128
- name : Integration tests
129
129
run : sudo podman run --rm -ti --privileged -v /run/systemd:/run/systemd -v /:/run/host -v /usr/bin/bootc:/usr/bin/bootc --pid=host quay.io/fedora/fedora-coreos:testing-devel bootc internal-tests run-privileged-integration
130
130
container-tests :
@@ -136,8 +136,8 @@ jobs:
136
136
- name : Download
137
137
uses : actions/download-artifact@v2
138
138
with :
139
- name : bootc
139
+ name : bootc.tar.zst
140
140
- name : Install
141
- run : install bootc /usr/bin && rm -v bootc
141
+ run : sudo tar -C / -xvf bootc.tar.zst
142
142
- name : Integration tests
143
143
run : bootc internal-tests run-container-integration
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ install:
11
11
install -D -t $(DESTDIR )$(prefix ) /lib/bootc/install lib/src/install/* .toml
12
12
13
13
bin-archive : all
14
- $(MAKE ) install DESTDIR=tmp-install && tar --zstd -C tmp-install -cf bootc.tar.zst . && rm tmp-install -rf
14
+ $(MAKE ) install DESTDIR=tmp-install && tar --zstd -C tmp-install -cf target/ bootc.tar.zst . && rm tmp-install -rf
15
15
16
16
test-bin-archive : all-test
17
- $(MAKE ) install DESTDIR=tmp-install && tar --zstd -C tmp-install -cf bootc.tar.zst . && rm tmp-install -rf
17
+ $(MAKE ) install DESTDIR=tmp-install && tar --zstd -C tmp-install -cf target/ bootc.tar.zst . && rm tmp-install -rf
18
18
19
19
install-kola-tests :
20
20
install -D -t $(DESTDIR )$(prefix ) /lib/coreos-assembler/tests/kola/bootc tests/kolainst/*
Original file line number Diff line number Diff line change 6
6
RUN make test-bin-archive
7
7
8
8
FROM quay.io/fedora/fedora-coreos:testing-devel
9
- COPY --from=builder /src/bootc.tar.zst /tmp
9
+ COPY --from=builder /src/target/ bootc.tar.zst /tmp
10
10
RUN tar -xvf /tmp/bootc.tar.zst && ostree container commit
You can’t perform that action at this time.
0 commit comments