Skip to content

Commit 19d5c92

Browse files
authored
Merge branch 'develop' into fix/clone-double-reference
2 parents 454df75 + fdae394 commit 19d5c92

File tree

191 files changed

+14655
-4805
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+14655
-4805
lines changed

.github/actions/bitcoin-int-tests/Dockerfile.atlas-test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ COPY . .
66

77
RUN cargo test --no-run --workspace
88

9-
RUN cd / && wget https://bitcoin.org/bin/bitcoin-core-0.20.0/bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
10-
RUN cd / && tar -xvzf bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
9+
RUN cd / && wget https://bitcoin.org/bin/bitcoin-core-25.0/bitcoin-25.0-x86_64-linux-gnu.tar.gz
10+
RUN cd / && tar -xvzf bitcoin-25.0-x86_64-linux-gnu.tar.gz
1111

12-
RUN ln -s /bitcoin-0.20.0/bin/bitcoind /bin/
12+
RUN ln -s /bitcoin-25.0/bin/bitcoind /bin/
1313

1414
ENV BITCOIND_TEST 1
1515
WORKDIR /src/testnet/stacks-node

.github/actions/bitcoin-int-tests/Dockerfile.generic.bitcoin-tests

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ ENV RUSTFLAGS="-Cinstrument-coverage" \
1515
RUN cargo test --no-run && \
1616
cargo build
1717

18-
RUN cd / && wget https://bitcoin.org/bin/bitcoin-core-0.20.0/bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
19-
RUN cd / && tar -xvzf bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
18+
RUN cd / && wget https://bitcoin.org/bin/bitcoin-core-25.0/bitcoin-25.0-x86_64-linux-gnu.tar.gz
19+
RUN cd / && tar -xvzf bitcoin-25.0-x86_64-linux-gnu.tar.gz
2020

21-
RUN ln -s /bitcoin-0.20.0/bin/bitcoind /bin/
21+
RUN ln -s /bitcoin-25.0/bin/bitcoind /bin/
2222

2323
ENV BITCOIND_TEST 1

.github/actions/bitcoin-int-tests/Dockerfile.large-genesis

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,15 @@ WORKDIR /src
44

55
COPY . .
66

7-
RUN cd / && wget https://bitcoin.org/bin/bitcoin-core-0.20.0/bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
8-
RUN cd / && tar -xvzf bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
7+
RUN apt-get update && apt-get install -y libclang-dev
98

10-
RUN ln -s /bitcoin-0.20.0/bin/bitcoind /bin/
9+
RUN cd / && wget https://bitcoin.org/bin/bitcoin-core-25.0/bitcoin-25.0-x86_64-linux-gnu.tar.gz
10+
RUN cd / && tar -xvzf bitcoin-25.0-x86_64-linux-gnu.tar.gz
11+
12+
RUN ln -s /bitcoin-25.0/bin/bitcoind /bin/
1113

1214
RUN rustup component add llvm-tools-preview && \
15+
rustup component add rustfmt && \
1316
cargo install grcov
1417

1518
ENV RUSTFLAGS="-Cinstrument-coverage" \

.github/actions/bitcoin-int-tests/Dockerfile.net-tests

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ WORKDIR /src
44

55
COPY . .
66

7-
RUN cd / && wget https://bitcoin.org/bin/bitcoin-core-0.20.0/bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
8-
RUN cd / && tar -xvzf bitcoin-0.20.0-x86_64-linux-gnu.tar.gz
7+
RUN cd / && wget https://bitcoin.org/bin/bitcoin-core-25.0/bitcoin-25.0-x86_64-linux-gnu.tar.gz
8+
RUN cd / && tar -xvzf bitcoin-25.0-x86_64-linux-gnu.tar.gz
99

10-
RUN ln -s /bitcoin-0.20.0/bin/bitcoind /bin/
11-
RUN ln -s /bitcoin-0.20.0/bin/bitcoin-cli /bin/
10+
RUN ln -s /bitcoin-25.0/bin/bitcoind /bin/
11+
RUN ln -s /bitcoin-25.0/bin/bitcoin-cli /bin/
1212

1313
RUN apt-get update
1414
RUN apt-get install -y jq screen net-tools ncat sqlite3 xxd openssl curl

.github/actions/dockerfiles/Dockerfile.debian-source

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ WORKDIR /src
99

1010
COPY . .
1111

12-
RUN apt-get update && apt-get install -y git
12+
RUN apt-get update && apt-get install -y git libclang-dev
1313

1414
# Run all the build steps in ramdisk in an attempt to speed things up
15-
RUN --mount=type=tmpfs,target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
15+
RUN target=${BUILD_DIR} cp -R /src/. ${BUILD_DIR}/ \
1616
&& cd ${BUILD_DIR} \
1717
&& rustup target add ${TARGET} \
18+
&& rustup component add rustfmt \
1819
&& cargo build --features monitoring_prom,slog_json --release --workspace --target ${TARGET} \
1920
&& mkdir -p /out \
2021
&& cp -R ${BUILD_DIR}/target/${TARGET}/release/. /out

