This is an automated email from the git hooks/post-receive script.
msuchy pushed a commit to branch master
in repository copr/copr.
commit e80d10f821d57a586f890a8248eb011bde915c04
Author: Miroslav Suchý <msuchy(a)redhat.com>
AuthorDate: Fri Oct 19 14:03:59 2018 +0200
use fedora 27 for tests
---
.../backend/tests/builds/build-tasks.json | 2 +-
.../Sanity/copr-cli-basic-operations/build-spec.sh | 2 +-
.../Sanity/copr-cli-basic-operations/runtest.sh | 32 +++++++++++-----------
.../Sanity/copr-cli-basic-operations/scm.sh | 4 +--
.../upload_authentication.sh | 2 +-
5 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/beaker-tests/Regression/backend/tests/builds/build-tasks.json
b/beaker-tests/Regression/backend/tests/builds/build-tasks.json
index 5a66387..893435d 100644
--- a/beaker-tests/Regression/backend/tests/builds/build-tasks.json
+++ b/beaker-tests/Regression/backend/tests/builds/build-tasks.json
@@ -293,7 +293,7 @@
"pkgs": "",
"project_name": "copr-dev",
"project_owner": "@copr",
- "repos": [{"id": "foo", "name":
"foo", "url":
"http://download.fedoraproject.org/pub/fedora/linux/releases/26/Everything/x86_64/os/"}],
+ "repos": [{"id": "foo", "name":
"foo", "url":
"http://download.fedoraproject.org/pub/fedora/linux/releases/27/Everything/x86_64/os/"}],
"submitter": "clime",
"task_id": "340-custom-1-x86_64",
"timeout": 86400,
diff --git a/beaker-tests/Sanity/copr-cli-basic-operations/build-spec.sh
b/beaker-tests/Sanity/copr-cli-basic-operations/build-spec.sh
index c411dfe..d224eeb 100755
--- a/beaker-tests/Sanity/copr-cli-basic-operations/build-spec.sh
+++ b/beaker-tests/Sanity/copr-cli-basic-operations/build-spec.sh
@@ -52,7 +52,7 @@ rlJournalStart
rlPhaseEnd
rlPhaseStartTest
- rlRun "copr-cli create ${NAME_PREFIX}BuildSpec --enable-net on --chroot
fedora-26-x86_64" 0
+ rlRun "copr-cli create ${NAME_PREFIX}BuildSpec --enable-net on --chroot
fedora-27-x86_64" 0
rlRun "copr-cli build ${NAME_PREFIX}BuildSpec files/vera.spec" 0
rlRun "copr-cli delete ${NAME_PREFIX}BuildSpec"
rlPhaseEnd
diff --git a/beaker-tests/Sanity/copr-cli-basic-operations/runtest.sh
b/beaker-tests/Sanity/copr-cli-basic-operations/runtest.sh
index 036fc61..fdf091a 100755
--- a/beaker-tests/Sanity/copr-cli-basic-operations/runtest.sh
+++ b/beaker-tests/Sanity/copr-cli-basic-operations/runtest.sh
@@ -157,12 +157,12 @@ rlJournalStart
## test to modify list of enabled chroots in the project
# create project
- rlRun "copr-cli create --chroot fedora-26-x86_64
${NAME_PREFIX}ModifyProjectChroots"
+ rlRun "copr-cli create --chroot fedora-27-x86_64
${NAME_PREFIX}ModifyProjectChroots"
# modify chroots
rlRun "copr-cli modify --chroot fedora-27-x86_64 --chroot
fedora-rawhide-x86_64 ${NAME_PREFIX}ModifyProjectChroots"
# the old chroot should not be enabled anymore
- rlRun "copr-cli get-chroot
${NAME_PREFIX}ModifyProjectChroots/fedora-26-x86_64" 1
- # only F26 and rawhide from previous modify command should be enabled now
+ rlRun "copr-cli get-chroot
${NAME_PREFIX}ModifyProjectChroots/fedora-23-x86_64" 1
+ # only F27 and rawhide from previous modify command should be enabled now
rlRun "copr-cli get-chroot
${NAME_PREFIX}ModifyProjectChroots/fedora-27-x86_64" 0
rlRun "copr-cli get-chroot
${NAME_PREFIX}ModifyProjectChroots/fedora-rawhide-x86_64" 0
# it should not be possible to select non-existing chroot
@@ -171,8 +171,8 @@ rlJournalStart
rlAssertEquals "It is not possible to enable non-existing chroot " `cat
$OUTPUT |grep "Such chroot is not enabled: non-existing-1" |wc -l` 1
## test distgit builds
- rlRun "copr-cli create --chroot fedora-26-x86_64
${NAME_PREFIX}ProjectDistGitBuilds"
- rlRun "copr-cli buildfedpkg --clone-url
https://src.fedoraproject.org/rpms/389-admin-console.git --branch f26
${NAME_PREFIX}ProjectDistGitBuilds"
+ rlRun "copr-cli create --chroot fedora-27-x86_64
${NAME_PREFIX}ProjectDistGitBuilds"
+ rlRun "copr-cli buildfedpkg --clone-url
https://src.fedoraproject.org/rpms/389-admin-console.git --branch f27
${NAME_PREFIX}ProjectDistGitBuilds"
## test mock-config feature
mc_project=${NAME_PREFIX}MockConfig
@@ -198,17 +198,17 @@ rlJournalStart
}
" > $TMPCOMPS
TMPCOMPS_BASENAME=`basename $TMPCOMPS`
- rlRun "copr-cli create ${NAME_PREFIX}EditChrootProject --chroot
fedora-27-x86_64"
- rlRun "copr-cli edit-chroot ${NAME_PREFIX}EditChrootProject/fedora-27-x86_64
--upload-comps $TMPCOMPS"
- rlRun "copr-cli get-chroot ${NAME_PREFIX}EditChrootProject/fedora-27-x86_64
| grep '\"comps_name\": \"$TMPCOMPS_BASENAME\"'"
- rlRun "copr-cli edit-chroot ${NAME_PREFIX}EditChrootProject/fedora-27-x86_64
--delete-comps"
- rlRun "copr-cli get-chroot ${NAME_PREFIX}EditChrootProject/fedora-27-x86_64
| grep '\"comps_name\": null'"
- rlRun "copr-cli edit-chroot ${NAME_PREFIX}EditChrootProject/fedora-27-x86_64
--repos 'http://foo/repo
http://bar/repo' --packages 'gcc'"
- rlRun "copr-cli get-chroot ${NAME_PREFIX}EditChrootProject/fedora-27-x86_64
| jq '.repos == [\"http://foo/repo\",
\"http://bar/repo\"]'"
- rlRun "copr-cli get-chroot ${NAME_PREFIX}EditChrootProject/fedora-27-x86_64
| jq '.buildroot_pkgs == [\"gcc\"]'"
- rlRun "copr-cli edit-chroot ${NAME_PREFIX}EditChrootProject/fedora-27-x86_64
--repos '' --packages ''"
- rlRun "copr-cli get-chroot ${NAME_PREFIX}EditChrootProject/fedora-27-x86_64
| jq '.repos == []'"
- rlRun "copr-cli get-chroot ${NAME_PREFIX}EditChrootProject/fedora-27-x86_64
| jq '.buildroot_pkgs == []'"
+ rlRun "copr-cli create ${NAME_PREFIX}EditChrootProject --chroot
$mc_chroot"
+ rlRun "copr-cli edit-chroot ${NAME_PREFIX}EditChrootProject/$mc_chroot
--upload-comps $TMPCOMPS"
+ rlRun "copr-cli get-chroot ${NAME_PREFIX}EditChrootProject/$mc_chroot | grep
'\"comps_name\": \"$TMPCOMPS_BASENAME\"'"
+ rlRun "copr-cli edit-chroot ${NAME_PREFIX}EditChrootProject/$mc_chroot
--delete-comps"
+ rlRun "copr-cli get-chroot ${NAME_PREFIX}EditChrootProject/$mc_chroot | grep
'\"comps_name\": null'"
+ rlRun "copr-cli edit-chroot ${NAME_PREFIX}EditChrootProject/$mc_chroot
--repos 'http://foo/repo
http://bar/repo' --packages 'gcc'"
+ rlRun "copr-cli get-chroot ${NAME_PREFIX}EditChrootProject/$mc_chroot | jq
'.repos == [\"http://foo/repo\", \"http://bar/repo\"]'"
+ rlRun "copr-cli get-chroot ${NAME_PREFIX}EditChrootProject/$mc_chroot | jq
'.buildroot_pkgs == [\"gcc\"]'"
+ rlRun "copr-cli edit-chroot ${NAME_PREFIX}EditChrootProject/$mc_chroot
--repos '' --packages ''"
+ rlRun "copr-cli get-chroot ${NAME_PREFIX}EditChrootProject/$mc_chroot | jq
'.repos == []'"
+ rlRun "copr-cli get-chroot ${NAME_PREFIX}EditChrootProject/$mc_chroot | jq
'.buildroot_pkgs == []'"
rlRun "copr-cli edit-chroot
${NAME_PREFIX}EditChrootProject/fedora-27-x86_65" 1
rm $TMPCOMPS
diff --git a/beaker-tests/Sanity/copr-cli-basic-operations/scm.sh
b/beaker-tests/Sanity/copr-cli-basic-operations/scm.sh
index e9fa67e..cad94d7 100755
--- a/beaker-tests/Sanity/copr-cli-basic-operations/scm.sh
+++ b/beaker-tests/Sanity/copr-cli-basic-operations/scm.sh
@@ -52,14 +52,14 @@ rlJournalStart
rlPhaseEnd
rlPhaseStartTest
- rlRun "copr create ${NAME_PREFIX}BuildScm --enable-net on --chroot
fedora-26-x86_64" 0
+ rlRun "copr create ${NAME_PREFIX}BuildScm --enable-net on --chroot
fedora-27-x86_64" 0
rlRun "copr buildscm --clone-url
https://src.fedoraproject.org/rpms/rpkg-util.git ${NAME_PREFIX}BuildScm" 0
rlRun "copr buildscm --clone-url
https://github.com/clime/example.git
--method make_srpm ${NAME_PREFIX}BuildScm" 0
rlRun "copr buildscm --clone-url
https://github.com/clime/example.git
--method tito ${NAME_PREFIX}BuildScm" 0
rlRun "copr buildscm --clone-url
https://github.com/clime/example2.git
--subdir subpkg --spec example.spec --method tito_test ${NAME_PREFIX}BuildScm" 0
rlRun "copr buildscm --clone-url
https://src.fedoraproject.org/forks/mgahagan/rpms/passwd.git --commit
9ac07e38c9351fb1c4e724e68deaeac6b6b1ab4 ${NAME_PREFIX}BuildScm" 0
- rlRun "copr create ${NAME_PREFIX}PackageScm --enable-net on --chroot
fedora-26-x86_64" 0
+ rlRun "copr create ${NAME_PREFIX}PackageScm --enable-net on --chroot
fedora-27-x86_64" 0
rlRun "copr add-package-scm --name example --clone-url
https://github.com/clime/example.git --method tito ${NAME_PREFIX}PackageScm" 0
rlRun "copr edit-package-scm --name example --clone-url
https://github.com/clime/example.git --method rpkg ${NAME_PREFIX}PackageScm" 0
rlRun "copr build-package --name example ${NAME_PREFIX}PackageScm" 0
diff --git a/beaker-tests/Sanity/copr-cli-basic-operations/upload_authentication.sh
b/beaker-tests/Sanity/copr-cli-basic-operations/upload_authentication.sh
index 495d704..1182d18 100755
--- a/beaker-tests/Sanity/copr-cli-basic-operations/upload_authentication.sh
+++ b/beaker-tests/Sanity/copr-cli-basic-operations/upload_authentication.sh
@@ -68,7 +68,7 @@ rlJournalStart
rlPhaseEnd
rlPhaseStartTest
- rlRun "copr-cli create ${NAME_PREFIX}AuthTest --chroot
fedora-26-x86_64" 0
+ rlRun "copr-cli create ${NAME_PREFIX}AuthTest --chroot
fedora-27-x86_64" 0
rlRun "copr-cli build ${NAME_PREFIX}AuthTest files/auth_test.src.rpm"
0
rlRun "copr-cli --config files/copr-config-bad build ${NAME_PREFIX}AuthTest
files/auth_test.src.rpm" 1
rlRun "copr-cli --config files/copr-config-bad build ${NAME_PREFIX}AuthTest
files/auth_test.src.rpm | grep 'Uploading package'" 1
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.