Skip to content

Commit

Permalink
CI: also sync deb repos
Browse files Browse the repository at this point in the history
Signed-off-by: Jordi Massaguer Pla <jmassaguerpla@suse.com>
  • Loading branch information
jordimassaguerpla committed Oct 23, 2023
1 parent 5a8adc4 commit 4c22051
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions testsuite/dockerfiles/server-all-in-one-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ RUN mkdir /tmp/minima && \
tar zxvf minima-linux-amd64.tar.gz && \
cp minima /usr/bin/minima
RUN /usr/bin/minima sync -c /etc/minima.yaml && \
mv /srv/www/htdocs/pub/TestRepoRpmUpdates/repositories/systemsmanagement\:/Uyuni\:/Test-Packages\:/Updates/rpm/* /srv/www/htdocs/pub/TestRepoRpmUpdates/ && \
rm -rf /srv/www/htdocs/pub/TestRepoRpmUpdates/repositories/
mv /srv/www/htdocs/pub/TestRepoRpmUpdates/repositories/systemsmanagement\:/Uyuni\:/Test-Packages\:/Updates/rpm /srv/www/htdocs/pub/TestRepoRpmUpdates/ && \
rm -rf /srv/www/htdocs/pub/TestRepoRpmUpdates/repositories/ \
mv /srv/www/htdocs/pub/TestRepoDebUpdates/repositories/systemsmanagement\:/Uyuni\:/Test-Packages\:/Updates/deb /srv/www/htdocs/pub/TestRepoDebUpdates/ && \
rm -rf /srv/www/htdocs/pub/TestRepoDebUpdates/repositories/
RUN cd /srv/www/htdocs/pub && ln -s TestRepoRpmUpdates AnotherRepo
RUN mkdir /etc/pki/rpm-gpg && wget -c http://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Pool/rpm/repodata/repomd.xml.key -O /etc/pki/rpm-gpg/uyuni-tools-gpg-pubkey-0d20833e.key

3 changes: 2 additions & 1 deletion testsuite/dockerfiles/server-all-in-one-dev/minima.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
storage:
type: file
path: /srv/www/htdocs/pub/TestRepoRpmUpdates
path: /srv/www/htdocs/pub/

http:
- url: http://downloadcontent.opensuse.org/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Updates/rpm
- url: http://downloadcontent.opensuse.org/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Updates/deb

0 comments on commit 4c22051

Please sign in to comment.