Git Product home page Git Product logo

cypress-lambda's People

Contributors

stuartsan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cypress-lambda's Issues

xkb-compile.sh error

Hi,

Great tutorial - i'm for a week now trying to get Xvfb running on lambda.

I'm using your tutorial running a docker image, I've gotten to the point of I get the keyboard error related to the binary but when i run xkb-compile.sh command i get

/tmp/bin/xkb-compile.sh: line 10: warning: here-document at line 1 delimited by end-of-file (wanted `EOF')
: Protocol errorpile.sh: line 1: default.xkb

Any ideas?

Upgrade Cypress version

Hi!

Outstanding work with this integration, thanks a lot!

If I want to change Cypress version it is enough with changing all 3.1.5 references to the version you want?

Can't get this to work on Amazon Linux 2

Hi Stuart, I ❤️ this project!

Unfortunately I'm totally stuck and can't deploy ...

I was able to get it running using the lambci node 8.10 Docker. However I couldn't deploy it as only 10.x and 12.x are supported in AWS now.

In the update to 10.x, Amazon also made the lambda environment Amazon Linux 2, which comes with a lot less basic libraries installed: https://cloudbriefly.com/post/exploring-the-aws-lambda-execution-environment/

For example tar isn't installed, but I got round that easily using an npm package.

The problem I have is that when the script gets to the point of running Xvfb. There are lots of shared libraries missing.

I found a hacky way to get round a lot of these using the approach documented here: https://aws.amazon.com/premiumsupport/knowledge-center/lambda-linux-binary-package/

Unfortunately I'm now totally stuck on the following error:
./Xvfb: error while loading shared libraries: libsystemd.so.0: cannot open shared object file: No such file or directory

I tried to use the same approach as above with the library systemd.x86_64, but it seems to have a different structure to the other libraries and doesn't work.

Have you tried to update to Amazon Linux 2 with more success than me? Am I missing something obvious? I'm quite a n00b when it comes to this type of script, I guess a lot of this could be done directly in your normal setup script instead of the manual download I was doing?

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.