Skip to content

Commit

Permalink
Update hopli (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
ausias-armesto authored Apr 15, 2024
1 parent 67507d6 commit d3352ec
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 23 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hoprd_operator"
version = "0.2.9"
version = "0.2.10"
authors = ["HOPR Association <[email protected]>"]
edition = "2021"

Expand Down
4 changes: 2 additions & 2 deletions charts/hoprd-operator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

apiVersion: v2
name: hoprd-operator
version: 0.2.6
appVersion: 0.2.8
version: 0.2.7
appVersion: 0.2.10
description: A Helm chart operator for managing Hopr nodes
type: application
icon: "https://hoprnet.org/assets/icons/logo.svg"
6 changes: 3 additions & 3 deletions src/cluster/cluster_hoprd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ impl ClusterHoprd {
context_data.send_event(self, ClusterHoprdEventEnum::Failed, None).await;
self.update_status(context_data.clone(), ClusterHoprdPhaseEnum::Failed).await?;
} else {
if self.needs_deployment_modification(previous_cluster_hoprd) {
self.appply_modification(context_data.clone()).await?;
}
//if self.needs_deployment_modification(previous_cluster_hoprd) {
self.appply_modification(context_data.clone()).await?;
//}
self.check_needs_rescale(context_data.clone()).await?;
info!("ClusterHoprd {cluster_hoprd_name} in namespace {hoprd_namespace} has been successfully modified");
}
Expand Down
2 changes: 1 addition & 1 deletion src/identity_pool/identity_pool_cronjob_faucet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub async fn create_cron_job(context_data: Arc<ContextData>, identity_pool: &Ide
async fn build_args_line(identity_pool: &IdentityPool) -> Option<Vec<String>> {
let native_amount: String =identity_pool.spec.funding.clone().unwrap().native_amount.to_string();
let network: String = identity_pool.spec.network.to_owned();
let command_line: String = format!("PATH=${{PATH}}:/app/hoprnet/.foundry/bin/ /bin/hopli faucet --network {} --contracts-root /app/hoprnet/ethereum/contracts/ --hopr-amount 0 --native-amount \"{}\" --address $(cat /data/addresses.txt)", network, native_amount);
let command_line: String = format!("PATH=${{PATH}}:/app/hoprnet/.foundry/bin/ /bin/hopli faucet --provider-url https://gnosis-chain.rpc.rank1.co --network {} --hopr-amount 0 --native-amount \"{}\" --address $(cat /data/addresses.txt)", network, native_amount);
Some(vec![command_line])
}

Expand Down
2 changes: 1 addition & 1 deletion test-data/sample_config-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ingress:
p2p_port_min: "9000"
p2p_port_max: "9010"
deployment_name: ingress-nginx-controller
hopli_image: europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopli:latest
hopli_image: europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopli:2.1.0-rc.3
persistence:
size: 500Mi
storage_class_name: ceph-ephimeral
13 changes: 0 additions & 13 deletions test-data/sample_config-rpch.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion test-data/sample_config-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ingress:
p2p_port_min: "9000"
p2p_port_max: "9001"
deployment_name: ingress-nginx-controller
hopli_image: europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopli:latest
hopli_image: europe-west3-docker.pkg.dev/hoprassociation/docker-images/hopli:2.1.0-rc.3
persistence:
size: 500Mi
storage_class_name: ceph-ephimeral

0 comments on commit d3352ec

Please sign in to comment.