From 599795791b28d44ab02cb2fecbc61ae541f531f5 Mon Sep 17 00:00:00 2001 From: Lin Wang Date: Tue, 6 Feb 2024 16:21:11 +0800 Subject: [PATCH] ci: add NO_COMMAND_LOG to unhang Signed-off-by: Lin Wang --- .github/workflows/alerting-release-e2e-workflow.yml | 2 +- .github/workflows/anomaly-detection-release-e2e-workflow.yml | 2 +- .github/workflows/cypress-workflow-bundle-snapshot-based.yml | 4 ++-- .github/workflows/index-management-release-e2e-workflow.yml | 2 +- .github/workflows/security-analytics-release-e2e-workflow.yml | 2 +- .github/workflows/security-release-e2e-workflow.yml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/alerting-release-e2e-workflow.yml b/.github/workflows/alerting-release-e2e-workflow.yml index ca809f0d7..9ee6c88f9 100644 --- a/.github/workflows/alerting-release-e2e-workflow.yml +++ b/.github/workflows/alerting-release-e2e-workflow.yml @@ -21,4 +21,4 @@ jobs: uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Alerting - test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/alerting-dashboards-plugin/*' + test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/alerting-dashboards-plugin/*' --env NO_COMMAND_LOG=1 diff --git a/.github/workflows/anomaly-detection-release-e2e-workflow.yml b/.github/workflows/anomaly-detection-release-e2e-workflow.yml index 3b3a9a7d8..2ad87983c 100644 --- a/.github/workflows/anomaly-detection-release-e2e-workflow.yml +++ b/.github/workflows/anomaly-detection-release-e2e-workflow.yml @@ -21,4 +21,4 @@ jobs: uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Anomaly Detection - test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/anomaly-detection-dashboards-plugin/*' + test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/anomaly-detection-dashboards-plugin/*' --env NO_COMMAND_LOG=1 diff --git a/.github/workflows/cypress-workflow-bundle-snapshot-based.yml b/.github/workflows/cypress-workflow-bundle-snapshot-based.yml index b1038c86d..a3a7c7d79 100644 --- a/.github/workflows/cypress-workflow-bundle-snapshot-based.yml +++ b/.github/workflows/cypress-workflow-bundle-snapshot-based.yml @@ -24,7 +24,7 @@ jobs: uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Core Dashboards using Bundle Snapshot - test-command: env CYPRESS_ML_COMMONS_DASHBOARDS_ENABLED=true CYPRESS_VISBUILDER_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js' + test-command: env CYPRESS_ML_COMMONS_DASHBOARDS_ENABLED=true CYPRESS_VISBUILDER_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js' --env NO_COMMAND_LOG=1 osd-serve-args: --data_source.enabled=true --vis_builder.enabled=true --ml_commons_dashboards.enabled=true tests-without-security: @@ -33,6 +33,6 @@ jobs: uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Core Dashboards using Bundle Snapshot - test-command: env CYPRESS_ML_COMMONS_DASHBOARDS_ENABLED=true CYPRESS_VISBUILDER_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-without-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js' + test-command: env CYPRESS_ML_COMMONS_DASHBOARDS_ENABLED=true CYPRESS_VISBUILDER_ENABLED=true CYPRESS_DATASOURCE_MANAGEMENT_ENABLED=true yarn cypress:run-without-security --browser chromium --spec 'cypress/integration/core-opensearch-dashboards/opensearch-dashboards/**/*.js' --env NO_COMMAND_LOG=1 osd-serve-args: --data_source.enabled=true --vis_builder.enabled=true --ml_commons_dashboards.enabled=true security-enabled: false diff --git a/.github/workflows/index-management-release-e2e-workflow.yml b/.github/workflows/index-management-release-e2e-workflow.yml index 467f38f60..4f66a1ced 100644 --- a/.github/workflows/index-management-release-e2e-workflow.yml +++ b/.github/workflows/index-management-release-e2e-workflow.yml @@ -21,4 +21,4 @@ jobs: uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Index Management - test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/index-management-dashboards-plugin/*' + test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/index-management-dashboards-plugin/*' --env NO_COMMAND_LOG=1 diff --git a/.github/workflows/security-analytics-release-e2e-workflow.yml b/.github/workflows/security-analytics-release-e2e-workflow.yml index dd708bb75..d7633dda6 100644 --- a/.github/workflows/security-analytics-release-e2e-workflow.yml +++ b/.github/workflows/security-analytics-release-e2e-workflow.yml @@ -24,4 +24,4 @@ jobs: uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Security Analytics - test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/security-analytics-dashboards-plugin/*' + test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/security-analytics-dashboards-plugin/*' --env NO_COMMAND_LOG=1 diff --git a/.github/workflows/security-release-e2e-workflow.yml b/.github/workflows/security-release-e2e-workflow.yml index 4ed0901a3..b1d738650 100644 --- a/.github/workflows/security-release-e2e-workflow.yml +++ b/.github/workflows/security-release-e2e-workflow.yml @@ -21,4 +21,4 @@ jobs: uses: ./.github/workflows/release-e2e-workflow-template.yml with: test-name: Security - test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/security/*' + test-command: yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/security/*' --env NO_COMMAND_LOG=1