Skip to content

Add windows Kokoro test config#181

Merged
chingor13 merged 10 commits intogoogleapis:masterfrom
chingor13:kokoro-windows
Sep 11, 2018
Merged

Add windows Kokoro test config#181
chingor13 merged 10 commits intogoogleapis:masterfrom
chingor13:kokoro-windows

Conversation

@chingor13
Copy link
Copy Markdown
Contributor

@chingor13 chingor13 commented Aug 28, 2018

  • Adds Kokoro config for running on Java 8 on Windows
  • Fix the file path for the credential files tests (previously using unix / in file path)

@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 30, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 30, 2018
@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 31, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Aug 31, 2018
@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 4, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 4, 2018
Copy link
Copy Markdown
Contributor

@elharo elharo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chingor13
Copy link
Copy Markdown
Contributor Author

The windows build isn't showing up yet, so this isn't quite ready.

@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 10, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 10, 2018
@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 10, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 10, 2018
@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 10, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 10, 2018
@chingor13 chingor13 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 10, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Sep 10, 2018
@chingor13 chingor13 requested a review from a team September 10, 2018 21:38
TestDefaultCredentialsProvider testProvider = new TestDefaultCredentialsProvider();
String userPath = "/user.json";
File credentialFile = File.createTempFile("user", ".json");
credentialFile.deleteOnExit();

This comment was marked as spam.

This comment was marked as spam.

TestDefaultCredentialsProvider testProvider = new TestDefaultCredentialsProvider();
String serviceAccountPath = "/service_account.json";
File serviceAccountFile = File.createTempFile("service_account", ".json");
serviceAccountFile.deleteOnExit();

This comment was marked as spam.

UserCredentialsTest.writeUserStream(USER_CLIENT_ID, USER_CLIENT_SECRET, refreshTokenEnv);
String envPath = "/env.json";
File envFile = File.createTempFile("env", ".json");
envFile.deleteOnExit();

This comment was marked as spam.

The actual file is not necessary for the tests - we only need a valid
path for the OS.
@chingor13 chingor13 merged commit 3101a02 into googleapis:master Sep 11, 2018
@chingor13 chingor13 deleted the kokoro-windows branch September 11, 2018 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants