Skip to content

Commit

Permalink
Fixed relayer version (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
volovyks authored Nov 10, 2023
1 parent ce229a1 commit 920853c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Pull Relayer & Sandbox Docker Images
run: |
docker pull ghcr.io/near/os-relayer
docker pull ghcr.io/near/os-relayer:12ba6e35690df3979fce0b36a41d0ca0db9c0ab4
docker pull ghcr.io/near/sandbox
- name: Build OIDC Provider Dcoker Image
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/multichain-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

- name: Pull Relayer & Sandbox Docker Images
run: |
docker pull ghcr.io/near/pagoda-relayer-rs-fastauth
docker pull ghcr.io/near/os-relayer:12ba6e35690df3979fce0b36a41d0ca0db9c0ab4
docker pull ghcr.io/near/sandbox
- name: Set up Docker Buildx
Expand Down
31 changes: 17 additions & 14 deletions integration-tests/src/env/containers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,20 +351,23 @@ impl<'a> Relayer<'a> {
format!("{relayer_configs_path}/{config_file_name}"),
)?;

let image = GenericImage::new("ghcr.io/near/os-relayer", "latest")
.with_wait_for(WaitFor::message_on_stdout("listening on"))
.with_exposed_port(Self::CONTAINER_PORT)
.with_volume(
config_absolute_path,
format!("/relayer-app/{}", config_file_name),
)
.with_volume(
keys_absolute_path
.to_str()
.expect("Failed to convert keys path to string"),
"/relayer-app/account_keys",
)
.with_env_var("RUST_LOG", "DEBUG");
let image = GenericImage::new(
"ghcr.io/near/os-relayer",
"12ba6e35690df3979fce0b36a41d0ca0db9c0ab4",
)
.with_wait_for(WaitFor::message_on_stdout("listening on"))
.with_exposed_port(Self::CONTAINER_PORT)
.with_volume(
config_absolute_path,
format!("/relayer-app/{}", config_file_name),
)
.with_volume(
keys_absolute_path
.to_str()
.expect("Failed to convert keys path to string"),
"/relayer-app/account_keys",
)
.with_env_var("RUST_LOG", "DEBUG");

let image: RunnableImage<GenericImage> = image.into();
let image = image.with_network(network);
Expand Down

0 comments on commit 920853c

Please sign in to comment.