Skip to content
Snippets Groups Projects
Unverified Commit 7f086905 authored by bgallois's avatar bgallois
Browse files

add doc to CI

parent e93fb968
No related branches found
No related tags found
No related merge requests found
Pipeline #36720 failed
...@@ -75,6 +75,33 @@ fmt_and_clippy: ...@@ -75,6 +75,33 @@ fmt_and_clippy:
- cargo clippy -- -V - cargo clippy -- -V
- cargo clippy -Zgit=shallow-deps --features runtime-benchmarks --all --tests -- -D warnings - cargo clippy -Zgit=shallow-deps --features runtime-benchmarks --all --tests -- -D warnings
build_doc:
extends: .env
stage: tests #For testing
image: rust:1-bullseye
rules: # For testing
- if: $CI_COMMIT_REF_NAME =~ /^wip*$/
when: manual
- if: $CI_COMMIT_TAG
when: never
- if: '$CI_MERGE_REQUEST_ID || $CI_COMMIT_BRANCH == "master"'
- when: manual
variables:
DEBIAN_FRONTEND: noninteractive
BASE_URL: "https://duniter.org/toDefine"
SERVER_IP: ""
SERVER_USER: ""
SERVER_PATH: ""
before_script:
- apt update && apt-get install openssh-client rsync
- eval $(ssh-agent -s)
- echo "$ SSH_PRIVATE_KEY" | ssh-add -
script:
- apt-get update
- apt-get install -y clang cmake protobuf-compiler
- cargo xtask gen-doc
- rsync -a .target/doc ${SERVER_USER}@${SERVER_IP}:${SERVER_PATH}
run_benchmarks: run_benchmarks:
extends: .env extends: .env
stage: tests stage: tests
......
...@@ -633,9 +633,9 @@ dependencies = [ ...@@ -633,9 +633,9 @@ dependencies = [
[[package]] [[package]]
name = "async-io" name = "async-io"
version = "2.3.1" version = "2.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f97ab0c5b00a7cdbe5a371b9a782ee7be1316095885c8a4ea1daf490eb0ef65" checksum = "dcccb0f599cfa2f8ace422d3555572f47424da5648a4382a9dd0310ff8210884"
dependencies = [ dependencies = [
"async-lock 3.3.0", "async-lock 3.3.0",
"cfg-if", "cfg-if",
...@@ -1833,11 +1833,11 @@ dependencies = [ ...@@ -1833,11 +1833,11 @@ dependencies = [
[[package]] [[package]]
name = "ctrlc" name = "ctrlc"
version = "3.4.2" version = "3.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b467862cc8610ca6fc9a1532d7777cee0804e678ab45410897b9396495994a0b" checksum = "672465ae37dc1bc6380a6547a8883d5dd397b0f1faaad4f265726cc7042a5345"
dependencies = [ dependencies = [
"nix 0.27.1", "nix 0.28.0",
"windows-sys 0.52.0", "windows-sys 0.52.0",
] ]
...@@ -4180,7 +4180,7 @@ dependencies = [ ...@@ -4180,7 +4180,7 @@ dependencies = [
"ipnet", "ipnet",
"log", "log",
"rtnetlink", "rtnetlink",
"system-configuration", "system-configuration 0.5.1",
"tokio", "tokio",
"windows", "windows",
] ]
...@@ -5855,12 +5855,13 @@ dependencies = [ ...@@ -5855,12 +5855,13 @@ dependencies = [
[[package]] [[package]]
name = "nix" name = "nix"
version = "0.27.1" version = "0.28.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" checksum = "ab2156c4fce2f8df6c499cc1c763e4394b7482525bf2a9701c9d79d215f519e4"
dependencies = [ dependencies = [
"bitflags 2.4.2", "bitflags 2.4.2",
"cfg-if", "cfg-if",
"cfg_aliases",
"libc", "libc",
] ]
...@@ -7729,9 +7730,9 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" ...@@ -7729,9 +7730,9 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
[[package]] [[package]]
name = "reqwest" name = "reqwest"
version = "0.11.24" version = "0.11.25"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6920094eb85afde5e4a138be3f2de8bbdf28000f0029e72c45025a56b042251" checksum = "0eea5a9eb898d3783f17c6407670e3592fd174cb81a10e51d4c37f49450b9946"
dependencies = [ dependencies = [
"base64 0.21.7", "base64 0.21.7",
"bytes", "bytes",
...@@ -7753,7 +7754,7 @@ dependencies = [ ...@@ -7753,7 +7754,7 @@ dependencies = [
"serde_json", "serde_json",
"serde_urlencoded", "serde_urlencoded",
"sync_wrapper", "sync_wrapper",
"system-configuration", "system-configuration 0.6.0",
"tokio", "tokio",
"tower-service", "tower-service",
"url", "url",
...@@ -10098,7 +10099,7 @@ dependencies = [ ...@@ -10098,7 +10099,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-crypto-ec-utils" name = "sp-crypto-ec-utils"
version = "0.10.0" version = "0.10.0"
source = "git+https://github.com/paritytech/polkadot-sdk#f977c211573e65b9f89886e7211e9b3148ce7e05" source = "git+https://github.com/paritytech/polkadot-sdk#a6713c55fd5082d333518c3ca13f2a4294726fcc"
dependencies = [ dependencies = [
"ark-bls12-377", "ark-bls12-377",
"ark-bls12-377-ext", "ark-bls12-377-ext",
...@@ -10161,7 +10162,7 @@ dependencies = [ ...@@ -10161,7 +10162,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-debug-derive" name = "sp-debug-derive"
version = "14.0.0" version = "14.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#f977c211573e65b9f89886e7211e9b3148ce7e05" source = "git+https://github.com/paritytech/polkadot-sdk#a6713c55fd5082d333518c3ca13f2a4294726fcc"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
...@@ -10197,7 +10198,7 @@ dependencies = [ ...@@ -10197,7 +10198,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-externalities" name = "sp-externalities"
version = "0.25.0" version = "0.25.0"
source = "git+https://github.com/paritytech/polkadot-sdk#f977c211573e65b9f89886e7211e9b3148ce7e05" source = "git+https://github.com/paritytech/polkadot-sdk#a6713c55fd5082d333518c3ca13f2a4294726fcc"
dependencies = [ dependencies = [
"environmental", "environmental",
"parity-scale-codec", "parity-scale-codec",
...@@ -10406,7 +10407,7 @@ dependencies = [ ...@@ -10406,7 +10407,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-runtime-interface" name = "sp-runtime-interface"
version = "24.0.0" version = "24.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#f977c211573e65b9f89886e7211e9b3148ce7e05" source = "git+https://github.com/paritytech/polkadot-sdk#a6713c55fd5082d333518c3ca13f2a4294726fcc"
dependencies = [ dependencies = [
"bytes", "bytes",
"impl-trait-for-tuples", "impl-trait-for-tuples",
...@@ -10438,7 +10439,7 @@ dependencies = [ ...@@ -10438,7 +10439,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-runtime-interface-proc-macro" name = "sp-runtime-interface-proc-macro"
version = "17.0.0" version = "17.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#f977c211573e65b9f89886e7211e9b3148ce7e05" source = "git+https://github.com/paritytech/polkadot-sdk#a6713c55fd5082d333518c3ca13f2a4294726fcc"
dependencies = [ dependencies = [
"Inflector", "Inflector",
"expander", "expander",
...@@ -10531,7 +10532,7 @@ source = "git+https://github.com/duniter/duniter-polkadot-sdk?branch=duniter-sub ...@@ -10531,7 +10532,7 @@ source = "git+https://github.com/duniter/duniter-polkadot-sdk?branch=duniter-sub
[[package]] [[package]]
name = "sp-std" name = "sp-std"
version = "14.0.0" version = "14.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#f977c211573e65b9f89886e7211e9b3148ce7e05" source = "git+https://github.com/paritytech/polkadot-sdk#a6713c55fd5082d333518c3ca13f2a4294726fcc"
[[package]] [[package]]
name = "sp-storage" name = "sp-storage"
...@@ -10549,7 +10550,7 @@ dependencies = [ ...@@ -10549,7 +10550,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-storage" name = "sp-storage"
version = "19.0.0" version = "19.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#f977c211573e65b9f89886e7211e9b3148ce7e05" source = "git+https://github.com/paritytech/polkadot-sdk#a6713c55fd5082d333518c3ca13f2a4294726fcc"
dependencies = [ dependencies = [
"impl-serde", "impl-serde",
"parity-scale-codec", "parity-scale-codec",
...@@ -10587,7 +10588,7 @@ dependencies = [ ...@@ -10587,7 +10588,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-tracing" name = "sp-tracing"
version = "16.0.0" version = "16.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#f977c211573e65b9f89886e7211e9b3148ce7e05" source = "git+https://github.com/paritytech/polkadot-sdk#a6713c55fd5082d333518c3ca13f2a4294726fcc"
dependencies = [ dependencies = [
"parity-scale-codec", "parity-scale-codec",
"sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)", "sp-std 14.0.0 (git+https://github.com/paritytech/polkadot-sdk)",
...@@ -10688,7 +10689,7 @@ dependencies = [ ...@@ -10688,7 +10689,7 @@ dependencies = [
[[package]] [[package]]
name = "sp-wasm-interface" name = "sp-wasm-interface"
version = "20.0.0" version = "20.0.0"
source = "git+https://github.com/paritytech/polkadot-sdk#f977c211573e65b9f89886e7211e9b3148ce7e05" source = "git+https://github.com/paritytech/polkadot-sdk#a6713c55fd5082d333518c3ca13f2a4294726fcc"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"impl-trait-for-tuples", "impl-trait-for-tuples",
...@@ -11163,7 +11164,18 @@ checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7" ...@@ -11163,7 +11164,18 @@ checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7"
dependencies = [ dependencies = [
"bitflags 1.3.2", "bitflags 1.3.2",
"core-foundation", "core-foundation",
"system-configuration-sys", "system-configuration-sys 0.5.0",
]
[[package]]
name = "system-configuration"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "658bc6ee10a9b4fcf576e9b0819d95ec16f4d2c02d39fd83ac1c8789785c4a42"
dependencies = [
"bitflags 2.4.2",
"core-foundation",
"system-configuration-sys 0.6.0",
] ]
[[package]] [[package]]
...@@ -11176,6 +11188,16 @@ dependencies = [ ...@@ -11176,6 +11188,16 @@ dependencies = [
"libc", "libc",
] ]
[[package]]
name = "system-configuration-sys"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e1d1b10ced5ca923a1fcb8d03e96b8d3268065d724548c0211415ff6ac6bac4"
dependencies = [
"core-foundation-sys",
"libc",
]
[[package]] [[package]]
name = "tap" name = "tap"
version = "1.0.1" version = "1.0.1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment