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

(FM-6457) Fix Windows CI #200

Merged
merged 3 commits into from Nov 15, 2017
Merged

(FM-6457) Fix Windows CI #200

merged 3 commits into from Nov 15, 2017

Conversation

michaeltlombardi
Copy link
Contributor

These commits fix problems with CI for Windows.

Previously the acceptance tests installed JDK from the chocolatey package repo
and pinned the version to `8.0.144`; however, that package now fails to install
due to a 404 error in the download. This commit updates the version pin to
`8.0.152`, which is the latest stable release and which installs correctly.
The shell string in the it block of the pkcs12 acceptance tests does
not include escaped quoting around the path to `keytool` prior to
this commit. This causes a failure on windows because the path includes
a space. This commit wraps the path to keytool in escaped quotes to
resolve the issue.
@pmcmaw pmcmaw closed this Nov 15, 2017
@pmcmaw pmcmaw reopened this Nov 15, 2017
@pmcmaw
Copy link
Contributor

pmcmaw commented Nov 15, 2017

@michaeltlombardi just to let you know I closed and reopened your PR to enable Appveyor.

@michaeltlombardi michaeltlombardi changed the title (WIP) (FM-6457) Fix Windows CI (FM-6457) Fix Windows CI Nov 15, 2017
@michaeltlombardi
Copy link
Contributor Author

@pmcmaw: Looks like the Appveyor build is broken due to configuration?

@pmcmaw
Copy link
Contributor

pmcmaw commented Nov 15, 2017

@michaeltlombardi Ive rekicked it. I enabled it without the configuration, it should start looking better in a few mins

@michaeltlombardi
Copy link
Contributor Author

Awesome, thank you!

@pmcmaw
Copy link
Contributor

pmcmaw commented Nov 15, 2017

No problem thats it now :-)

@michaeltlombardi
Copy link
Contributor Author

Looks like the appveyor build is failing because it's trying to use nixy paths on Windows. :(

Prior to this commit, the unit tests for java_ks could never pass
on windows due to use of linux paths and commands hard-coded. This
commit adds a variable for the temp paths in both spec test files
and guards against running tests that rely on linux commands on a
windows machine.
@michaeltlombardi
Copy link
Contributor Author

@pmcmaw: All tests are green now. :)

@pmcmaw pmcmaw merged commit 066a529 into puppetlabs:master Nov 15, 2017
@hunner hunner added the bugfix label Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants