stuartsan / cypress-lambda Goto Github PK
View Code? Open in Web Editor NEWDemo: running Cypress on AWS Lambda for maximally parallel e2e tests
Demo: running Cypress on AWS Lambda for maximally parallel e2e tests
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?
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?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.