Skip to content

Commit

Permalink
[ISV-1612] Increase timeout for catalog import-image
Browse files Browse the repository at this point in the history
The default timeout was cuasing intermittent failures while setting up
the environment for the E2E tests.
  • Loading branch information
amisstea committed Jan 14, 2022
1 parent f6c5eea commit 9cd5315
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ansible/init-custom-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ execute_playbook() {
pull_parent_index() {
oc project $NAMESPACE
# Must be run once before certifying against the certified catalog.
oc import-image certified-operator-index \
oc --request-timeout 5m import-image certified-operator-index \
--from=registry.redhat.io/redhat/certified-operator-index \
--reference-policy local \
--scheduled \
--confirm \
--all

# Must be run once before certifying against the Red Hat Martketplace catalog.
oc import-image redhat-marketplace-index \
oc --request-timeout 5m import-image redhat-marketplace-index \
--from=registry.redhat.io/redhat/redhat-marketplace-index \
--reference-policy local \
--scheduled \
Expand Down
4 changes: 2 additions & 2 deletions docs/pipeline-env-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ there is a one time configuration for each desired distribution catalog.

```bash
# Must be run once before certifying against the certified catalog.
oc import-image certified-operator-index \
oc --request-timeout 5m import-image certified-operator-index \
--from=registry.redhat.io/redhat/certified-operator-index \
--reference-policy local \
--scheduled \
--confirm \
--all

# Must be run once before certifying against the Red Hat Marketplace catalog.
oc import-image redhat-marketplace-index \
oc --request-timeout 5m import-image redhat-marketplace-index \
--from=registry.redhat.io/redhat/redhat-marketplace-index \
--reference-policy local \
--scheduled \
Expand Down

0 comments on commit 9cd5315

Please sign in to comment.