#2221 Release fixes
Merged 2 years ago by praiskup. Opened 2 years ago by frostyx.
copr/ frostyx/copr release-fixes  into  main

file modified
+3 -3
@@ -1,12 +1,12 @@ 

  [fedora-git]

  # used by frontend, backend, dist-git, rpmbuild

  releaser = tito.release.FedoraGitReleaser

- branches = rawhide f34 f35 f36

+ branches = rawhide f35 f36

  

  [fedora-git-clients]

  releaser = tito.release.FedoraGitReleaser

- branches = rawhide epel7 epel8 epel9 f34 f35 f36

+ branches = rawhide epel7 epel8 epel9 f35 f36

  

  [fedora-git-messaging]

  releaser = tito.release.FedoraGitReleaser

- branches = rawhide epel8 epel9 f34 f35 f36

+ branches = rawhide epel8 epel9 f35 f36

@@ -154,7 +154,7 @@ 

  

          ## test distgit builds

          rlRun "copr-cli create --chroot $CHROOT ${NAME_PREFIX}ProjectDistGitBuilds"

-         rlRun "copr-cli buildfedpkg --clone-url https://src.fedoraproject.org/rpms/cpio.git --branch f$FEDORA_VERSION ${NAME_PREFIX}ProjectDistGitBuilds"

+         rlRun "copr-cli buildscm --clone-url https://src.fedoraproject.org/rpms/cpio.git --branch f$FEDORA_VERSION ${NAME_PREFIX}ProjectDistGitBuilds"

  

          ## test mock-config feature

          mc_project=${NAME_PREFIX}MockConfig
@@ -478,7 +478,8 @@ 

          ## test building in copr dirs

          rlRun "copr-cli create --chroot $CHROOT ${NAME_PREFIX}CoprDirTest"

          rlRun "copr-cli add-package-scm ${NAME_PREFIX}CoprDirTest --name example --clone-url $COPR_HELLO_GIT --method tito" 0

-         rlRun "copr-cli buildscm ${NAME_PREFIX}CoprDirTest:example --clone-url $COPR_HELLO_GIT --method tito" 0

+         rlRun "copr-cli buildscm ${NAME_PREFIX}CoprDirTest:example --clone-url $COPR_HELLO_GIT --method tito" 1

+         rlRun "copr-cli buildscm ${NAME_PREFIX}CoprDirTest:custom:example --clone-url $COPR_HELLO_GIT --method tito" 0

  

          # delete - wrong project name

          rlRun "copr-cli delete ${NAME_PREFIX}wrong-name" 1

A couple of fixes that I discovered during a Copr release

Build succeeded.

Pull-Request has been merged by praiskup

2 years ago