Skip to content

Commit

Permalink
Revert "[PLATFORM-822]: Fix rustdoc warnings (#34)" (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaeIsBad authored Dec 5, 2022
1 parent 72aa0f7 commit 5f7ab0f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 33 deletions.
38 changes: 10 additions & 28 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -90,26 +87,16 @@ 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:
- cargo make --profile drone test
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}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -282,6 +264,6 @@ depends_on:

---
kind: signature
hmac: cc31b058693df2e7cafc93e9b3065b28aa01df8c2f85a2b08055bc129e69f490
hmac: 0ce3c0024f817c33a13bd46c254a2cc5fafee51e37ac1b1371c3fc0c76a269c3

...
5 changes: 0 additions & 5 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5f7ab0f

Please sign in to comment.