Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into cis2-client
Browse files Browse the repository at this point in the history
  • Loading branch information
abizjak committed Apr 11, 2024
2 parents 1adb812 + b13950b commit f00cbbb
Show file tree
Hide file tree
Showing 33 changed files with 6,854 additions and 4,871 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

env:
RUST_FMT: nightly-2023-04-01-x86_64-unknown-linux-gnu
RUST_CLIPPY: "1.70"
RUST_CLIPPY: "1.74"

jobs:
"lint_fmt":
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release workflow

on:
workflow_dispatch:

env:
RUST_VERSION: rust:1.74-buster

jobs:

build-and-push:
runs-on: ubuntu-latest
environment: release-recover-id-object
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Extract Cargo package version
id: cargo_version
run: |
cd recover-id-object
VERSION=$(cargo metadata --no-deps --format-version 1 | jq -r '.packages[0].version')
echo "Extracted version is $VERSION"
echo "::set-output name=version::$VERSION"
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
file: recover-id-object/scripts/Dockerfile
push: true
build-args: |
build_image=${{ env.RUST_VERSION }}
tags: concordium/recover-id-object:${{ steps.cargo_version.outputs.version }}
8 changes: 8 additions & 0 deletions chain-prometheus-exporter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
## Unreleased changes

## 1.1.2

- Retry requests to the node once.

## 1.1.1

- Add keep-alive to node connection.

## 1.1.0

- Support protocol version 6.
Expand Down
Loading

0 comments on commit f00cbbb

Please sign in to comment.