mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[GH-ISSUE #308] Turn off Redundant CI systems #248
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#248
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AdrianKoshka on GitHub (May 16, 2019).
Original GitHub issue: https://github.com/debauchee/barrier/issues/308
Originally assigned to: @walker0643, @AdrianKoshka on GitHub.
Now that Azure Pipelines has finally been integrated (#303), Travis and Appveyor will need to be sunset eventually. (pinging @nelsonjchen)
@nelsonjchen commented on GitHub (May 17, 2019):
I don't think @TafThorne got an answer from @walker0643 on what was needed to be protected in the AppVeyor config.
https://github.com/debauchee/barrier/pull/250#issuecomment-461734948
Is it like credentials to upload to a server, an S3 bucket, downloading a private mirror of QT, or ??? I can investigate what needs to be done to emulate whatever that activity or protect the secrets of that activity.
@nelsonjchen commented on GitHub (May 17, 2019):
I think I know what was protected. It's just a guess, but I think @walker0643 was thinking of protecting the secure variable that was supposed to be the RDP password for logging in and debugging stuff. It was probably setup according to these instructions:
https://www.appveyor.com/docs/how-to/rdp-to-build-worker/
If you don't set that environment variable, the RDP enabling script will randomly generate a password and print that out to the STDOUT and to the Appveyor log.
We're already moving to Azure Pipelines but if that environment variable was removed and it printed out the temporary password, it wouldn't have been a big deal:
This was from the junk PR that was created when we asked @walker0643 to install Azure Pipelines in the repo/organization. I noticed it was ✔️ ! What?! I didn't think much of it but then I took a look at the log:
https://ci.appveyor.com/project/walker0643/barrier/builds/24565416
Another thing protected was probably whatever the URL was for hosting that Bonjour SDK. If that was leaked, that would be dirty, but it wouldn't be bad.
Since Appveyor blocked builds for PRs, I could never guess what were the actual directives configured in Appveyor until that mysterious ✔️ showed up. But from the PR, I can see the build fails anyway so it still needed some TLC.
That said, I don't think we're missing anything from the Appveyor build. RDP isn't available on Azure Pipelines (though I haven't tried reverse tunneling in for giggles yet), the Bonjour SDK has been replaced with a free software build, and the build works.
@TafThorne commented on GitHub (May 17, 2019):
Do we get a usable installer at the end of the pipeline now? I have not looked which is a bit lazey of me.
@nelsonjchen commented on GitHub (May 17, 2019):
I haven't tried the Windows installer yet too. I'm lazy too.
Oh, I also discovered that artifacts are not downloadable by users in the Azure Pipelines organization. I thought that blue button I mentioned in #303 would appear publicly but I guess not:
https://dev.azure.com/debauchee/Barrier/_build/results?buildId=3
@AdrianKoshka commented on GitHub (May 17, 2019):
I can download the artifacts (Tested this by downloading the release installer).
@nelsonjchen commented on GitHub (May 17, 2019):
Weird! The button appears for me now!
@AdrianKoshka commented on GitHub (May 17, 2019):
new PRs will be built with AP, correct? So hypothetically someone could make a PR, and then we could link a release-installer in a comment on the PR? (Possibly automate that with a github action). I know it's unrelated, but I thought I'd ask while this issue is open.
@nelsonjchen commented on GitHub (May 17, 2019):
New PRs would be build with AP. You can link the artifact download in comments though it appears to be one of those
onClick()links so you'll have to download and then go into your browser's history to get the URL.I'll have to investigate what other projects do. I haven't really seen linking. I think people just go into the build check details and download the artifacts. That said, there is a "Deployed" event that can be put onto a PR. Heroku uses it to great effect for pull-request deploys but I have never seen it used outside of that or for desktop software yet.
@AdrianKoshka commented on GitHub (May 17, 2019):
Right, fair enough.
@AdrianKoshka commented on GitHub (May 17, 2019):
I know there's a windows release installer created, but is there also a macOS release installer created?
@nelsonjchen commented on GitHub (May 17, 2019):
I haven't looked into that hard yet. It's built, but I'm not sure what the generated artifacts are or if there is a script making a DMG or ZIP like Window's
build_installer.bat.@AdrianKoshka commented on GitHub (May 17, 2019):
Understandable, and I don't think there is. @p12tic might be able to help with that.
@AdrianKoshka commented on GitHub (May 17, 2019):
I think there also might be an issue that detailed how to build on macOS and get a
.dmg, could be wrong.@noisyshape commented on GitHub (May 18, 2019):
I don't know about AP, but building on Mac is simple once you have dependencies set up:
build/bundle should then have Barrier.app which can be opened without installing and Barrier-2.2.0-Release.dmg.
@nelsonjchen commented on GitHub (May 18, 2019):
Cool, thanks for sharing. We'll also need to see how we can pin the Mac
dependencies down. Can't have that free floating!
On Fri, May 17, 2019, 7:44 PM noisyshape notifications@github.com wrote:
@walker0643 commented on GitHub (May 18, 2019):
Once you guys are sure that our new Azure solution is a complete replacement for both Travis and AV please @ highlight me and I’ll turn them off.
@AdrianKoshka commented on GitHub (May 26, 2019):
#320 should put us one step closer to this goal.
@AdrianKoshka commented on GitHub (May 30, 2019):
I noticed we don't have a downloadable "linux" installer artefact, I feel like this might not matter though? Flathub provides build artefacts. See: https://github.com/flathub/com.github.debauchee.barrier/pull/2. What does everyone else feel?
@nelsonjchen commented on GitHub (May 30, 2019):
I don't have much experience with Linux packaging nor any experience with modern Linux Desktop packaging. I did notice that VS Code and PyCharm, in addition to tarballs, are being officially distributed as Snaps from their download page which was pretty interesting.
@AdrianKoshka commented on GitHub (May 30, 2019):
Tarballs would be acceptable in my opinion for the type of people I expect to download build artefacts (though, perhaps that's naive). I don't have much experience either, it's why I went with flatpak, which I was familiar with.
Hrmm
@AdrianKoshka commented on GitHub (Jul 25, 2019):
@walker0643 At this point, I think it's safe to shutdown/remove appveyor and travis.
@walker0643 commented on GitHub (Aug 9, 2019):
Done