Skip to content

Commit

Permalink
[beaker-tests-backend] modularity test update + pre-creation of /etc/…
Browse files Browse the repository at this point in the history
…fm.modules.d directory
  • Loading branch information
clime committed Sep 19, 2016
1 parent 6e2827a commit b150e5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[group-modularity-template-project]
name = Copr modules repo for @modularity/template-project
url = http://localhost:5002/results/@modularity/template-project/
url = http://localhost:5002/results/@modularity/template-project/modules
enabled = 1
3 changes: 2 additions & 1 deletion beaker-tests/Regression/backend/tests/modularity/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export OUT=$TESTPATH/action-results.out.json

rlJournalStart
rlPhaseStartSetup
mkdir -p /etc/fm.modules.d
dnf -y copr enable @modularity/fm
dnf -y copr enable @modularity/modulemd
dnf -y copr enable @modularity/modulemd-resolver
Expand All @@ -18,7 +19,7 @@ rlJournalStart
cp _copr_@modularity-template-project.cfg /etc/fm.modules.d/
dnf -y remove rare_example
rm -r /var/cache/fm/
docker exec copr-backend /bin/sh -c 'rm -rf /var/lib/copr/public_html/results/@modularity/template-project/{*+*,modules.json}'
docker exec copr-backend /bin/sh -c 'rm -rf /var/lib/copr/public_html/results/@modularity/template-project/modules/{*+*,modules.json}'
rlPhaseEnd

rlPhaseStartTest Actions
Expand Down

0 comments on commit b150e5d

Please sign in to comment.