.github/workflows/bitcoin-tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131
- name: Reclaim disk space
3232
id: cleanup
3333
run: |
34+
sudo apt-get update
3435
sudo apt-get remove -y '^dotnet-.*'
3536
sudo apt-get remove -y '^llvm-.*'
3637
sudo apt-get remove -y 'php.*'
@@ -138,6 +139,8 @@ jobs:
138139
- tests::neon_integrations::bad_microblock_pubkey
139140
- tests::epoch_24::fix_to_pox_contract
140141
- tests::epoch_24::verify_auto_unlock_behavior
142+
- tests::stackerdb::test_stackerdb_load_store
143+
- tests::stackerdb::test_stackerdb_event_observer
141144
steps:
142145
- name: Checkout the latest code
143146
id: git_checkout

.github/workflows/image-build-alpine-binary.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
run: |
4040
echo "GITHUB_SHA_SHORT=${GITHUB_SHA::7}" >> $GITHUB_ENV
4141
echo "GITHUB_REF_SHORT=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
42+
echo "DOCKER_PUSH=${{ (secrets.DOCKERHUB_USERNAME != '') && (secrets.DOCKERHUB_PASSWORD != '') }}" >> $GITHUB_ENV
4243
- name: Set up QEMU
4344
id: docker_qemu
4445
uses: docker/setup-qemu-action@v2
@@ -62,6 +63,8 @@ jobs:
6263
- name: Login to DockerHub
6364
id: docker_login
6465
uses: docker/login-action@v2
66+
# Only attempt login and push if we have credentials
67+
if: env.DOCKER_PUSH == 'true'
6568
with:
6669
username: ${{ secrets.DOCKERHUB_USERNAME }}
6770
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -78,4 +81,4 @@ jobs:
7881
STACKS_NODE_VERSION=${{ inputs.tag || env.GITHUB_SHA_SHORT }}
7982
GIT_BRANCH=${{ env.GITHUB_REF_SHORT }}
8083
GIT_COMMIT=${{ env.GITHUB_SHA_SHORT }}
81-
push: true
84+
push: ${{ env.DOCKER_PUSH }}

.github/workflows/image-build-debian-binary.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
run: |
5050
echo "GITHUB_SHA_SHORT=${GITHUB_SHA::7}" >> $GITHUB_ENV
5151
echo "GITHUB_REF_SHORT=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
52+
echo "DOCKER_PUSH=${{ (secrets.DOCKERHUB_USERNAME != '') && (secrets.DOCKERHUB_PASSWORD != '') }}" >> $GITHUB_ENV
5253
- name: Set up QEMU
5354
id: docker_qemu
5455
uses: docker/setup-qemu-action@v2
@@ -73,6 +74,8 @@ jobs:
7374
- name: Login to DockerHub
7475
id: docker_login
7576
uses: docker/login-action@v2
77+
# Only attempt login and push if we have credentials
78+
if: env.DOCKER_PUSH == 'true'
7679
with:
7780
username: ${{ secrets.DOCKERHUB_USERNAME }}
7881
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -89,4 +92,4 @@ jobs:
8992
STACKS_NODE_VERSION=${{ inputs.tag || env.GITHUB_SHA_SHORT }}
9093
GIT_BRANCH=${{ env.GITHUB_REF_SHORT }}
9194
GIT_COMMIT=${{ env.GITHUB_SHA_SHORT }}
92-
push: true
95+
push: ${{ env.DOCKER_PUSH }}

.github/workflows/image-build-debian-source.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
run: |
4747
echo "GITHUB_SHA_SHORT=${GITHUB_SHA::7}" >> $GITHUB_ENV
4848
echo "GITHUB_REF_SHORT=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
49+
echo "DOCKER_PUSH=${{ (secrets.DOCKERHUB_USERNAME != '') && (secrets.DOCKERHUB_PASSWORD != '') }}" >> $GITHUB_ENV
4950
- name: Set up QEMU
5051
id: docker_qemu
5152
uses: docker/setup-qemu-action@v2
@@ -72,6 +73,8 @@ jobs:
7273
- name: Login to DockerHub
7374
id: docker_login
7475
uses: docker/login-action@v2
76+
# Only attempt login and push if we have credentials
77+
if: env.DOCKER_PUSH == 'true'
7578
with:
7679
username: ${{ secrets.DOCKERHUB_USERNAME }}
7780
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -87,4 +90,4 @@ jobs:
8790
STACKS_NODE_VERSION=${{ env.GITHUB_SHA_SHORT }}
8891
GIT_BRANCH=${{ env.GITHUB_REF_SHORT }}
8992
GIT_COMMIT=${{ env.GITHUB_SHA_SHORT }}
90-
push: true
93+
push: ${{ env.DOCKER_PUSH }}

.github/workflows/stacks-blockchain-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
# LLVM_PROFILE_FILE: stacks-blockchain-%p-%m.profraw
6262
run: |
6363
cargo nextest run --workspace
64+
cargo nextest run --package clarity --features developer-mode
6465
- name: Collate grcov
6566
# grcov doesn't work with cargo nextest currently, getting
6667
# that to work again will have to happen separately. Getting unit

0 commit comments

Comments
 (0)