Skip to content

Commit

Permalink
bump: 2.0.0rc4 → 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EvolveArt committed Jul 26, 2024
1 parent dfa75de commit a37607c
Show file tree
Hide file tree
Showing 16 changed files with 43 additions and 17 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
PYTHON_VERSION: 3.12.4
DOCKER_REGISTRY: ghcr.io/${{ github.repository }}

jobs:
jobs:
build_containers:
strategy:
matrix:
Expand All @@ -19,7 +19,7 @@
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
Expand All @@ -32,7 +32,22 @@
echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> $GITHUB_ENV
echo $PACKAGE_VERSION
- name: Build and push
- name: Build and push pragma-sdk
if: matrix.package == 'pragma-sdk'
uses: docker/build-push-action@v6
with:
context: .
file: ./${{ matrix.package }}/Dockerfile
push: true
build-args: |
PRAGMA_PACKAGE_VERSION=${{ env.PACKAGE_VERSION }}
target: production
tags: |
${{ env.DOCKER_REGISTRY }}/${{ matrix.package }}:${{ env.PACKAGE_VERSION }}
${{ env.DOCKER_REGISTRY}}/${{ matrix.package }}:latest
- name: Build and push other packages
if: matrix.package != 'pragma-sdk'
uses: docker/build-push-action@v6
with:
context: .
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
run:
working-directory: pragma-sdk

env:
PYTHON_VERSION: 3.12.4

jobs:
pypi_publish:
name: Upload package to PyPI
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## v2.0.0 (2024-07-26)

### Fix

- dockerfile build ci (#168)

## v2.0.0-rc4 (2024-07-25)

## v2.0.0rc4 (2024-07-25)

### Fix
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0rc4
2.0.0
2 changes: 1 addition & 1 deletion checkpointer/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0rc4
2.0.0
2 changes: 1 addition & 1 deletion checkpointer/checkpointer/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.0rc4"
__version__ = "2.0.0"
2 changes: 1 addition & 1 deletion checkpointer/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "checkpointer"
version = "2.0.0rc4"
version = "2.0.0"
authors = ["0xevolve <matthias@pragma.build>"]
description = "Checkpoints service for Pragma."
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion pragma-sdk/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dockerfile for publisher
FROM python:3.12-slim-bookworm AS base
FROM python:3.12-slim-bullseye AS base

# Needed for fastecdsa
RUN apt-get update && apt-get install -y gcc python-dev libgmp3-dev curl && apt-get clean
Expand Down
2 changes: 1 addition & 1 deletion pragma-sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pragma-sdk"
version = "2.0.0rc4"
version = "2.0.0"
authors = ["0xevolve <matthias@pragma.build>"]
description = "Core package for rollup-native Pragma Oracle"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion price-pusher/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0rc4
2.0.0
2 changes: 1 addition & 1 deletion price-pusher/price_pusher/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.0rc4"
__version__ = "2.0.0"
2 changes: 1 addition & 1 deletion price-pusher/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "price-pusher"
version = "2.0.0rc4"
version = "2.0.0"
authors = ["0xevolve <matthias@pragma.build>"]
description = "Price pushing service for Pragma."
readme = "README.md"
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pragma-monorepo"
version = "2.0.0rc4"
version = "2.0.0"
description = "Monorepo container"
license = "MIT"
authors = ["0xevolve <matthias@pragma.build>"]
Expand All @@ -14,7 +14,7 @@ build-backend = "poetry.core.masonry.api"

[tool.commitizen]
name = "cz_conventional_commits"
version = "2.0.0rc4"
version = "2.0.0"
tag_format = "v$version"
version_files = [
"VERSION",
Expand Down
2 changes: 1 addition & 1 deletion vrf-listener/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.0rc4
2.0.0
2 changes: 1 addition & 1 deletion vrf-listener/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "vrf-listener"
version = "2.0.0rc4"
version = "2.0.0"
authors = ["0xevolve <matthias@pragma.build>"]
description = "VRF pushing service for Pragma."
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion vrf-listener/vrf_listener/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.0rc4"
__version__ = "2.0.0"

0 comments on commit a37607c

Please sign in to comment.