diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ccf0155dc35092a6d93277b75154ea2ab172cab3..f38b567509869b4280df4a0ade8541cdd24ced9f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -75,33 +75,6 @@ fmt_and_clippy: - cargo clippy -- -V - 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: extends: .env stage: tests