From 65f8b68df4a9e4ba91f61fcf058d1ae104c56a6d Mon Sep 17 00:00:00 2001 From: Albert Le Batteux Date: Tue, 28 May 2024 22:52:42 +0100 Subject: [PATCH] fix: portal-loop run master image (#2238)
Contributors' checklist... - [ ] Added new tests, or not needed, or not feasible - [ ] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [ ] Updated the official documentation or not needed - [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [ ] Added references to related issues and PRs - [ ] Provided any useful hints for running manual tests - [ ] Added new benchmarks to [generated graphs](https://gnoland.github.io/benchmarks), if any. More info [here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
--- misc/loop/cmd/snapshotter.go | 4 ++-- misc/loop/docker-compose.production.yml | 2 +- misc/loop/docker-compose.yml | 4 ++-- misc/loop/traefik/gno.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/misc/loop/cmd/snapshotter.go b/misc/loop/cmd/snapshotter.go index ea58f93ed7d..1a7313277f4 100644 --- a/misc/loop/cmd/snapshotter.go +++ b/misc/loop/cmd/snapshotter.go @@ -71,7 +71,7 @@ func NewSnapshotter(dockerClient *client.Client, cfg config) (*snapshotter, erro // pullLatestImage get latest version of the docker image func (s snapshotter) pullLatestImage(ctx context.Context) (bool, error) { - reader, err := s.dockerClient.ImagePull(ctx, "ghcr.io/gnolang/gno/gnoland", types.ImagePullOptions{}) + reader, err := s.dockerClient.ImagePull(ctx, "ghcr.io/gnolang/gno/gnoland:master", types.ImagePullOptions{}) if err != nil { return false, err } @@ -139,7 +139,7 @@ func (s snapshotter) startPortalLoopContainer(ctx context.Context) (*types.Conta // Run Docker container container, err := s.dockerClient.ContainerCreate(ctx, &container.Config{ - Image: "ghcr.io/gnolang/gno/gnoland", + Image: "ghcr.io/gnolang/gno/gnoland:master", Labels: map[string]string{ "the-portal-loop": s.containerName, }, diff --git a/misc/loop/docker-compose.production.yml b/misc/loop/docker-compose.production.yml index 4b0a316cb5a..c684ef3be97 100644 --- a/misc/loop/docker-compose.production.yml +++ b/misc/loop/docker-compose.production.yml @@ -44,7 +44,7 @@ services: - ./traefik/letsencrypt:/letsencrypt gnoweb: - image: ghcr.io/gnolang/gno/gnoweb-slim + image: ghcr.io/gnolang/gno/gnoweb:master restart: unless-stopped env_file: ".env" entrypoint: diff --git a/misc/loop/docker-compose.yml b/misc/loop/docker-compose.yml index 1475b6699fe..eba0f55e787 100644 --- a/misc/loop/docker-compose.yml +++ b/misc/loop/docker-compose.yml @@ -11,7 +11,7 @@ networks: services: traefik: - image: "traefik:v2.10" + image: "traefik:v2.11" restart: unless-stopped command: - "--api.insecure=true" @@ -31,7 +31,7 @@ services: - ./traefik:/etc/traefik/configs gnoweb: - image: ghcr.io/gnolang/gno/gnoweb-slim + image: ghcr.io/gnolang/gno/gnoweb:master restart: unless-stopped networks: - portal-loop diff --git a/misc/loop/traefik/gno.yml b/misc/loop/traefik/gno.yml index 59ed91bf62c..7e65930889d 100644 --- a/misc/loop/traefik/gno.yml +++ b/misc/loop/traefik/gno.yml @@ -26,4 +26,4 @@ http: gno-portal-loop: loadBalancer: servers: - - url: "http://172.42.0.5:26657" + - url: "http://172.42.0.2:26657"