From 5f7ab0f19a9a0e5c1958fff76beb790c2e339090 Mon Sep 17 00:00:00 2001 From: MaeIsBad <26093674+MaeIsBad@users.noreply.github.com> Date: Mon, 5 Dec 2022 18:33:21 +0100 Subject: [PATCH] Revert "[PLATFORM-822]: Fix rustdoc warnings (#34)" (#36) --- .drone.yml | 38 ++++++++++---------------------------- Makefile.toml | 5 ----- 2 files changed, 10 insertions(+), 33 deletions(-) diff --git a/.drone.yml b/.drone.yml index 1da8222..578a7c4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -16,13 +16,12 @@ steps: PLUGIN_DEPTH: 5 - name: cache-restore - image: public.ecr.aws/prima/drone-tools:1.22.1 + image: public.ecr.aws/prima/drone-tools:1.21.3 commands: - . /etc/profile.d/ecs-credentials-endpoint - cache-restore environment: BUCKET_NAME: prima-ci-cache - CACHE_COMPRESSION_ALGO: gz volumes: - name: ecs path: /etc/profile.d/ecs-credentials-endpoint @@ -32,7 +31,7 @@ steps: - git-clone - name: check-secrets - image: public.ecr.aws/prima/drone-tools:1.22.1 + image: public.ecr.aws/prima/drone-tools:1.21.3 commands: - . /etc/profile.d/ecs-credentials-endpoint - check-secrets-grants @@ -43,19 +42,17 @@ steps: - git-clone - name: check-public-docker-images - image: public.ecr.aws/prima/drone-tools:1.22.1 + image: public.ecr.aws/prima/drone-tools:1.21.3 commands: - check-public-docker-images depends_on: - git-clone - name: build-image - image: public.ecr.aws/prima/drone-tools:1.22.1 + image: public.ecr.aws/prima/drone-tools:1.21.3 commands: - sed -i 's/USER app/USER root/g' ./Dockerfile - docker build -t prima/prima_datadog.rs-ci:${DRONE_COMMIT} ./ - environment: - DOCKER_DEFAULT_PLATFORM: linux/amd64 volumes: - name: docker path: /var/run/docker.sock @@ -90,16 +87,6 @@ steps: depends_on: - cargo-format -- name: cargo-rustdoc-ci - image: prima/prima_datadog.rs-ci:${DRONE_COMMIT} - commands: - - cargo make --profile drone rustdoc-ci - environment: - BUILD_ENV: dev - CARGO_HOME: /drone/src/.cargo - depends_on: - - cargo-format - - name: cargo-test image: prima/prima_datadog.rs-ci:${DRONE_COMMIT} commands: @@ -107,9 +94,9 @@ steps: environment: BUILD_ENV: dev CARGO_HOME: /drone/src/.cargo + CARGO_HTTP_CAINFO: "" depends_on: - cargo-clippy-ci - - cargo-rustdoc-ci - name: cargo-build image: prima/prima_datadog.rs-ci:${DRONE_COMMIT} @@ -136,17 +123,15 @@ steps: - cargo-build - cargo-format - cargo-clippy-ci - - cargo-rustdoc-ci - cargo-test - name: cache-save - image: public.ecr.aws/prima/drone-tools:1.22.1 + image: public.ecr.aws/prima/drone-tools:1.21.3 commands: - . /etc/profile.d/ecs-credentials-endpoint - - cache-save .cargo + - cache-save target environment: BUCKET_NAME: prima-ci-cache - CACHE_COMPRESSION_ALGO: gz volumes: - name: ecs path: /etc/profile.d/ecs-credentials-endpoint @@ -188,13 +173,12 @@ steps: PLUGIN_DEPTH: 5 - name: cache-restore - image: public.ecr.aws/prima/drone-tools:1.22.1 + image: public.ecr.aws/prima/drone-tools:1.21.3 commands: - . /etc/profile.d/ecs-credentials-endpoint - cache-restore environment: BUCKET_NAME: prima-ci-cache - CACHE_COMPRESSION_ALGO: gz volumes: - name: ecs path: /etc/profile.d/ecs-credentials-endpoint @@ -204,12 +188,10 @@ steps: - git-clone - name: build-image - image: public.ecr.aws/prima/drone-tools:1.22.1 + image: public.ecr.aws/prima/drone-tools:1.21.3 commands: - sed -i 's/USER app/USER root/g' ./Dockerfile - docker build -t prima/prima_datadog.rs-ci:${DRONE_COMMIT} ./ - environment: - DOCKER_DEFAULT_PLATFORM: linux/amd64 volumes: - name: docker path: /var/run/docker.sock @@ -282,6 +264,6 @@ depends_on: --- kind: signature -hmac: cc31b058693df2e7cafc93e9b3065b28aa01df8c2f85a2b08055bc129e69f490 +hmac: 0ce3c0024f817c33a13bd46c254a2cc5fafee51e37ac1b1371c3fc0c76a269c3 ... diff --git a/Makefile.toml b/Makefile.toml index 3a6932e..40dab51 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -59,11 +59,6 @@ args = ["fmt", "--all", "--", "--check"] command = "cargo" args = ["clippy", "--", "-D", "warnings"] -[tasks.rustdoc-ci] -command = "cargo" -args = ["doc", "--document-private-items", "--workspace", "--all-features", "--no-deps"] -env = {"RUSTDOCFLAGS" = "-Dwarnings" } - [tasks.build-ci] description = "Build inside CI." command = "cargo"