Giter Site home page Giter Site logo

Comments (14)

dweremeichik avatar dweremeichik commented on September 16, 2024 1

@GrayW I don't have a Mac, so my help may be a bit slow/limited here. That bit about the cert path seems familiar. Take a look at the before install portion of the travis.yml file. [Edit] I see that you already have.

from nylas-mail.

GrayW avatar GrayW commented on September 16, 2024

Hey @dweremeichik - CI is something I've been meaning to learn about, so I'm willing to try and help here. Unfortunately, I have no prior experience.

The Slack invitation link has expired, otherwise I would have jumped in and asked in there. Feel free to send an invite if you'd like me to get in the way here :).

from nylas-mail.

dweremeichik avatar dweremeichik commented on September 16, 2024

@GrayW We are working on fixing the slack invites. I can invite you directly, but need an email address to do so. Also, I need to update this issue, we are looking at killing code signing for now, so that we can get the travis builds working. If you are interested in getting it to work with the code signing, that would be a very welcome addition.

from nylas-mail.

GrayW avatar GrayW commented on September 16, 2024

@dweremeichik I'll give it a bash and see what I can break.

from nylas-mail.

dweremeichik avatar dweremeichik commented on September 16, 2024

@GrayW Invited to slack.

from nylas-mail.

GrayW avatar GrayW commented on September 16, 2024

Currently learning about the process and working on a test solution with temporary cert files for signing.
Will update this issue as soon as/if I can get the build to pass with SIGN_BUILD=true

from nylas-mail.

tsikerdekis avatar tsikerdekis commented on September 16, 2024

Does this commit fix the build issue with travis? ce5f3ba

from nylas-mail.

dweremeichik avatar dweremeichik commented on September 16, 2024

It is an attempt to, yes. For some reason the Mac build fails when trying to install "better-sqlite3". Also, If what I have seen is correct, the Travis builds might be pointless.... I don't think there is anything set up to run the tests. I think Nylas was just using it to build executables.

from nylas-mail.

dweremeichik avatar dweremeichik commented on September 16, 2024

It seems like this travis file: nylas-mail/packages/client-app/.travis.yml should do what we want (I think).

from nylas-mail.

tsikerdekis avatar tsikerdekis commented on September 16, 2024

Yes the mac os x generates a missing codesign value. It says we can use --force to ignore the warnings. I am not sure where to place that however in the travis.yml
Building executables is good but then again travis supports as it is os x and linux builds. Can we also build windows on it.

from nylas-mail.

dweremeichik avatar dweremeichik commented on September 16, 2024

You can set an environment variable to disable codesigning in the .travis.yml. SIGN_BUILD=false. Windows is done through appVeyor. We need to get an email address for the ORG set up for that.

from nylas-mail.

GrayW avatar GrayW commented on September 16, 2024

Thanks @dweremeichik I'll take a closer look at that one this afternoon when I get home.

from nylas-mail.

GrayW avatar GrayW commented on September 16, 2024

Had been working on this as a temporary solution: grayw / ci-fix / travis which looked like it was going to work until it hit one of the tasks I hadn't spotted.
It then kicked up an error about the missing keyPassword, so I'm probably heading in the wrong direction with this temporary fix, should work towards making the current tasks work again rather than finding work-arounds.

Possible new todos:

  • Remove env variables that I created
  • Create new environment variable APPLE_CODESIGN_KEY_PASSWORD with p12 password
  • Update cert names in mac keychain task ( @dweremeichik might need to look in to Apple Developer Team registration if it can't use self signed - still testing )
  • Create encrypted tar file of certs: packages/client-private-plugins/encrypted_certificates/travis/travis-files.tar.enc
  • Restore previous version of travis.yml in nylas-mail/
  • Update encryption key and iv in travis.yml

from nylas-mail.

GrayW avatar GrayW commented on September 16, 2024

Travis builds with code signing enabled:

Not perfect and still a couple of tweaks needed as mentioned in the slack channel. The most important of which is encrypting the certs. This shouldn't pose much of an issue though. I'll make those changes tomorrow morning.

from nylas-mail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.