Skip to content

Commit

Permalink
beaker: make Copr vendor configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
praiskup authored and FrostyX committed Jun 19, 2023
1 parent bfaccea commit e65fef0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ FRONTEND_HOST=dev-copr.devel.redhat.com
FRONTEND_URL=https://$FRONTEND_HOST
BACKEND_URL=https://dev-coprbe.devel.redhat.com
DISTGIT_URL=https://dev-copr-dist-git.devel.redhat.com
VENDOR="Red Hat Internal Copr (devel) - "

set -e

Expand All @@ -25,5 +26,5 @@ EOF

fi

export OWNER FRONTEND_URL BACKEND_URL DISTGIT_URL
export OWNER FRONTEND_URL BACKEND_URL DISTGIT_URL VENDOR
exec "$our_dir/all-in-tmux.sh" "$@"
1 change: 1 addition & 0 deletions beaker-tests/Sanity/copr-cli-basic-operations/config
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
: "${BACKEND_URL=https://copr-be-dev.cloud.fedoraproject.org}"
: "${DISTGIT_URL=https://copr-dist-git-dev.fedorainfracloud.org}"
: "${OWNER=@copr}"
: "${VENDOR=Fedora Copr (devel) - group @copr}"

# Owner and project
NAME_VAR="TEST$(date +%s%N)" # names should be unique
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ rlJournalStart
rlRun "parse_build_id"
output=`mktemp`
get_rpm_builder_log 'pkg-with-macros' > $output
rlRun "cat $output |grep 'COPR VENDOR: Fedora Copr (devel) - group @copr'"
rlRun "cat $output |grep 'COPR VENDOR: $VENDOR'"
rlRun "cat $output |grep 'COPR BUILDTAG: .copr${BUILD_ID}'"
rlPhaseEnd

Expand Down

0 comments on commit e65fef0

Please sign in to comment.