Commit 9b6b0cad by Arve Knudsen Committed by GitHub

CircleCI: Disable for PRs (#26290)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
parent 7cdbae4a
...@@ -2,22 +2,11 @@ version: 2.1 ...@@ -2,22 +2,11 @@ version: 2.1
aliases: aliases:
# Workflow filters # Workflow filters
# filter-all triggers for all branches and version tags
- &filter-all
tags:
only: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
- &filter-only-release - &filter-only-release
branches: branches:
only: chore/test-release-pipeline only: chore/test-release-pipeline
tags: tags:
only: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/ only: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
- &filter-not-release-or-master
tags:
ignore: /^v[0-9]+(\.[0-9]+){2}(-.+|[^-.]*)$/
branches:
ignore:
- master
- chore/test-release-pipeline
- &filter-only-master - &filter-only-master
branches: branches:
only: master only: master
...@@ -1051,39 +1040,39 @@ workflows: ...@@ -1051,39 +1040,39 @@ workflows:
requires: requires:
- lint-go - lint-go
- build-backend: - build-backend:
filters: *filter-all filters: *filter-master-or-release
edition: oss edition: oss
variant: osx64 variant: osx64
name: build-oss-backend-osx64 name: build-oss-backend-osx64
requires: requires:
- lint-go - lint-go
- build-backend: - build-backend:
filters: *filter-all filters: *filter-master-or-release
edition: oss edition: oss
variant: win64 variant: win64
name: build-oss-backend-win64 name: build-oss-backend-win64
requires: requires:
- lint-go - lint-go
- build-backend: - build-backend:
filters: *filter-all filters: *filter-master-or-release
edition: oss edition: oss
variant: linux-x64 variant: linux-x64
name: build-oss-backend-linux-x64 name: build-oss-backend-linux-x64
requires: requires:
- lint-go - lint-go
- build-backend: - build-backend:
filters: *filter-all filters: *filter-master-or-release
edition: oss edition: oss
variant: linux-x64-musl variant: linux-x64-musl
name: build-oss-backend-linux-x64-musl name: build-oss-backend-linux-x64-musl
requires: requires:
- lint-go - lint-go
- build-frontend: - build-frontend:
filters: *filter-all filters: *filter-master-or-release
name: build-oss-frontend name: build-oss-frontend
edition: oss edition: oss
- build-plugins: - build-plugins:
filters: *filter-all filters: *filter-master-or-release
name: build-oss-plugins name: build-oss-plugins
edition: oss edition: oss
requires: requires:
...@@ -1124,39 +1113,39 @@ workflows: ...@@ -1124,39 +1113,39 @@ workflows:
requires: requires:
- lint-go - lint-go
- build-backend: - build-backend:
filters: *filter-all filters: *filter-master-or-release
name: build-enterprise-backend-osx64 name: build-enterprise-backend-osx64
edition: enterprise edition: enterprise
variant: osx64 variant: osx64
requires: requires:
- lint-go - lint-go
- build-backend: - build-backend:
filters: *filter-all filters: *filter-master-or-release
name: build-enterprise-backend-win64 name: build-enterprise-backend-win64
edition: enterprise edition: enterprise
variant: win64 variant: win64
requires: requires:
- lint-go - lint-go
- build-backend: - build-backend:
filters: *filter-all filters: *filter-master-or-release
name: build-enterprise-backend-linux-x64 name: build-enterprise-backend-linux-x64
edition: enterprise edition: enterprise
variant: linux-x64 variant: linux-x64
requires: requires:
- lint-go - lint-go
- build-backend: - build-backend:
filters: *filter-all filters: *filter-master-or-release
name: build-enterprise-backend-linux-x64-musl name: build-enterprise-backend-linux-x64-musl
edition: enterprise edition: enterprise
variant: linux-x64-musl variant: linux-x64-musl
requires: requires:
- lint-go - lint-go
- build-frontend: - build-frontend:
filters: *filter-all filters: *filter-master-or-release
name: build-enterprise-frontend name: build-enterprise-frontend
edition: enterprise edition: enterprise
- build-plugins: - build-plugins:
filters: *filter-all filters: *filter-master-or-release
name: build-enterprise-plugins name: build-enterprise-plugins
edition: enterprise edition: enterprise
requires: requires:
...@@ -1164,31 +1153,31 @@ workflows: ...@@ -1164,31 +1153,31 @@ workflows:
- build-release-publisher: - build-release-publisher:
filters: *filter-master-or-release filters: *filter-master-or-release
- codespell: - codespell:
filters: *filter-all filters: *filter-master-or-release
- lint-go: - lint-go:
filters: *filter-all filters: *filter-master-or-release
- shellcheck: - shellcheck:
filters: *filter-all filters: *filter-master-or-release
- test-backend: - test-backend:
filters: *filter-all filters: *filter-master-or-release
requires: requires:
- lint-go - lint-go
- test-frontend: - test-frontend:
filters: *filter-all filters: *filter-master-or-release
- mysql-integration-test: - mysql-integration-test:
filters: *filter-all filters: *filter-master-or-release
requires: requires:
- lint-go - lint-go
- test-backend - test-backend
- test-frontend - test-frontend
- postgres-integration-test: - postgres-integration-test:
filters: *filter-all filters: *filter-master-or-release
requires: requires:
- lint-go - lint-go
- test-backend - test-backend
- test-frontend - test-frontend
- package-oss: - package-oss:
filters: *filter-all filters: *filter-master-or-release
requires: requires:
- build-oss-backend-armv6 - build-oss-backend-armv6
- build-oss-backend-armv7 - build-oss-backend-armv7
...@@ -1206,7 +1195,7 @@ workflows: ...@@ -1206,7 +1195,7 @@ workflows:
- shellcheck - shellcheck
- build-oss-plugins - build-oss-plugins
- package-enterprise: - package-enterprise:
filters: *filter-all filters: *filter-master-or-release
requires: requires:
- build-enterprise-backend-armv6 - build-enterprise-backend-armv6
- build-enterprise-backend-armv7 - build-enterprise-backend-armv7
...@@ -1224,11 +1213,11 @@ workflows: ...@@ -1224,11 +1213,11 @@ workflows:
- shellcheck - shellcheck
- build-enterprise-plugins - build-enterprise-plugins
- build-oss-windows-installer: - build-oss-windows-installer:
filters: *filter-all filters: *filter-master-or-release
requires: requires:
- package-oss - package-oss
- build-enterprise-windows-installer: - build-enterprise-windows-installer:
filters: *filter-all filters: *filter-master-or-release
requires: requires:
- package-enterprise - package-enterprise
- release-next-packages: - release-next-packages:
...@@ -1264,12 +1253,12 @@ workflows: ...@@ -1264,12 +1253,12 @@ workflows:
- postgres-integration-test - postgres-integration-test
- build-release-publisher - build-release-publisher
- publish-storybook: - publish-storybook:
filters: *filter-all filters: *filter-master-or-release
requires: requires:
- test-backend - test-backend
- test-frontend - test-frontend
- build-docker-images: - build-docker-images:
filters: *filter-all filters: *filter-master-or-release
name: build-oss-docker-images name: build-oss-docker-images
edition: oss edition: oss
ubuntu: false ubuntu: false
...@@ -1280,7 +1269,7 @@ workflows: ...@@ -1280,7 +1269,7 @@ workflows:
- package-oss - package-oss
- build-oss-windows-installer - build-oss-windows-installer
- build-docker-images: - build-docker-images:
filters: *filter-all filters: *filter-master-or-release
name: build-oss-ubuntu-docker-images name: build-oss-ubuntu-docker-images
edition: oss edition: oss
ubuntu: true ubuntu: true
...@@ -1291,7 +1280,7 @@ workflows: ...@@ -1291,7 +1280,7 @@ workflows:
- package-oss - package-oss
- build-oss-windows-installer - build-oss-windows-installer
- build-docker-images: - build-docker-images:
filters: *filter-all filters: *filter-master-or-release
name: build-enterprise-docker-images name: build-enterprise-docker-images
edition: enterprise edition: enterprise
ubuntu: false ubuntu: false
...@@ -1302,7 +1291,7 @@ workflows: ...@@ -1302,7 +1291,7 @@ workflows:
- package-enterprise - package-enterprise
- build-enterprise-windows-installer - build-enterprise-windows-installer
- build-docker-images: - build-docker-images:
filters: *filter-all filters: *filter-master-or-release
name: build-enterprise-ubuntu-docker-images name: build-enterprise-ubuntu-docker-images
edition: enterprise edition: enterprise
ubuntu: true ubuntu: true
...@@ -1313,14 +1302,9 @@ workflows: ...@@ -1313,14 +1302,9 @@ workflows:
- package-enterprise - package-enterprise
- build-enterprise-windows-installer - build-enterprise-windows-installer
- end-to-end-tests: - end-to-end-tests:
filters: *filter-all filters: *filter-master-or-release
requires: requires:
- package-oss - package-oss
- build-docs-website:
filters: *filter-not-release-or-master
requires:
- mysql-integration-test
- postgres-integration-test
- deploy-to-kubernetes: - deploy-to-kubernetes:
filters: *filter-only-master filters: *filter-only-master
requires: requires:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment