hey <@U12AGS8JG>, I would like to create a domain ...
# kotest-contributors
a
hey @sam, I would like to create a domain name for the Gradle Build Cache node, and an SSL cert. @Emil Kantis is very generously providing a server, and I'm configuring it, but the DNS needs configuring, and I understand you have access? I've set up a proxy on the server (using Traefik), so I think all that's needed is: 1. Update the DNS to so that the domain
<http://gradle-build-cache.kotest.io|gradle-build-cache.kotest.io>
points to the server IP
5.161.201.26
(I am not sure what sort of record is appropriate idea - help please!) 2. Configure the DNS challenge for LetsEncrypt. It looks like kotest.io is using NameCheap? In which case a user and pass is needed. If you share your ssh public key I can add you to the server, and you can paste the user/pass into a file.
e
kinda sucks that we need to put user and pass for namecheap 😕 I think it should be possible to move DNS to another provider while keeping Namecheap as domain registrar
I suggest we do that, anyway.. I think cloudflare provides DNS for free, and we can create access tokens there which can be used instead
a
that would also be good 👍
s
I'm afk today but can do this tomorrow.
👍 1
A record setup on the dns
as for the challenge, I've enabled api access but
Copy code
Now that your API access has been enabled, you need to whitelist at least one IP before your API access will begin to work. Please whitelist one or more IPs below.
e
I think Adam setup the letsencrypt bot on the server, so should be that ip I guess
a
cool!
and yes, IP address of the server makes sense
@sam Once you've set up the credentials, could you send them to me or @Emil Kantis? Then we can configure the build server's SSL cert. Thanks!
I've set up the necessary config on the server using Docker secrets. It's ready to go as soon as the API user/pass are set into these files: •
/home/runner/projects/traefik/auth/.secret.namecheap_api_key.txt
/home/runner/projects/traefik/auth/.secret.namecheap_api_user.txt
@sam do you want to add the user/pass to the files yourself, or send them to me or @Emil Kantis and then we can do it?
For now I've set up a free domain using duckdns.org. We can update it to use the kotest.io domain in the future The PR is ready for review! https://github.com/kotest/kotest/pull/4141