Skip to content

Commit 3f10044

Browse files
authored
πŸ› update Dockerfile to change exposed port and healthcheck URL (#276)
* πŸ”§ update GitHub workflows - Removed the push trigger from pull-request.yml - Added installation steps for LLVM 19 in tests.yml - Updated starknet-devnet installation to use the new LLVM path * πŸ› update Dockerfile to change exposed port and healthcheck URL - Changed exposed port from 8082 to 8080 - Updated healthcheck command to reflect the new port * ⬆️ update package versions in lock files - Bumped versions of `boto3`, `botocore`, `s3transfer`, and `xmltodict` to 1.40.32, 1.40.32, 0.14.0, and 1.0.1 respectively across multiple projects. - Updated version to 2.8.12 in `__init__.py` files for several packages.
1 parent 2f72fd9 commit 3f10044

16 files changed

Lines changed: 924 additions & 878 deletions

File tree

β€Ž.github/workflows/pull-request.ymlβ€Ž

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ on:
55
workflow_dispatch:
66
pull_request:
77
branches: [master]
8-
push:
9-
branches: [master]
8+
109

1110
concurrency:
1211
group: pr-checks-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -20,7 +19,3 @@ jobs:
2019
tests:
2120
name: Build & Integration Tests
2221
uses: ./.github/workflows/tests.yml
23-
24-
build_containers:
25-
name: Build Docker Image
26-
uses: ./.github/workflows/docker-test.yml

β€Ž.github/workflows/tests.ymlβ€Ž

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,21 @@ jobs:
7474
cargo --version
7575
7676
- uses: Swatinem/rust-cache@v2
77+
78+
- name: Install LLVM 19
79+
run: |
80+
wget https://apt.llvm.org/llvm.sh
81+
chmod +x llvm.sh
82+
sudo ./llvm.sh 19
83+
sudo apt-get install -y llvm-19-dev libclang-19-dev
84+
echo "LLVM_SYS_190_PREFIX=/usr/lib/llvm-19" >> $GITHUB_ENV
85+
echo "/usr/lib/llvm-19/bin" >> $GITHUB_PATH
86+
7787
- name: Install starknet-devnet
78-
run: cargo install starknet-devnet
88+
run: |
89+
export LLVM_SYS_190_PREFIX=/usr/lib/llvm-19
90+
export PATH="/usr/lib/llvm-19/bin:$PATH"
91+
cargo install starknet-devnet
7992
- name: Run tests
8093
run: |
8194
# TODO: The tests loop forever if we don't run them one by one for some packages.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.8.11"
1+
__version__ = "2.8.12"

β€Žcheckpointer/uv.lockβ€Ž

Lines changed: 118 additions & 107 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žinfra/price-pusher/onchain/Dockerfileβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ COPY --from=builder /opt /opt
2929
COPY infra/price-pusher/config/ /opt/price-pusher/config/
3030
COPY infra/price-pusher/onchain/entrypoint.sh /opt/price-pusher/
3131

32-
EXPOSE 8082
32+
EXPOSE 8080
3333

3434
# Add healthcheck
3535
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
36-
CMD curl -f http://0.0.0.0:8082/ || exit 1
36+
CMD curl -f http://0.0.0.0:8080/ || exit 1
3737

3838
WORKDIR /opt/price-pusher
3939
ENTRYPOINT ["bash","/opt/price-pusher/entrypoint.sh"]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.8.11"
1+
__version__ = "2.8.12"

β€Žlp-pricer/uv.lockβ€Ž

Lines changed: 117 additions & 106 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.8.11"
1+
__version__ = "2.8.12"

β€Žpragma-sdk/uv.lockβ€Ž

Lines changed: 179 additions & 167 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.8.11"
1+
__version__ = "2.8.12"

0 commit comments

Comments
Β (0)