Skip to content

Commit

Permalink
ci: ovn-kubernetes: Avoid unnecessary builds.
Browse files Browse the repository at this point in the history
There is no need to build OVS and OVN separately before building RPMs.

This saves 3-5 minutes of the build.

Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Signed-off-by: Numan Siddique <numans@ovn.org>
  • Loading branch information
igsilya authored and numansiddique committed Sep 2, 2021
1 parent 74118fa commit 1471216
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/ovn-kubernetes/Dockerfile
Expand Up @@ -24,14 +24,14 @@ WORKDIR /tmp/ovn/ovs

RUN ./boot.sh
RUN ./configure -v
RUN make && make rpm-fedora
RUN make rpm-fedora
RUN rm rpm/rpmbuild/RPMS/x86_64/*debug*
RUN rm rpm/rpmbuild/RPMS/x86_64/*devel*

WORKDIR /tmp/ovn
RUN ./boot.sh
RUN ./configure
RUN make && make rpm-fedora
RUN make rpm-fedora
RUN rm rpm/rpmbuild/RPMS/x86_64/*debug*
RUN rm rpm/rpmbuild/RPMS/x86_64/*docker*

Expand Down

0 comments on commit 1471216

Please sign in to comment.