elesto-dao / elesto

The ElestoDAO node
Apache License 2.0
4 stars 1 forks source link

feat: add k3d local devnet scripts #205

Closed glebiller closed 1 year ago

glebiller commented 1 year ago

Add a set of kubernetes manifests to locally start a devnet containing:

For the moment it's using a manually deployed docker image of elestod on Google Container Registry. It would be good to switch to GitHub Container Registry as soon as we start deploying there :)

gsora commented 1 year ago

Can I test this in some way?

I think I need to be added to some user group:

 => ERROR [internal] load metadata for us-central1-docker.pkg.dev/elesto/elesto/elestod:2.0.0-rc2-readiness                                                                                                               1.4s
------
 > [internal] load metadata for us-central1-docker.pkg.dev/elesto/elesto/elestod:2.0.0-rc2-readiness:
------
failed to solve with frontend dockerfile.v0: failed to create LLB definition: failed to authorize: rpc error: code = Unknown desc = failed to fetch anonymous token: unexpected status: 403 Forbidden
glebiller commented 1 year ago

I commit the new version that uses the ghcr.io docker image instead of building & importing them in k3d. The only thing is that since we are still using private repositories, we still need to create a registries.yaml file that contains a GitHub PAT so k3d can download the containers.