From 470031251cc4f7d70227140f7edde09b53c372c4 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 28 Sep 2024 21:46:25 -0400 Subject: [PATCH] Remove prettier. --- .webhook_bridge/pipeline-format.yaml | 39 +------------------- docker/webhook_bridge_development/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 39 deletions(-) diff --git a/.webhook_bridge/pipeline-format.yaml b/.webhook_bridge/pipeline-format.yaml index f738790..1c18e3d 100644 --- a/.webhook_bridge/pipeline-format.yaml +++ b/.webhook_bridge/pipeline-format.yaml @@ -144,43 +144,6 @@ spec: params: - name: docker-image value: "$(params.image-name):$(tasks.fetch-repository.results.commit)" - - name: run-prettier - taskSpec: - metadata: {} - params: - - name: docker-image - type: string - description: Docker image to run. - default: alpine:3.19 - stepTemplate: - image: alpine:3.19 - computeResources: - requests: - cpu: 10m - memory: 600Mi - workingDir: /workspace/source - workspaces: - - name: source - mountPath: /source - steps: - - name: run - image: $(params.docker-image) - workingDir: "$(workspaces.source.path)" - command: ["sh", "-c"] - args: - - | - prettier --write --no-error-on-unmatched-pattern "default_environment/**/*.js" "default_environment/**/*.css" - env: - - name: CARGO_TARGET_DIR - value: /target - workspaces: - - name: source - workspace: git-source - runAfter: - - run-cargo-fmt - params: - - name: docker-image - value: "$(params.image-name):$(tasks.fetch-repository.results.commit)" - name: commit-changes taskRef: resolver: git @@ -211,7 +174,7 @@ spec: - name: source workspace: git-source runAfter: - - run-prettier + - run-cargo-fmt finally: - name: report-success when: diff --git a/docker/webhook_bridge_development/Dockerfile b/docker/webhook_bridge_development/Dockerfile index 41b1da5..d430052 100644 --- a/docker/webhook_bridge_development/Dockerfile +++ b/docker/webhook_bridge_development/Dockerfile @@ -1,6 +1,6 @@ FROM rustlang/rust:nightly-alpine3.19 AS builder -RUN apk add --no-cache musl-dev +RUN apk add --no-cache musl-dev pkgconfig RUN cargo install --locked --no-default-features --features ci-autoclean cargo-cache RUN rustup component add rustfmt RUN rustup component add clippy