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

Set up CI with Azure Pipelines #477

Merged
merged 1 commit into from
Apr 8, 2020
Merged

Set up CI with Azure Pipelines #477

merged 1 commit into from
Apr 8, 2020

Conversation

nxtn
Copy link
Contributor

@nxtn nxtn commented Apr 3, 2020

The workflows are described on the Wiki page. It's internal right now, but it's unlikely that it needs to be public at all.

How do you use the .snk file in CI?

Contributes to #493

@nxtn nxtn added the build-flow label Apr 3, 2020
@nxtn nxtn added this to the 2.x milestone Apr 3, 2020
@nxtn nxtn requested a review from oleg-nenashev as a code owner April 3, 2020 01:16
@oleg-nenashev
Copy link
Member

How do you use the .snk file in CI?

It is pretty much unused except codesigning of the binaries. Well, at least it used to be so in previous build flow versions.

<AssemblyOriginatorKeyFile>$(MSBuildThisFileDirectory)winsw_key.snk</AssemblyOriginatorKeyFile>

@nxtn
Copy link
Contributor Author

nxtn commented Apr 6, 2020

It is pretty much unused except codesigning of the binaries.

Are the binaries signed in the winsw-release build?

@oleg-nenashev
Copy link
Member

Are the binaries signed in the winsw-release build?

No. Everything should happen in the common build flow. Release flow uses the same appveyor.yml, except the versioning scheme and deployment targets

@nxtn
Copy link
Contributor Author

nxtn commented Apr 6, 2020

Then when do you sign the binaries with the real signing key? Automatically or manually?

@oleg-nenashev
Copy link
Member

There is no signing with a real key at the moment, stub signing has been in place since 2013 or so. My personal signing key cannot be deployed on the release environment, and cutting releases from a local setup was a no-go option so far. Indeed it should change.

IIRC it was even documented at some point, but I cannot find a trace of it now. Will create a new ticket

@nxtn
Copy link
Contributor Author

nxtn commented Apr 6, 2020

Oh I see. Every release artifact has a different public key! It's worse than none. #435

@oleg-nenashev
Copy link
Member

Hard to argue. I do not remember a reason why I opted to this approach at that time, but changing it is a right thing to do. Will cut 2.7.0 as is, and then we can tweak the flow for further releases

@@ -1,39 +0,0 @@
# WinSW Developer Information
Copy link
Member

Choose a reason for hiding this comment

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

Could we revert it for now and add a disclaimer that the process is subject to change? Then we can merge it and add patches on the top of it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't understand why we put this file in the repo. It's internal for maintainers. External contributors should look into CONTRIBUTING.md.

Copy link
Member

Choose a reason for hiding this comment

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

I am fine to rename it to MAINTAINERS.md and move to docs. Will do as a separate PR

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

I will merge the pull request and configure the Pipeline

@oleg-nenashev oleg-nenashev merged commit bed7b68 into winsw:master Apr 8, 2020
@nxtn nxtn deleted the pipelines branch April 8, 2020 07:37
@oleg-nenashev
Copy link
Member

One of the tests failed on Azure DevOps: https://dev.azure.com/winsw/winsw/_build/results?buildId=2&view=logs&j=72b59a5c-f9fa-5437-adfc-3f855724a45f&t=706f6d43-7b36-5d52-2781-608600615bec . I will investigate it later today (after 7PM UTC) or tomorrow. Feel free to tweak the build Pipeline as needed, without waiting for my reviews

@nxtn
Copy link
Contributor Author

nxtn commented Apr 8, 2020

Feel free to tweak the build Pipeline as needed, without waiting for my reviews

That's a false proposition. I have to wait for your reviews to merge PRs.

@oleg-nenashev
Copy link
Member

Oh, right. You do not have admin access in the repo. I can get it fixed

@nxtn
Copy link
Contributor Author

nxtn commented Apr 8, 2020

You do not have admin access in the repo.

It's not a problem of the access.. It's the code owners.

@oleg-nenashev
Copy link
Member

Admins can override the branch protection rules if needed. Anyway, I relaxed the branch protection for now so that you are not blocked @NextTurn

@nxtn
Copy link
Contributor Author

nxtn commented Apr 8, 2020

Admins can override the branch protection rules if needed.

I'm not familiar with the user rules on GitHub. That's all for me:

image

@nxtn nxtn modified the milestones: 2.Next, 2.8.0 Apr 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants