-
Notifications
You must be signed in to change notification settings - Fork 17
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
Fix failing Docker build #894
Conversation
#750 which I think solves #892 (comment) because it locks down to .meteor/release
CI is failing here since it's not building in the more controlled Dockerfile environment I need to update .travis.yml https://github.com/unee-t/frontend/blob/master/.travis.yml#L23 |
WIP, don't have time to work on it. |
It appears running tests in the docker environment is pretty tricky. |
depedencies https://techoverflow.net/2018/06/05/how-to-fix-puppetteer-error-while-loading-shared-libraries-libx11-xcb-so-1-cannot-open-shared-object-file-no-such-file-or-directory/ So strategy is to do CI in Travis, CD via Docker
This is actually not accurate AFAICT: when the tests are run on the node js 12 image built by Travis CI then the tests are passing: See https://travis-ci.org/unee-t/frontend/builds/647650880 for an example of this. There are indeed a few warnings flagged in the tests but apparently nothing fatal. One solution might be to: @kaihendry what do you think of this methodology? |
More information:See the latest build: https://travis-ci.org/unee-t/frontend/builds/647920287 |
https://travis-ci.org/unee-t/frontend/jobs/647935938?utm_medium=notification&utm_source=github_status has the same node_js as https://travis-ci.org/unee-t/frontend/builds/647650880 and it fails. |
More information:There was a similar looking issue here: laverdet/node-fibers#409. |
Spent too much time getting the proprietary travis env working here. I rather defer to #897 and use CodeBuild & focus on solely using the Dockerfile as the build env as before |
The should deploy via https://ap-southeast-1.console.aws.amazon.com/codesuite/codepipeline/pipelines/frontend/view?region=ap-southeast-1 But now the problem here is that the env in the code deploy was not updated since https://github.com/unee-t/frontend/blob/master/buildspec.yml#L36 only updates the image name, not the environment. The workaround I think is to do a manual |
Moving to a logic where the Docker image in seen as a separate entity from the rest of the code as described in Issue #895 might be worth considering to have a clean way of maintaining our codebase... |
Just ran a Changing a secret across the env amongst the frontend, backend and the all the lambdas presents a lot of challenges and it would take quite some work to automate. |
#750 which I think solves
#892 (comment)
because it locks down to .meteor/release