Skip to content

Commit

Permalink
release: 0.5.5 (#207)
Browse files Browse the repository at this point in the history
* release: 0.5.5

* upgrade docker image

* chore: upgrade
  • Loading branch information
leon3s authored Oct 31, 2024
1 parent c952a2c commit 66b925b
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 15 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# stage 1 - Setup cargo-chef
FROM --platform=$BUILDPLATFORM rust:1.78.0-alpine3.19 as planner
FROM --platform=$BUILDPLATFORM rust:1.82.0-alpine3.20 as planner

WORKDIR /app
RUN apk add gcc g++ make
Expand All @@ -13,7 +13,7 @@ COPY ./bin/metrsd/Cargo.toml ./bin/metrsd/Cargo.toml
RUN cargo chef prepare --recipe-path recipe.json --bin ./bin/metrsd

# stage 2 - Cook our dependencies
FROM --platform=$BUILDPLATFORM rust:1.78.0-alpine3.19 as cacher
FROM --platform=$BUILDPLATFORM rust:1.82.0-alpine3.20 as cacher

WORKDIR /app
COPY --from=planner /usr/local/cargo/bin/cargo-chef /usr/local/cargo/bin/cargo-chef
Expand All @@ -24,7 +24,7 @@ RUN export ARCH=$(uname -m) \
&& cargo chef cook --release --target=$ARCH-unknown-linux-musl --recipe-path recipe.json --bin metrsd

# stage 3 - Build our project
FROM --platform=$BUILDPLATFORM rust:1.78.0-alpine3.19 as builder
FROM --platform=$BUILDPLATFORM rust:1.82.0-alpine3.20 as builder

## Build our metrs daemon binary
WORKDIR /app
Expand All @@ -48,7 +48,7 @@ FROM --platform=$BUILDPLATFORM scratch
## Copy the binary
COPY --from=builder /bin/metrsd /bin/metrsd

LABEL org.opencontainers.image.source https://github.com/nxthat/metrs
LABEL org.opencontainers.image.source https://github.com/next-hat/metrs
LABEL org.opencontainers.image.description Metrics Emitter

## Set entrypoint
Expand Down
2 changes: 1 addition & 1 deletion bin/metrs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["nanocl contributors <team@next-hat.com>"]
description = "The Metrs daemon"
license = "MIT OR Apache-2.0"
readme = "../../readme.md"
repository = "https://github.com/nxthat/metrs"
repository = "https://github.com/next-hat/metrs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
6 changes: 6 additions & 0 deletions bin/metrsd/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5.5] - 2024-10-31

### Updated

- Dependencies update

## [0.5.4] - 2024-06-07

### Updated
Expand Down
4 changes: 2 additions & 2 deletions bin/metrsd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "metrsd"
version = "0.5.4"
version = "0.5.5"
edition = "2021"
authors = ["nanocl contributors <team@next-hat.com>"]
description = "The Metrs daemon"
license = "MIT OR Apache-2.0"
readme = "../../readme.md"
repository = "https://github.com/nxthat/metrs"
repository = "https://github.com/next-hat/metrs"

[[bin]]
name = "metrsd"
Expand Down
4 changes: 2 additions & 2 deletions crates/metrs_stubs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[package]
name = "metrs_stubs"
version = "0.5.3"
version = "0.5.5"
edition = "2021"
authors = ["nanocl contributors <team@next-hat.com>"]
description = "Metrs shared data type"
license = "MIT OR Apache-2.0"
readme = "readme.md"
repository = "https://github.com/nxthat/metrs"
repository = "https://github.com/next-hat/metrs"

[lib]
bench = false
Expand Down
4 changes: 2 additions & 2 deletions crates/metrsd_client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[package]
name = "metrsd_client"
version = "0.5.4"
version = "0.5.5"
edition = "2021"
authors = ["nanocl contributors <team@next-hat.com>"]
description = "The Metrs daemon api client"
readme = "readme.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/nxthat/metrs"
repository = "https://github.com/next-hat/metrs"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand Down
2 changes: 1 addition & 1 deletion dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.78.0-alpine3.19
FROM rust:1.82.0-alpine3.20

RUN apk add musl-dev make
RUN cargo install cargo-watch
Expand Down

0 comments on commit 66b925b

Please sign in to comment.