Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade http and uuid lib version #104

Merged
merged 8 commits into from
Mar 25, 2024
38 changes: 18 additions & 20 deletions .ci/doc/config.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
---
snippets:
mount: /mnt
path: "doc/**/snippets/*.test.yml"
templates: /mnt/.ci/doc/templates
protocols:
- http
- websocket

snippets:
mount: /mnt
path: 'doc/**/snippets/*.test.yml'
templates: /mnt/.ci/doc/templates
protocols:
- http
- websocket

runners:
default: dart

dart:
service: doc-runner-dart
path: /var/snippets/dart
build:
cmd: cd /mnt
run:
before: timeout 600 bash -c 'until stat /tmp/runner_is_ready && curl -f -s -o /dev/null http://kuzzle:7512/_now; do sleep 1; done && cp *.dart /mnt/.ci/doc/project/ && cd /mnt/.ci/doc/project/ && pub get'
cmd: cd /mnt/.ci/doc/project/ && SNIPPET_PROTOCOL="{{ snippet.protocol }}" dart {{ snippet.source }}

runners:
default: dart

dart:
service: doc-runner-dart
path: /var/snippets/dart
build:
cmd: cd /mnt
run:
before: timeout 600 bash -c 'until stat /tmp/runner_is_ready && curl -f -s -o /dev/null http://kuzzle:7512/_now; do sleep 1; done && cp *.dart /mnt/.ci/doc/project/ && cd /mnt/.ci/doc/project/ && dart pub get'
cmd: cd /mnt/.ci/doc/project/ && SNIPPET_PROTOCOL="{{ snippet.protocol }}" dart {{ snippet.source }}
2 changes: 1 addition & 1 deletion .ci/doc/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ services:
- CONFIG_FILE=/mnt/.ci/doc/config.yml

doc-runner-dart:
image: google/dart
image: dart:3
command: >
bash -c '
mkdir -p /var/snippets/dart;
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ description: A library to interact with kuzzle API. A backend software,
self-hostable and ready to use to power modern cross-platform apps.
homepage: https://github.com/kuzzleio/sdk-dart
environment:
sdk: ">=2.12.0 <4.0.0"
sdk: ">=3.3.0 <4.0.0"
dependencies:
pedantic: ^1.11.1
meta: ^1.4.0
uuid: ^3.0.4
http: ^0.13.3
uuid: ^4.3.3
http: ^1.2.1
mockito: ^5.0.10
dev_dependencies:
test: ^1.17.8
Expand Down
Loading