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

[sync Webclient] Production deployed with build compiled from some hidden place but not from this repository #129

Closed
vladimiry opened this issue Dec 21, 2018 · 24 comments
Labels

Comments

@vladimiry
Copy link

Deployed production version: 3.15.7
Repository version: 3.15.5

So the project is open-source, but production deployed from some hidden repository.

Expected behavior

  • Deployed to production build always matches the code in this repository.
  • In along with deploying, CI job creates the respective tag or release in this repository. So it's clear which exact commit is deployed.
  • An option to verify that deployed to production version has been built from the code in this repository. Ideally linked to this repository CI server does all the job of building and deploying, so anyone concerned could review the CI logs.

To Reproduce

deployed-from-private-repository

@ArcanisCz
Copy link

In open source project, especially security related ones, builds should really be reproducible. Not only matching versions, but file (and libraries) hashes too.

@dhoko
Copy link
Collaborator

dhoko commented Jan 3, 2019

100% agree, it's a wip :)
We must provide checksums, way to install the same config, dist sources etc.

@ArcanisCz
Copy link

awesome :)

@vladimiry
Copy link
Author

By the way, it happens again. Production got deployed with possibly shady build again. Shady means deployed with build taken from some hidden place, but not from this repository.

Deployed production version: 3.15.14
Repository version: 3.15.13

again

@dhoko
Copy link
Collaborator

dhoko commented Jan 24, 2019

Oups :/ It's fixed now

@dhoko dhoko closed this as completed Feb 22, 2019
@dhoko dhoko reopened this Feb 22, 2019
@dhoko dhoko changed the title Production deployed with build compiled from some hidden place but not from this repository [sync Webclient] Production deployed with build compiled from some hidden place but not from this repository Feb 22, 2019
@vladimiry
Copy link
Author

Here we are again:

proton

@dhoko
Copy link
Collaborator

dhoko commented Mar 27, 2019

My bad, I forgot to sync. :/

@vladimiry
Copy link
Author

Thanks.

It's unrelated, but https://beta.protonmail.com/ is not loading with integrity checking errors in dev console.

@dhoko
Copy link
Collaborator

dhoko commented Mar 28, 2019

@vladimiry there was an issue with the build on beta :/ cf #148

@vladimiry
Copy link
Author

git: 3.15.27
live: 3.15.29
live-vs-git-versions

@dhoko
Copy link
Collaborator

dhoko commented Apr 29, 2019

voilà ;)

@vladimiry
Copy link
Author

Friendly reminding (need to update ElectronMail before new release).
version

@dhoko
Copy link
Collaborator

dhoko commented May 22, 2019

Voilà, sorry we needed to debug something 😁

@vladimiry
Copy link
Author

3.16.3 has not been published here.

@vladimiry
Copy link
Author

ping

@vladimiry
Copy link
Author

ping (7 days source code publishing lag)

@vladimiry
Copy link
Author

ping (8 days source code publishing lag)

@EpokK
Copy link
Collaborator

EpokK commented Aug 7, 2019

@vladimiry done.

@vladimiry
Copy link
Author

vladimiry commented Aug 7, 2019

Thanks. Any progress in automating the code publishing process or even better deploying from the public repo? As a temporary supporting solution, I guess an automated notification triggered by new release event could be set up. This notification would inform the concerned parties that the code needs to be published here.

@EpokK
Copy link
Collaborator

EpokK commented Aug 7, 2019

We are currently refactoring Proton web-apps in React for version 4, all repo are currently public and available there. Our attention is more on the new version than the old Angular repo. For next release on that one, we will add attention to sync repos properly.

@vladimiry
Copy link
Author

vladimiry commented Mar 9, 2020

beta 11 is not shared yet but deployed.

Besides I guess proton-mail-settings + proton-contacts + proton-calendar should be published too as they supposed to use updated proton-shared project.

Please don't miss syncing package lock files.

@vladimiry
Copy link
Author

v4.0.0-beta13 is live now but not published here yet. Please also publish all the related projects if they have been updated, and lock files too.

@vladimiry
Copy link
Author

@dhoko do I get it right that the DKIM-related issue detected in beta 16 was somewhere in backend side and that's why I see no changes in client repositories after beta 16 got re-deployed today? Asking since I'm trying to realize if I need to rebuild the WebClient/proton-mail-settings/proton-contacts/proton-calendar event though there was no code update nor in the lock files.

@dhoko
Copy link
Collaborator

dhoko commented Jun 18, 2020

@vladimiry Yep, we switched back the beta to go back to the 15. The fix is now available on the API side, that's why we deployed the beta 16 again (it's the same bundle we built the first time).

No need to rebuild the beta 16, if you did it a few days ago. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants