-
Notifications
You must be signed in to change notification settings - Fork 34
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
client: Added a Dockerimage #238
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be a CI job that pushes this image to paritytech/faucet-ui
with the same tags as the backend.
Migrate the site to run in SvelteKit instead of plain Svelte. This will allow us to run as a Docker image required by #238 Almost all of the code remains the same, the biggest difference is the new location of files (as SvelteKit requires particular directories) or the modification of config files (that were replaced by the new configs). Another small change is that public variables now need the `PUBLIC_` prefix instead of the `VITE_` prefix, so we also had to change that value in the CI.
1c5a8de
to
fac0382
Compare
This action tests if the image is being built correctly
fac0382
to
00301a6
Compare
Hi @PierreBesson! I added the logic to build the image and publish it in Could you please review that file and let me know if it is as intended? I'm afraid my knowledge of gitlab's deployment script is not very broad |
822d7f8
to
5bd2d8e
Compare
It was building the root one when it had to build the one in the client
5bd2d8e
to
44467db
Compare
Too many files changed. I need this to be reviewed again
This way the final image occupies less space
9650a7e
to
4712f4f
Compare
Should we update |
Yes, this make sense. I'll add the commit for that. |
Thank you for your help! |
Added a docker image for the client, in the case that we want to deploy the site to any other platform aside from GitHub Pages