dapr 0.4.3 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.release-please-manifest.json +1 -1
- data/.version.txt +1 -1
- data/CHANGELOG.md +11 -0
- data/ci/build_image.sh +6 -6
- data/lib/dapr/version.rb +1 -1
- data/oci/Containerfile +9 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d4dd6665647a03009969d40a0b166401ca17ba2e0ad3d53e99c4c71844d85bc
|
4
|
+
data.tar.gz: 986ad8aaee73a6d4a2ce87cafeca90a275b6ca0633af9c162d1a75c7f9996615
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bba98003914328266b06562488a0357d69987609a39a6a3c83790900ff55712c0ebdabd5f2630cdd3f79edac397a0300f582be64f1cd70c4c195b5a8e2d12533
|
7
|
+
data.tar.gz: dfc27d1711d0b13a89ab99729639387b0743e8f325559b20e6cbee1d10127926c44191a9fa124f7078368b60e1ed28b147e7d750eeca1c4f7e8b8d2ffc7e9404
|
data/.version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.5.0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
## [Unreleased]
|
2
2
|
|
3
|
+
## [0.5.0](https://github.com/rubyists/dapr-ruby-client/compare/v0.4.3...v0.5.0) (2024-12-18)
|
4
|
+
|
5
|
+
|
6
|
+
### ⚠ BREAKING CHANGES
|
7
|
+
|
8
|
+
* **build:** Change to use debian base images ([#83](https://github.com/rubyists/dapr-ruby-client/issues/83))
|
9
|
+
|
10
|
+
### Features
|
11
|
+
|
12
|
+
* **build:** Change to use debian base images ([#83](https://github.com/rubyists/dapr-ruby-client/issues/83)) ([3ca94ae](https://github.com/rubyists/dapr-ruby-client/commit/3ca94aef659bcd6d97d9c9db66fa6b4b722e4f4f))
|
13
|
+
|
3
14
|
## [0.4.3](https://github.com/rubyists/dapr-ruby-client/compare/v0.4.2...v0.4.3) (2024-12-16)
|
4
15
|
|
5
16
|
|
data/ci/build_image.sh
CHANGED
@@ -25,15 +25,15 @@ cd "$repo_top" || {
|
|
25
25
|
}
|
26
26
|
|
27
27
|
base_dir=$(basename "$(pwd)")
|
28
|
-
: "${
|
28
|
+
: "${DEBIAN_VERSION:=bookworm}"
|
29
29
|
: "${BUILD_CONTEXT:=$(pwd)}"
|
30
30
|
: "${IMAGE_NAME:=$base_dir}"
|
31
31
|
: "${LICENSE:=MIT}"
|
32
32
|
: "${REGISTRY:=ghcr.io}"
|
33
|
-
: "${RUBY_VERSION:=3.3.
|
33
|
+
: "${RUBY_VERSION:=3.3.6}"
|
34
34
|
: "${REGISTRY_TOKEN:=$GITHUB_TOKEN}"
|
35
35
|
|
36
|
-
base_image_tag="$RUBY_VERSION
|
36
|
+
base_image_tag="$RUBY_VERSION-$DEBIAN_VERSION"
|
37
37
|
base_exists=$(skopeo list-tags docker://docker.io/ruby |jq -r "any(.Tags[] == \"$base_image_tag\"; .)")
|
38
38
|
if [ "$base_exists" = "false" ]
|
39
39
|
then
|
@@ -209,7 +209,7 @@ fi
|
|
209
209
|
service=$(basename "$owner_and_repo" .git)
|
210
210
|
owner=$(dirname "$owner_and_repo")
|
211
211
|
|
212
|
-
full_tag=$IMAGE_NAME:$tag-ruby$RUBY_VERSION
|
212
|
+
full_tag=$IMAGE_NAME:$tag-ruby$RUBY_VERSION-$DEBIAN_VERSION
|
213
213
|
# Pass any extra arguments to the build command ("$@" contains the rest of the arguments)
|
214
214
|
$runtime build --tag "$full_tag" "$@" \
|
215
215
|
--label org.opencontainers.image.created="$(date --utc --iso-8601=seconds)" \
|
@@ -221,7 +221,7 @@ $runtime build --tag "$full_tag" "$@" \
|
|
221
221
|
--label org.opencontainers.image.source="Generated by ruby-automation's build_image.sh ($USER@$HOSTNAME)" \
|
222
222
|
--label org.opencontainers.image.version="$full_tag" \
|
223
223
|
--label shortref="$shortref" \
|
224
|
-
--build-arg
|
224
|
+
--build-arg DEBIAN_VERSION="$DEBIAN_VERSION" \
|
225
225
|
--build-arg RUBY_VERSION="$RUBY_VERSION" \
|
226
226
|
-f "$containerfile" "$BUILD_CONTEXT" || die 8 "Failed to build image"
|
227
227
|
|
@@ -237,7 +237,7 @@ fi
|
|
237
237
|
mapfile -t tags < <(echo "$tag" | awk -F'.' 'NF==3{print; print $1"."$2; print $1; next} NF==2{print; print $1; next} {print}')
|
238
238
|
for t in "${tags[@]}"
|
239
239
|
do
|
240
|
-
new_tag=$IMAGE_NAME:$t-ruby$RUBY_VERSION
|
240
|
+
new_tag=$IMAGE_NAME:$t-ruby$RUBY_VERSION-$DEBIAN_VERSION
|
241
241
|
registry_image_name="$REGISTRY/$owner/$new_tag"
|
242
242
|
if [ "$runtime" = "podman" ]
|
243
243
|
then
|
data/lib/dapr/version.rb
CHANGED
data/oci/Containerfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
ARG
|
2
|
-
ARG RUBY_VERSION=3.3.
|
3
|
-
FROM docker.io/ruby:$RUBY_VERSION
|
1
|
+
ARG DEBIAN_VERSION=bookworm
|
2
|
+
ARG RUBY_VERSION=3.3.6
|
3
|
+
FROM docker.io/ruby:$RUBY_VERSION-$DEBIAN_VERSION AS build-env
|
4
4
|
|
5
5
|
# Setting env up
|
6
6
|
ARG APP_ROOT=/app
|
@@ -9,7 +9,7 @@ ENV LANG C.UTF-8
|
|
9
9
|
ENV BUNDLE_SILENCE_ROOT_WARNING=1
|
10
10
|
|
11
11
|
#Install dependencies needed for compilation
|
12
|
-
RUN
|
12
|
+
RUN apt-get update && apt-get install -qy build-essential curl git
|
13
13
|
|
14
14
|
WORKDIR $APP_ROOT
|
15
15
|
|
@@ -33,17 +33,17 @@ RUN bundle config set build.nokogiri --use-system-libraries && \
|
|
33
33
|
RUN rm -rf node_modules tmp/cache app/assets vendor/assets spec
|
34
34
|
|
35
35
|
############### Build step done ###############
|
36
|
-
ARG
|
37
|
-
ARG RUBY_VERSION=3.3.
|
38
|
-
FROM docker.io/ruby:$RUBY_VERSION
|
36
|
+
ARG DEBIAN_VERSION=bookworm
|
37
|
+
ARG RUBY_VERSION=3.3.6
|
38
|
+
FROM docker.io/ruby:$RUBY_VERSION-$DEBIAN_VERSION
|
39
39
|
|
40
40
|
ARG APP_ROOT=/app
|
41
41
|
|
42
42
|
WORKDIR $APP_ROOT
|
43
43
|
|
44
44
|
# install packages
|
45
|
-
RUN
|
45
|
+
RUN apt-get update && apt-get install -qy curl bash runit
|
46
46
|
COPY --from=build-env /usr/local/bundle/ /usr/local/bundle/
|
47
47
|
COPY --from=build-env /bin/snooze /bin/snooze
|
48
48
|
|
49
|
-
CMD ['/bin/
|
49
|
+
CMD ['/bin/bash']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dapr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tj (bougyman) Vanderpoel
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-12-
|
12
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: dapr-ruby
|