From 3e9e667bc3d4a7bb5c41628c3cb219cf18315b3f Mon Sep 17 00:00:00 2001 From: Michael Kochell <6913320+mickmister@users.noreply.github.com> Date: Thu, 12 Jan 2023 13:53:35 -0500 Subject: [PATCH] reintroduce circleci --- .circleci/config.yml | 63 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..5c319f0d --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,63 @@ +version: 2.1 + +orbs: + plugin-ci: mattermost/plugin-ci@volatile + +workflows: + version: 2 + ci: + jobs: + - plugin-ci/lint: + filters: + tags: + only: /^v.*/ + - plugin-ci/test: + filters: + tags: + only: /^v.*/ + - plugin-ci/coverage: + filters: + tags: + only: /^v.*/ + requires: + - plugin-ci/test + - plugin-ci/build: + filters: + tags: + only: /^v.*/ + requires: + - plugin-ci/test + - plugin-ci/deploy-ci: + filters: + branches: + only: master + context: plugin-ci + requires: + - plugin-ci/lint + - plugin-ci/coverage + - plugin-ci/build + - plugin-ci/test + - plugin-ci/deploy-release: + filters: + tags: + only: /^v.*/ + branches: + ignore: /.*/ + context: plugin-ci + requires: + - plugin-ci/lint + - plugin-ci/coverage + - plugin-ci/build + - plugin-ci/test + - plugin-ci/deploy-release-github: + filters: + tags: + only: /^v.*/ + branches: + ignore: /.*/ + context: matterbuild-github-token + requires: + - plugin-ci/lint + - plugin-ci/coverage + - plugin-ci/build + - plugin-ci/test