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

ci: windows unit test #1

Merged
merged 4 commits into from
Oct 21, 2020
Merged

ci: windows unit test #1

merged 4 commits into from
Oct 21, 2020

Conversation

zepatrik
Copy link

So this should add the circleci windows test, but the problem is that the windows executor comes with go1.12 but we need at least go1.14. See this https://app.circleci.com/pipelines/github/ory/oathkeeper/678/workflows/5c2a87cc-24b7-4585-94e9-c521dce0619d/jobs/6815

Do you have an idea how to upgrade that version? I just tried installing go using the official installer on a local windows VM. I could not get it working using Start-Process msiexec.exe -Wait -ArgumentList '/I E:\go1.15.3.windows-amd64.msi /qn', although it did do something. I was inspired by this blog post: https://powershellexplained.com/2016-10-21-powershell-installing-msi-files/

Maybe you know how to fix that? You can push on my branch and it should run in CCI.

@zepatrik
Copy link
Author

Ok nevermind CCI, I moved it to a github workflow as that windows image has go1.14 preinstalled

@zepatrik
Copy link
Author

zepatrik commented Oct 20, 2020

There seem to be errors though: https://github.com/ory/oathkeeper/runs/1280179879

@aeneasr
Copy link

aeneasr commented Oct 20, 2020

@PatrLind the error happens because:

time=2020-10-20T09:47:33Z level=fatal msg=Unable to parse url: file://C:\Users\RUNNER~1\AppData\Local\Temp\d8466344-92a3-4bf1-9c2e-8dcb651bd09a963559823/access-rules.json audience=application error=map[message:parse "file://C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\d8466344-92a3-4bf1-9c2e-8dcb651bd09a963559823/access-rules.json": invalid port ":\\Users\\RUNNER~1\\AppData\\Local\\Temp\\d8466344-92a3-4bf1-9c2e-8dcb651bd09a963559823" after host] service_name= service_version=

@PatrLind PatrLind merged commit ec676bf into PatrLind:master Oct 21, 2020
@zepatrik zepatrik deleted the windows-ci-test branch October 21, 2020 07:29
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.

3 participants