Skip to content

Commit 7d8dfb8

Browse files
Merge branch 'master' into refactor-hashi
2 parents 735a93a + 70920fe commit 7d8dfb8

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

.github/workflows/release.yaml

+10-4
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
cp ${BUILD_FILE_NAME}.tar.gz /tmp/artifacts;
6868
sha256sum ${BUILD_FILE_NAME}.tar.gz | head -c 64 > /tmp/artifacts/${BUILD_FILE_NAME}.sha256;
6969
70-
- OS: macos-12
70+
- OS: macos-13
7171
PYTHON_VERSION: 3.10.14
7272
BUILD_CMD: |
7373
export PYTHONHASHSEED=42
@@ -102,12 +102,18 @@ jobs:
102102
steps:
103103
- uses: actions/checkout@v4
104104

105-
- name: Install build dependencies
105+
- name: Install build dependencies for Linux
106106
run: |
107107
sudo apt-get update
108108
sudo apt-get install --no-install-recommends -y build-essential curl libpq-dev postgresql-client
109109
if: matrix.os == 'linux-arm-runner'
110110

111+
- name: Install build dependencies for MacOS
112+
run: |
113+
brew install libpq
114+
brew link --force libpq
115+
if: matrix.os == 'macos-13'
116+
111117
- uses: actions/setup-python@v4
112118
with:
113119
python-version: ${{ matrix.PYTHON_VERSION }}
@@ -162,7 +168,7 @@ jobs:
162168
/tmp/artifacts/ubuntu-20.04/operator-${{ steps.get_version.outputs.VERSION }}-linux-amd64.sha256
163169
/tmp/artifacts/linux-arm-runner/operator-${{ steps.get_version.outputs.VERSION }}-linux-arm64.tar.gz
164170
/tmp/artifacts/linux-arm-runner/operator-${{ steps.get_version.outputs.VERSION }}-linux-arm64.sha256
165-
/tmp/artifacts/macos-12/operator-${{ steps.get_version.outputs.VERSION }}-darwin-amd64.tar.gz
166-
/tmp/artifacts/macos-12/operator-${{ steps.get_version.outputs.VERSION }}-darwin-amd64.sha256
171+
/tmp/artifacts/macos-13/operator-${{ steps.get_version.outputs.VERSION }}-darwin-amd64.tar.gz
172+
/tmp/artifacts/macos-13/operator-${{ steps.get_version.outputs.VERSION }}-darwin-amd64.sha256
167173
/tmp/artifacts/windows-latest/operator-${{ steps.get_version.outputs.VERSION }}-windows-amd64.zip
168174
/tmp/artifacts/windows-latest/operator-${{ steps.get_version.outputs.VERSION }}-windows-amd64.sha256

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@ Head to [Usage](#usage) to launch your operator service.
154154
Pull the latest docker operator docker image:
155155

156156
```bash
157-
docker pull europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v2.2.0
157+
docker pull europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v2.2.1
158158
```
159159

160160
You can also build the docker image from source by cloning this repo and executing the following command from within
161161
the `v3-operator` folder:
162162

163163
```bash
164-
docker build --pull -t europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v2.2.0 .
164+
docker build --pull -t europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v2.2.1 .
165165
```
166166

167167
You will execute Operator Service commands using the format below (note the use of flags are optional):
@@ -170,7 +170,7 @@ You will execute Operator Service commands using the format below (note the use
170170
docker run --rm -ti \
171171
-u $(id -u):$(id -g) \
172172
-v ~/.stakewise/:/data \
173-
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v2.2.0 \
173+
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v2.2.1 \
174174
src/main.py COMMAND \
175175
--flagA=123 \
176176
--flagB=xyz
@@ -393,7 +393,7 @@ below:
393393
docker run --restart on-failure:10 \
394394
-u $(id -u):$(id -g) \
395395
-v ~/.stakewise/:/data \
396-
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v2.2.0 \
396+
europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v2.2.1 \
397397
src/main.py start \
398398
--vault=0x3320ad928c20187602a2b2c04eeaa813fa899468 \
399399
--data-dir=/data \

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "v3-operator"
3-
version = "v2.2.0"
3+
version = "v2.2.1"
44
description = "StakeWise operator service for registering vault validators"
55
authors = ["StakeWise Labs <[email protected]>"]
66
package-mode = false

scripts/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ http_copy() {
281281
github_release() {
282282
owner_repo=$1
283283
version=$2
284-
test -z "$version" && version="v2.2.0"
284+
test -z "$version" && version="v2.2.1"
285285
giturl="https://github.com/${owner_repo}/releases/${version}"
286286
json=$(http_copy "$giturl" "Accept:application/json")
287287
test -z "$json" && return 1

0 commit comments

Comments
 (0)