Skip to content

Commit

Permalink
Add dummy modular repo in the CI containerized server (#9246)
Browse files Browse the repository at this point in the history
* Add dummy modular repo to the CI server
  • Loading branch information
NamelessOne91 authored Sep 5, 2024
1 parent 2c0b481 commit f4dcd5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions testsuite/dockerfiles/server-all-in-one-dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ 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/
mkdir /srv/www/htdocs/pub/TestRepoRpmUpdates /srv/www/htdocs/pub/TestRepoAppstream && \
mv /srv/www/htdocs/pub/repositories/systemsmanagement\:/Uyuni\:/Test-Packages\:/Updates/rpm/* /srv/www/htdocs/pub/TestRepoRpmUpdates/ && \
mv /srv/www/htdocs/pub/repositories/systemsmanagement\:/Uyuni\:/Test-Packages\:/Appstream/rhlike/* /srv/www/htdocs/pub/TestRepoAppStream/ && \
rm -rf /srv/www/htdocs/pub/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://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Appstream/rhlike

0 comments on commit f4dcd5d

Please sign in to comment.