You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-31 09:24:31 +03:00
Disable the Prometheus feature by default
It remains enabled in the Docker image, but this avoids having to have protoc installed to build the binary
This commit is contained in:
9
.github/workflows/ci.yaml
vendored
9
.github/workflows/ci.yaml
vendored
@ -186,9 +186,6 @@ jobs:
|
|||||||
rustup default 1.65.0
|
rustup default 1.65.0
|
||||||
rustup component add clippy
|
rustup component add clippy
|
||||||
|
|
||||||
- name: Install Protoc
|
|
||||||
uses: arduino/setup-protoc@v1
|
|
||||||
|
|
||||||
- name: Setup OPA
|
- name: Setup OPA
|
||||||
uses: open-policy-agent/setup-opa@v2.0.1
|
uses: open-policy-agent/setup-opa@v2.0.1
|
||||||
with:
|
with:
|
||||||
@ -246,9 +243,6 @@ jobs:
|
|||||||
rustup toolchain install ${{ matrix.toolchain }}
|
rustup toolchain install ${{ matrix.toolchain }}
|
||||||
rustup default ${{ matrix.toolchain }}
|
rustup default ${{ matrix.toolchain }}
|
||||||
|
|
||||||
- name: Install Protoc
|
|
||||||
uses: arduino/setup-protoc@v1
|
|
||||||
|
|
||||||
- name: Setup OPA
|
- name: Setup OPA
|
||||||
uses: open-policy-agent/setup-opa@v2.0.1
|
uses: open-policy-agent/setup-opa@v2.0.1
|
||||||
with:
|
with:
|
||||||
@ -311,9 +305,6 @@ jobs:
|
|||||||
rustup default stable
|
rustup default stable
|
||||||
rustup component add llvm-tools-preview
|
rustup component add llvm-tools-preview
|
||||||
|
|
||||||
- name: Install Protoc
|
|
||||||
uses: arduino/setup-protoc@v1
|
|
||||||
|
|
||||||
- name: Setup OPA
|
- name: Setup OPA
|
||||||
uses: open-policy-agent/setup-opa@v2.0.1
|
uses: open-policy-agent/setup-opa@v2.0.1
|
||||||
with:
|
with:
|
||||||
|
@ -57,7 +57,7 @@ mas-templates = { path = "../templates" }
|
|||||||
indoc = "1.0.7"
|
indoc = "1.0.7"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["jaeger", "zipkin", "prometheus", "webpki-roots", "policy-cache"]
|
default = ["jaeger", "zipkin", "webpki-roots", "policy-cache"]
|
||||||
|
|
||||||
# Features used in the Docker image
|
# Features used in the Docker image
|
||||||
docker = ["otlp", "jaeger", "zipkin", "prometheus", "native-roots", "mas-config/docker"]
|
docker = ["otlp", "jaeger", "zipkin", "prometheus", "native-roots", "mas-config/docker"]
|
||||||
|
Reference in New Issue
Block a user