Skip to content

Commit

Permalink
chore(release): nextnet 0.49.0-rc.0 (#5315)
Browse files Browse the repository at this point in the history
Description
---
Rolling out development to NextNet.

Motivation and Context
---
Keeping things fresh.

How Has This Been Tested?
---
Well it will be, that's for sure.

What process can a PR reviewer use to test or verify this change?
---

<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release
notes? The title, excluding the conventional commit
tag, will be included exactly as is in the CHANGELOG, so please think
about it carefully. -->


Breaking Changes
---

- [ ] None
- [x] Requires data directory on base node to be deleted
- [x] Requires hard fork
- [x] Other - Please specify

<!-- Does this include a breaking change? If so, include this line as a
footer -->
<!-- BREAKING CHANGE: Description what the user should do, e.g. delete a
database, resync the chain -->
  • Loading branch information
SWvheerden authored Apr 12, 2023
2 parents 386667c + d86b303 commit 12a1ef4
Show file tree
Hide file tree
Showing 218 changed files with 12,082 additions and 1,344 deletions.
15 changes: 15 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,21 @@ Motivation and Context
How Has This Been Tested?
---

What process can a PR reviewer use to test or verify this change?
---

<!-- Checklist -->
<!-- 1. Is the title of your PR in the form that would make nice release notes? The title, excluding the conventional commit
tag, will be included exactly as is in the CHANGELOG, so please think about it carefully. -->


Breaking Changes
---

- [x] None
- [ ] Requires data directory on base node to be deleted
- [ ] Requires hard fork
- [ ] Other - Please specify

<!-- Does this include a breaking change? If so, include this line as a footer -->
<!-- BREAKING CHANGE: Description what the user should do, e.g. delete a database, resync the chain -->
29 changes: 28 additions & 1 deletion .github/workflows/base_node_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,24 @@ jobs:
with:
submodules: recursive

- name: Declare TestNet for tags
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
shell: bash
run: |
tagnet=${{github.ref_name}}
echo $tagnet
# case match is not RegEx, but wildcards/globs
case "$tagnet" in
v*-pre.*) TARI_NETWORK=esme
;;
v*-rc.*) TARI_NETWORK=nextnet
;;
*) TARI_NETWORK=mainnet
;;
esac
echo ${TARI_NETWORK}
echo "TARI_NETWORK=${TARI_NETWORK}" >> $GITHUB_ENV
- name: Declare Global Variables 4 GHA ${{ github.event_name }}
id: vars
shell: bash
Expand Down Expand Up @@ -355,11 +373,20 @@ jobs:
name: ${{ env.TBN_FILENAME }}_archive-${{ matrix.builds.name }}
path: "${{ github.workspace }}${{ env.TBN_DIST }}/${{ env.BINFILE }}.zip*"

- name: Prep miner for upload
shell: bash
run: |
cd "${{ github.workspace }}${{ env.TBN_DIST }}"
cp -v "tari_miner${{ env.TBN_EXT}}" \
"tari_miner-${{ matrix.builds.name }}${{ env.TBN_EXT}}"
${SHARUN} "tari_miner-${{ matrix.builds.name }}${{ env.TBN_EXT}}" \
>> "tari_miner-${{ matrix.builds.name }}${{ env.TBN_EXT}}.sha256"
- name: Artifact upload for Miner
uses: actions/upload-artifact@v3
with:
name: tari_miner-${{ matrix.builds.name }}
path: "${{ github.workspace }}${{ env.TBN_DIST }}/tari_miner${{ env.TBN_EXT}}"
path: "${{ github.workspace }}${{ env.TBN_DIST }}/tari_miner-${{ matrix.builds.name }}${{ env.TBN_EXT}}*"

- name: Sync dist to S3 - Bash
continue-on-error: true # Don't break if s3 upload fails
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/build_dockers_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,24 @@ jobs:
ref: ${{ env.LAUNCHPAD_BRANCH }}
path: tari-launchpad

- name: Declare TestNet for tags
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
shell: bash
run: |
tagnet=${{github.ref_name}}
echo $tagnet
# case match is not RegEx, but wildcards/globs
case "$tagnet" in
v*-pre.*) TARI_NETWORK=esme
;;
v*-rc.*) TARI_NETWORK=nextnet
;;
*) TARI_NETWORK=mainnet
;;
esac
echo ${TARI_NETWORK}
echo "TARI_NETWORK=${TARI_NETWORK}" >> $GITHUB_ENV
- name: environment setup
shell: bash
run: |
Expand Down Expand Up @@ -211,6 +229,7 @@ jobs:
FEATURES=${{ inputs.features }}
APP_NAME=${{ matrix.builds.app_name }}
APP_EXEC=${{ matrix.builds.app_exec }}
TARI_NETWORK=${{ env.TARI_NETWORK }}
${{ env.DOCKER_SUBTAG }}
tags: |
${{ steps.meta.outputs.tags }}
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/build_libwallets_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,24 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v3

- name: Declare TestNet for tags
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
shell: bash
run: |
tagnet=${{github.ref_name}}
echo $tagnet
# case match is not RegEx, but wildcards/globs
case "$tagnet" in
v*-pre.*) TARI_NETWORK=esme
;;
v*-rc.*) TARI_NETWORK=nextnet
;;
*) TARI_NETWORK=mainnet
;;
esac
echo ${TARI_NETWORK}
echo "TARI_NETWORK=${TARI_NETWORK}" >> $GITHUB_ENV
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -101,6 +119,24 @@ jobs:
- name: Checkout source code
uses: actions/checkout@v3

- name: Declare TestNet for tags
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
shell: bash
run: |
tagnet=${{github.ref_name}}
echo $tagnet
# case match is not RegEx, but wildcards/globs
case "$tagnet" in
v*-pre.*) TARI_NETWORK=esme
;;
v*-rc.*) TARI_NETWORK=nextnet
;;
*) TARI_NETWORK=mainnet
;;
esac
echo ${TARI_NETWORK}
echo "TARI_NETWORK=${TARI_NETWORK}" >> $GITHUB_ENV
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ name: CI
- opened
- reopened
- synchronize
merge_group:

env:
toolchain: nightly-2022-11-03
Expand Down Expand Up @@ -142,7 +143,7 @@ jobs:
sudo bash scripts/install_ubuntu_dependencies.sh
- name: test key manager wasm
run: |
npm install -g wasm-pack
npm install -g wasm-pack@0.10.3
cd base_layer/key_manager
rustup target add wasm32-unknown-unknown
make test
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/integration_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ name: Integration tests
- opened
- reopened
- synchronize
merge_group:
push:
paths-ignore:
- '**/*.md'
Expand All @@ -33,7 +34,7 @@ env:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# cancel-in-progress: true

jobs:
base_layer:
Expand Down
2 changes: 2 additions & 0 deletions .license.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
./applications/tari_base_node/osx-pkg/scripts/postinstall
./applications/tari_base_node/osx-pkg/scripts/preinstall
./applications/tari_console_wallet/linux/start_tari_console_wallet
./base_layer/contacts/src/schema.rs
./base_layer/key_manager/Makefile
./base_layer/key_manager/src/schema.rs
./base_layer/p2p/src/dns/roots/tls.rs
./base_layer/wallet/src/schema.rs
./buildtools/docker/torrc
Expand Down
Loading

0 comments on commit 12a1ef4

Please sign in to comment.