-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add Windows platform for dcp-cli CI #260
Comments
Some notes:
|
Notes 3/25/19 : 8:34 AMCompleteadded sections to make file for windows build In Progresssecrets fetching mechanism TODOrun tests via make Awaitingterraform resources; add runner to cli |
Notes 3/26/19 : 10:07 AMdocker within windows defaults to looking at the hyper-v subnet for AWS Metadata Server, have to adjust this for each docker instance created. Completeec2 + gitlab runner + docker working In ProgressUpdating gitlab to get allspark -> ec2 windows runner communication, Edi** unable to get runner/docker volume setup correctly, moving to shell testing TODO
Awaitingupdate to allspark |
Notes 3/27/19 : 7:46 AMCompleteWindows Testing is present for jobs with tag "windows" in dcp-cli, runner is not globally configured. Unable to configure docker executor per issue with gitlab runner volume configuration, attempted manual overrides within config.toml file for gitlab for volumes (cache / build) with no success, appears that `/build/HumanCellAtlas' is being passed into docker by Allspark, this may change with future fixes to gitlab, the Windows Runner is a new feature (~1 month) Shell Executor was used instead for just the windows portion; at a later time this should be changed to using docker containers. Ensure To use In ProgressTODOTerraforming + building out docker image for current setup of the ec2 container. Awaiting |
I'll follow up on one point here (there are several other issues with this line of work, but I'll discuss them separately):
The DCP CLI CI tests that are required to pass to merge code into this repo are and should remain on Travis CI (publicly accessible on github). The only time tests should run on our private GitLab is when they require access to our infrastructure or run for a very long time (longer than Travis CI supports). |
Thanks for the clear definition/distinction of the roles of Travis CI and GitLab CI currently and going forward. This is more specific guidance than I had received from other team members when selecting the approach to Windows CI early on. It would have been helpful to have this information sooner. I have added the information above to the GitLab RunBook, please let me know if there is a better location for this information. Travis CI relatively recently added early/limited support for Windows builds, we will look into using that. It currently does have a number of limitations, and Python is not yet an officially supported language, yet it looks like there may be enough functionality and documentation available to meet the current https://docs.travis-ci.com/user/reference/windows/ |
Notes 4/3/19 : 9:58 AMCompleteRefactored Travis YML to create more organized structure In ProgressNA TODONeed to talk to @mikebaumann about where to drive this, potentially sticking with gitlab for 'windows features' |
Some tests are being skipped in Windows and need to be refactored accordingly, see #350 |
@kozbo commented on Wed Feb 27 2019
User story
As a user of the HCS DSS CLI, I want the CLI to work correctly/reliably when run on Windows platforms
This is being done now in support of the concurrent work to 1) enable paths in bundle file names, and 2) improve dcp-cli download performance/efficiency, including through the use of hard links, etc.
Definition of done
DCP CLI unit tests are automatically and successfully run on Windows, in addition to the existing Linux test platform, as part of continuous integration
@mikebaumann commented on Thu Feb 28 2019
The current plan consists of the following:
The text was updated successfully, but these errors were encountered: