Skip to content
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

Use our own built images! #61

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 2 additions & 11 deletions .github/workflows/upgrade-gaia-v17-fresh-interchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,23 +89,14 @@ jobs:
with:
cache-dependency-path: |
interchaintests/go.sum
- name: Build docker images
run: |
curl -L https://github.com/strangelove-ventures/heighliner/releases/download/v${{env.HEIGHLINER_VERSION}}/heighliner_${{env.HEIGHLINER_VERSION}}_linux_amd64.tar.gz | tar -xz -C /usr/local/bin heighliner
heighliner build --git-ref ${{ matrix.gaia_version }} --chain gaia
heighliner build --git-ref ${{ matrix.upgrade_version }} --chain gaia
# Build ics images that are not available upstream
heighliner build --chain ics --git-ref v4.1.1
docker tag ics:v4.1.1 ghcr.io/strangelove-ventures/heighliner/ics:v4.1.1
heighliner build --chain ics --git-ref v4.2.0-lsm-rc0
docker tag ics:v4.2.0-lsm-rc0 ghcr.io/strangelove-ventures/heighliner/ics:v4.2.0
- name: Test ${{ matrix.test_name }}
env:
TEST_START_VERSION: ${{ matrix.gaia_version }}
TEST_UPGRADE_VERSION: ${{ matrix.upgrade_version }}
TEST_TARGET_VERSION: ${{ env.TARGET_VERSION }}
TEST_DOCKER_REPOSITORY: "gaia"
CONTAINER_LOG_TAIL: "150"
run: |
# Horrid hack. It's not in the strangelove repo, and I haven't implemented making it configurable for genesis-transform.
docker pull ghcr.io/hyphacoop/ics:v4.2.0 && docker tag ghcr.io/hyphacoop/ics:v4.2.0 ghcr.io/strangelove-ventures/heighliner/ics:v4.2.0 && docker tag ghcr.io/hyphacoop/ics:v4.2.0 ghcr.io/strangelove-ventures/heighliner/ics:v4.1.1
cd interchaintests
go test -failfast -p 1 -v -timeout 5h -run="^${{ matrix.test_name }}$" ./fresh/...
4 changes: 2 additions & 2 deletions interchaintests/configuredChains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ gaia:
gas-adjustment: 2.0
trusting-period: 504h
images:
- repository: ghcr.io/strangelove-ventures/heighliner/gaia
- repository: ghcr.io/hyphacoop/gaia
uid-gid: 1025:1025
no-host-mount: false

Expand Down Expand Up @@ -50,6 +50,6 @@ ics-consumer:
gas-adjustment: 2.0
trusting-period: 96h
images:
- repository: ghcr.io/strangelove-ventures/heighliner/ics
- repository: ghcr.io/hyphacoop/ics
uid-gid: 1025:1025
no-host-mount: false
2 changes: 1 addition & 1 deletion interchaintests/fresh/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type Config struct {
StartVersion string `envconfig:"START_VERSION" default:"v15.1.0"`
UpgradeVersion string `envconfig:"UPGRADE_VERSION" default:"main"`
TargetVersion string `envconfig:"TARGET_VERSION" default:"v16"`
DockerRepository string `envconfig:"DOCKER_REPOSITORY" default:"gaia"`
DockerRepository string `envconfig:"DOCKER_REPOSITORY" default:"ghcr.io/hyphacoop/gaia"`
}

type dockerContext struct {
Expand Down
Loading