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

[feature] #3454: make LTS the default #3455

Merged
merged 1 commit into from
May 18, 2023
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
4 changes: 2 additions & 2 deletions .github/workflows/iroha2-dev-pr-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
run: cargo fmt --all -- --check
- name: Lints without features
if: always()
run: cargo lints clippy --workspace --benches --tests --examples --quiet --no-default-features
run: cargo lints clippy --workspace --benches --tests --examples --no-default-features --quiet
- name: Lints with all features enabled
if: always()
run: cargo lints clippy --workspace --benches --tests --examples --quiet --all-features
run: cargo lints clippy --workspace --benches --tests --examples --all-features --quiet
- name: Documentation
if: always()
run: cargo doc --no-deps --quiet
2 changes: 1 addition & 1 deletion .github/workflows/iroha2-dev-pr-wasm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- name: Run tests
run: mold --run cargo test --tests --quiet --no-fail-fast
run: mold --run cargo test --tests --no-fail-fast --quiet
3 changes: 2 additions & 1 deletion .github/workflows/iroha2-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
cache-to: type=gha,mode=max

load-rs:
# TODO: Temporary workaround for failing CI job
continue-on-error: true
runs-on: ubuntu-latest
container:
Expand All @@ -64,7 +65,7 @@ jobs:
run: |
sleep 10s
echo "wait to other workflow"
- uses: convictional/trigger-workflow-and-wait@v1.6.2
- uses: convictional/trigger-workflow-and-wait@v1.6.5
with:
owner: soramitsu
repo: iroha2-longevity-load-rs
Expand Down
24 changes: 22 additions & 2 deletions .github/workflows/iroha2-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,30 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max

load-rs:
configs:
runs-on: ubuntu-latest
container:
image: hyperledger/iroha2-ci:nightly-2022-12-22
steps:
- uses: actions/checkout@v3
ref: iroha2-dev
- name: Setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
appetrosyan marked this conversation as resolved.
Show resolved Hide resolved
- name: Update configs
run: |
./scripts/update_configs.sh lts
./scripts/update_configs.sh stable
- name: Commit config changes
run: |
git commit -am "[documentation]: Update lts/stable configs following a release" --signoff
git push origin iroha2-dev

load-rs:
mversic marked this conversation as resolved.
Show resolved Hide resolved
# TODO: Temporary workaround for failing CI job
continue-on-error: true
runs-on: ubuntu-latest
steps:
- name: Get tag from branch name
run: |
Expand All @@ -67,7 +87,7 @@ jobs:
run: |
sleep 10s
echo "wait to finish other workflow"
- uses: convictional/trigger-workflow-and-wait@v1.6.2
- uses: convictional/trigger-workflow-and-wait@v1.6.5
with:
owner: soramitsu
repo: iroha2-longevity-load-rs
Expand Down
5 changes: 2 additions & 3 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,8 @@ async fn main() -> Result<(), color_eyre::Report> {
iroha_logger::warn!("The configuration parameter `DISABLE_PANIC_TERMINAL_COLORS` is deprecated. Set `TERMINAL_COLORS=false` instead. ")
}
iroha_logger::info!(
git_commit_sha = env!("VERGEN_GIT_SHA"),
"Hyperledgerいろは2にようこそ!(translation) Welcome to Hyperledger Iroha {}!",
env!("CARGO_PKG_VERSION")
version = %env!("CARGO_PKG_VERSION"), git_commit_sha = env!("VERGEN_GIT_SHA"),
"Hyperledgerいろは2にようこそ!(translation) Welcome to Hyperledger Iroha!"
);

let genesis = if let Some(genesis_path) = &args.genesis_path {
Expand Down
Loading
Loading