Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
test(e2e): enable verbose for install
Browse files Browse the repository at this point in the history
Backport commit to release-v0.10 to enable verbose output for osm
installation in e2es. This way, for pipelines like osm-build that
run v0.10 e2es for releases, it will be easier to identify the cause
of failures, rather than trying to reproduce the error locally and
fetch logs.

Signed-off-by: nshankar13 <[email protected]>
  • Loading branch information
nshankar13 committed Aug 27, 2021
1 parent d785c49 commit b992b49
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nightly-noinstall.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
- name: Install OSM via OSM CLI
run: |
make build-osm
./bin/osm install \
./bin/osm install --verbose \
--set=OpenServiceMesh.image.registry="$CTR_REGISTRY" \
--set=OpenServiceMesh.image.tag="$CTR_TAG"
- name: Run e2es
Expand Down
2 changes: 2 additions & 0 deletions demo/run-osm-demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ if [ "$CERT_MANAGER" = "vault" ]; then
# shellcheck disable=SC2086
bin/osm install \
--osm-namespace "$K8S_NAMESPACE" \
--verbose \
--mesh-name "$MESH_NAME" \
--set=OpenServiceMesh.certificateProvider.kind="$CERT_MANAGER" \
--set=OpenServiceMesh.vault.host="$VAULT_HOST" \
Expand All @@ -123,6 +124,7 @@ else
# shellcheck disable=SC2086
bin/osm install \
--osm-namespace "$K8S_NAMESPACE" \
--verbose \
--mesh-name "$MESH_NAME" \
--set=OpenServiceMesh.certificateProvider.kind="$CERT_MANAGER" \
--set=OpenServiceMesh.image.registry="$CTR_REGISTRY" \
Expand Down
1 change: 1 addition & 0 deletions demo/run-osm-multicluster-demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ for CONTEXT in $MULTICLUSTER_CONTEXTS; do
# shellcheck disable=SC2086
bin/osm install \
--osm-namespace "$K8S_NAMESPACE" \
--verbose \
--mesh-name "$MESH_NAME" \
--set=OpenServiceMesh.image.registry="$CTR_REGISTRY" \
--set=OpenServiceMesh.imagePullSecrets[0].name="$CTR_REGISTRY_CREDS_NAME" \
Expand Down
1 change: 1 addition & 0 deletions tests/framework/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,7 @@ func (td *OsmTestData) InstallOSM(instOpts InstallOSMOpts) error {
var args []string
args = append(args, "install",
"--osm-namespace="+instOpts.ControlPlaneNS,
"--verbose",
fmt.Sprintf("--timeout=%v", 90*time.Second),
)

Expand Down

0 comments on commit b992b49

Please sign in to comment.