File tree Expand file tree Collapse file tree
tests/prepare/artifact/providers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - how: artifact
88 provide:
99 - koji.build:2761810
10- - repository-url :https://download.docker.com/linux/fedora/docker-ce.repo
10+ - repository-file :https://download.docker.com/linux/fedora/docker-ce.repo
1111 execute:
1212 how: tmt
1313
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ rlJournalStart
3131 provision -h $PROVISION_HOW --image $TEST_IMAGE_PREFIX /$image_name \
3232 prepare --how artifact \
3333 --provide koji.build:$make_build_id \
34- --provide repository-url :https://download.docker.com/linux/fedora/docker-ce.repo" 0 " Run with multiple providers"
34+ --provide repository-file :https://download.docker.com/linux/fedora/docker-ce.repo" 0 " Run with multiple providers"
3535
3636 rlAssertGrep " make" " $run /log.txt"
3737 rlAssertGrep " docker-ce-cli" " $run /log.txt"
File renamed without changes.
Original file line number Diff line number Diff line change 66 prepare:
77 how: artifact
88 provide:
9- - repository-url :https://download.docker.com/linux/fedora/docker-ce.repo
9+ - repository-file :https://download.docker.com/linux/fedora/docker-ce.repo
1010 execute:
1111 how: tmt
1212
File renamed without changes.
Original file line number Diff line number Diff line change 1- summary: Test repository-url artifact provider
1+ summary: Test repository-file artifact provider
22description: |
3- Test repository-url artifact provider which configures external
3+ Test repository-file artifact provider which configures external
44 package repositories from .repo files or URLs.
55tag+:
66 - provision-only
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # Example test for repository-url artifact provider
2+ # Example test for repository-file artifact provider
33. /usr/share/beakerlib/beakerlib.sh || exit 1
44. ../../../../images.sh || exit 1
55
@@ -19,17 +19,17 @@ rlJournalStart
1919 build_container_image " $image_name "
2020 rlPhaseEnd
2121
22- rlPhaseStartTest " Test repository-url provider with command-line override"
22+ rlPhaseStartTest " Test repository-file provider with command-line override"
2323 rlRun " tmt run -i $run --scratch -vv --all \
2424 provision -h $PROVISION_HOW --image $TEST_IMAGE_PREFIX /$image_name \
25- prepare --how artifact --provide repository-url :https://download.docker.com/linux/fedora/docker-ce.repo" 0 " Run with repository-url provider"
25+ prepare --how artifact --provide repository-file :https://download.docker.com/linux/fedora/docker-ce.repo" 0 " Run with repository-file provider"
2626
2727 rlAssertGrep " docker-ce-cli" " $run /log.txt"
2828 rlPhaseEnd
2929
30- rlPhaseStartTest " Test repository-url provider from plan file"
30+ rlPhaseStartTest " Test repository-file provider from plan file"
3131 rlRun " tmt run -i $run2 --scratch -vv --all \
32- provision -h $PROVISION_HOW --image $TEST_IMAGE_PREFIX /$image_name " 0 " Run with repository-url provider from plan file only"
32+ provision -h $PROVISION_HOW --image $TEST_IMAGE_PREFIX /$image_name " 0 " Run with repository-file provider from plan file only"
3333
3434 rlAssertGrep " docker-ce-cli" " $run2 /log.txt"
3535 rlPhaseEnd
You can’t perform that action at this time.
0 commit comments