Skip to content

Commit e4f67a1

Browse files
add admin credentials for regular release signoff workflow (#994) (#997)
Signed-off-by: Lin Wang <[email protected]> (cherry picked from commit 2354122) Co-authored-by: Lin Wang <[email protected]>
1 parent 00c4f07 commit e4f67a1

10 files changed

+10
-10
lines changed

.github/workflows/release-signoff-chrome.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
cd opensearch-dashboards-${{ env.VERSION }}
5252
bin/opensearch-dashboards serve &
53-
timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
53+
timeout 300 bash -c 'while [[ "$(curl -s -u admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }} localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
5454
- name: Get Cypress version
5555
id: cypress_version
5656
run: |

.github/workflows/release-signoff-chromium-ad-only.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
cd opensearch-dashboards-${{ env.VERSION }}
5252
bin/opensearch-dashboards serve &
53-
timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
53+
timeout 300 bash -c 'while [[ "$(curl -s -u admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }} localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
5454
- name: Get Cypress version
5555
id: cypress_version
5656
run: |

.github/workflows/release-signoff-chromium-ism-only.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
cd opensearch-dashboards-${{ env.VERSION }}
5252
bin/opensearch-dashboards serve &
53-
timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
53+
timeout 300 bash -c 'while [[ "$(curl -s -u admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }} localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
5454
- name: Get Cypress version
5555
id: cypress_version
5656
run: |

.github/workflows/release-signoff-chromium-tests-in-memory-0.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
cd opensearch-dashboards-${{ env.VERSION }}
5252
bin/opensearch-dashboards serve &
53-
timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
53+
timeout 300 bash -c 'while [[ "$(curl -s -u admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }} localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
5454
- name: Get Cypress version
5555
id: cypress_version
5656
run: |

.github/workflows/release-signoff-chromium-tests-in-memory-10.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
cd opensearch-dashboards-${{ env.VERSION }}
5252
bin/opensearch-dashboards serve &
53-
timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
53+
timeout 300 bash -c 'while [[ "$(curl -s -u admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }} localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
5454
- name: Get Cypress version
5555
id: cypress_version
5656
run: |

.github/workflows/release-signoff-chromium-tests-in-memory-20.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
cd opensearch-dashboards-${{ env.VERSION }}
5252
bin/opensearch-dashboards serve &
53-
timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
53+
timeout 300 bash -c 'while [[ "$(curl -s -u admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }} localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
5454
- name: Get Cypress version
5555
id: cypress_version
5656
run: |

.github/workflows/release-signoff-chromium-tests-in-memory-5.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
cd opensearch-dashboards-${{ env.VERSION }}
5252
bin/opensearch-dashboards serve &
53-
timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
53+
timeout 300 bash -c 'while [[ "$(curl -s -u admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }} localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
5454
- name: Get Cypress version
5555
id: cypress_version
5656
run: |

.github/workflows/release-signoff-chromium.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
cd opensearch-dashboards-${{ env.VERSION }}
5252
bin/opensearch-dashboards serve &
53-
timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
53+
timeout 300 bash -c 'while [[ "$(curl -s -u admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }} localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
5454
- name: Get Cypress version
5555
id: cypress_version
5656
run: |

.github/workflows/release-signoff-electron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
cd opensearch-dashboards-${{ env.VERSION }}
5252
bin/opensearch-dashboards serve &
53-
timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
53+
timeout 300 bash -c 'while [[ "$(curl -s -u admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }} localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
5454
- name: Get Cypress version
5555
id: cypress_version
5656
run: |

.github/workflows/release-signoff-firefox.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
cd opensearch-dashboards-${{ env.VERSION }}
5252
bin/opensearch-dashboards serve &
53-
timeout 300 bash -c 'while [[ "$(curl -s localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
53+
timeout 300 bash -c 'while [[ "$(curl -s -u admin:${{ env.OPENSEARCH_INITIAL_ADMIN_PASSWORD }} localhost:5601/api/status | jq -r '.status.overall.state')" != "green" ]]; do sleep 5; done'
5454
- name: Get Cypress version
5555
id: cypress_version
5656
run: |

0 commit comments

Comments
 (0)