Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Windows runner for CI workflows #1275

Merged
merged 77 commits into from
Feb 3, 2023
Merged
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
3434d63
CI refactoring for support Windows runner
RyanL1997 Dec 14, 2022
59e6a36
Change the distribution build version to 6705 for linux runner
RyanL1997 Dec 14, 2022
2e3aae4
Change the distribution build version to 6708 for both linux and wind…
RyanL1997 Dec 14, 2022
02f785c
test updated versions
stephen-crawford Dec 14, 2022
ba4f774
test updated versions
stephen-crawford Dec 14, 2022
8c6162d
test updated versions
stephen-crawford Dec 14, 2022
58dbad1
swap firefox install
stephen-crawford Dec 14, 2022
ad6fe0f
swap firefox install
stephen-crawford Dec 14, 2022
1069183
swap firefox install
stephen-crawford Dec 14, 2022
8b216d9
Swap to invoke
stephen-crawford Dec 14, 2022
864bdd7
Swap to zip
stephen-crawford Dec 14, 2022
0a95a68
SPecify jdk
stephen-crawford Dec 14, 2022
235ca60
swap to new setup
stephen-crawford Dec 14, 2022
3b3f1e8
Remove second mkdir
stephen-crawford Dec 15, 2022
93e73c7
upload coverage
stephen-crawford Dec 15, 2022
6284ec4
remove coverage checkc
stephen-crawford Dec 15, 2022
4387414
Run in band
stephen-crawford Dec 15, 2022
236ad95
Make not background
stephen-crawford Dec 15, 2022
1a6def3
Revert resolved conflict
stephen-crawford Dec 15, 2022
0468402
Add specification for firefox driver on different os runners
RyanL1997 Dec 15, 2022
2b117ae
Reference the firefox setup for windows to RyanL1997
RyanL1997 Dec 15, 2022
6ad568b
Add config for opensearch.yml for windows setup
RyanL1997 Dec 16, 2022
4a62d9f
Switch back to yarn for integ test
RyanL1997 Dec 16, 2022
f7dba31
Add run IDP server command for Windows runner
RyanL1997 Dec 16, 2022
82e3a9c
Switch back to yarn for Windows runner
RyanL1997 Dec 17, 2022
a7cd2b2
Switch back to yarn for Windows runner
RyanL1997 Jan 5, 2023
00986d2
Enable both Linux and windows runner
RyanL1997 Jan 6, 2023
787c9ba
Change the cypress test script to support both linux and windows runners
RyanL1997 Jan 6, 2023
facdfe5
Switch back to yarn and extend sleep time to 800 seconds for cypress …
RyanL1997 Jan 6, 2023
9326f3f
Change the distribution build version back to 'latest'
RyanL1997 Jan 9, 2023
5edfd44
Add log for osd set up
RyanL1997 Jan 9, 2023
6204d6a
Add flags for yarn command of OSD setup
RyanL1997 Jan 9, 2023
07a2f85
Add curl command to see if OSD runs up
RyanL1997 Jan 9, 2023
b66d256
Remove cat for OSD logs
RyanL1997 Jan 9, 2023
9fcb57e
Remove cat for OSD logs attempt 2
RyanL1997 Jan 9, 2023
e0880e7
remove oss flag for OSD setup command
RyanL1997 Jan 9, 2023
9ea1746
Remove the cwd flag for OSD setup
RyanL1997 Jan 10, 2023
8c7111e
Add cat osd.log back
RyanL1997 Jan 10, 2023
068373d
Change to 0.0.0.0 after checkout to ftr
RyanL1997 Jan 10, 2023
af37758
Enable unit test
RyanL1997 Jan 12, 2023
aed95c2
Use nohup for osd setup
RyanL1997 Jan 20, 2023
95c793f
Modify create setup script for windows
RyanL1997 Jan 20, 2023
722851f
Add working dir to Cypress workflow
RyanL1997 Jan 20, 2023
50c48f2
Check 9200 status before and after checkout to ftr
RyanL1997 Jan 20, 2023
fc01542
Change the demo config installation command for linux
RyanL1997 Jan 23, 2023
d6966e9
checkout with v3
RyanL1997 Jan 23, 2023
869cf3b
Merge the ftr checkout into one step
RyanL1997 Jan 23, 2023
cc596f4
Switch the test browser from chromium to chrome for Cypress test
RyanL1997 Jan 23, 2023
ca7c6dd
Extract the test into another step
RyanL1997 Jan 23, 2023
c619e88
Merge the clone step back to setup
RyanL1997 Jan 24, 2023
9a9b362
Refactor Cypress workflow
RyanL1997 Jan 24, 2023
bb352bb
Hook to RyanL1997 for testing proper timeout gap
RyanL1997 Jan 24, 2023
b3dc358
Fix the setup script for windows with correct flags
RyanL1997 Jan 24, 2023
8b798eb
Switch back to original repo
RyanL1997 Jan 24, 2023
a11e5ae
Fix the setup command for integ test with correct flags
RyanL1997 Jan 24, 2023
57b9c58
Move idp setup inside the saml integ test
RyanL1997 Jan 24, 2023
8dde509
Set up a seprate integ test sets for windows runner
RyanL1997 Jan 24, 2023
af67535
Switch to node command for integ test windows runner
RyanL1997 Jan 25, 2023
84dd998
Remove the ignore flag
RyanL1997 Jan 25, 2023
9954325
Add ingnore flag back
RyanL1997 Jan 25, 2023
1836b5b
Switch to node for integ windows runner
RyanL1997 Jan 25, 2023
dc40463
Remove idp server command for integ windows runner
RyanL1997 Jan 25, 2023
a304c2c
Change jwt auth testing output format
RyanL1997 Jan 25, 2023
5e4542b
Solving comments and try jwt output
RyanL1997 Jan 25, 2023
895c627
Try reusable action for security plugin downloads
RyanL1997 Jan 25, 2023
6ae66d6
Apply reusable action for integ test workflow
RyanL1997 Jan 26, 2023
91da046
rename setup action directory
RyanL1997 Jan 26, 2023
f49f3d6
Switch to new action with rename steps
RyanL1997 Jan 26, 2023
6100ab8
Remove comments
RyanL1997 Jan 26, 2023
c4f2472
Trim the install dashboards action
RyanL1997 Jan 26, 2023
3dbbe4d
Switch to build id 7028 for security plugin
RyanL1997 Jan 31, 2023
9da6a34
Refactor selenium driver setup
RyanL1997 Jan 31, 2023
0c95b14
Try gecko driver commit id and remove jdk in cypress
RyanL1997 Feb 1, 2023
677e6c1
Fix the osd-version naming and revert back
RyanL1997 Feb 1, 2023
6a6c6e2
Fix gecko branch and jdk 11 only
RyanL1997 Feb 1, 2023
e9fcee4
Switch back to 'latest' for distribution build version
RyanL1997 Feb 2, 2023
edfd2f0
Merge branch 'main' into windows-support-for-ci
RyanL1997 Feb 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Switch back to 'latest' for distribution build version
Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Feb 2, 2023
commit e9fcee46cae4e5d687645f2287759247425c5069
4 changes: 2 additions & 2 deletions .github/actions/download-plugin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ runs:
uses: peternied/download-file@v2
if: ${{ runner.os == 'Linux' }}
with:
url: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/${{ inputs.opensearch-version }}/7028/linux/x64/tar/builds/opensearch/plugins/${{ inputs.plugin-name }}-${{ inputs.plugin-version }}.zip
url: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/${{ inputs.opensearch-version }}/latest/linux/x64/tar/builds/opensearch/plugins/${{ inputs.plugin-name }}-${{ inputs.plugin-version }}.zip

- name: Download OpenSearch for Windows
uses: peternied/download-file@v2
if: ${{ runner.os == 'Windows' }}
with:
url: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/${{ inputs.opensearch-version }}/7028/windows/x64/zip/builds/opensearch/plugins/${{ inputs.plugin-name }}-${{ inputs.plugin-version }}.zip
url: https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/${{ inputs.opensearch-version }}/latest/windows/x64/zip/builds/opensearch/plugins/${{ inputs.plugin-name }}-${{ inputs.plugin-version }}.zip

- name: Rename the Plugin Files
run: mv opensearch-security-${{ inputs.plugin-version }}.zip opensearch-security.zip
Expand Down