Skip to content

Commit

Permalink
fix: portal-loop run master image (#2238)
Browse files Browse the repository at this point in the history
<!-- please provide a detailed description of the changes made in this
pull request. -->

<details><summary>Contributors' checklist...</summary>

- [ ] 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).
</details>
  • Loading branch information
albttx authored May 28, 2024
1 parent f1af1c4 commit 28111d9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions misc/loop/cmd/snapshotter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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,
},
Expand Down
2 changes: 1 addition & 1 deletion misc/loop/docker-compose.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions misc/loop/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ networks:

services:
traefik:
image: "traefik:v2.10"
image: "traefik:v2.11"
restart: unless-stopped
command:
- "--api.insecure=true"
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion misc/loop/traefik/gno.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ http:
gno-portal-loop:
loadBalancer:
servers:
- url: "http://172.42.0.5:26657"
- url: "http://172.42.0.2:26657"

0 comments on commit 28111d9

Please sign in to comment.