This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/.circleci/config.yml

69 lines
1.7 KiB
YAML
Raw Normal View History

---
# Circle CI YAML file
2017-08-07 04:07:33 +00:00
version: 2.0
2017-08-07 04:07:33 +00:00
jobs:
2017-09-24 17:45:00 +00:00
"Validate PR":
docker:
- image: jare/spacemacs-circleci:latest
2020-06-21 22:48:40 +00:00
environment:
BASH_ENV: ".circleci/shared"
2017-09-24 17:45:00 +00:00
steps:
- checkout
- run:
2018-08-22 12:25:45 +00:00
name: Make sure that this PR targets develop branch
2021-07-01 00:32:29 +00:00
command: .circleci/PR_base
2018-08-22 12:25:45 +00:00
- run:
name: Make sure that this PR doesn't need rebase
2021-07-01 00:32:29 +00:00
command: .circleci/PR_rebased
2020-09-06 12:11:59 +00:00
"Validate Documentation":
docker:
2018-05-20 11:54:20 +00:00
- image: jare/spacemacs-circleci:latest
2020-06-21 22:48:40 +00:00
environment:
BASH_ENV: ".circleci/shared"
2017-08-07 04:07:33 +00:00
steps:
- checkout
- run:
2019-04-03 04:23:55 +00:00
name: Select changed files
2021-07-01 00:32:29 +00:00
command: .circleci/select_pr_changed
- run:
name: export changed documentation files for validation
2021-07-01 00:32:29 +00:00
command: .circleci/org/export
- run:
name: validating changed documentation files
2021-07-01 00:32:29 +00:00
command: .circleci/org/validate
"Update built-in files":
docker:
- image: jare/spacemacs-circleci:latest
environment:
- BASH_ENV: ".circleci/shared"
- PUBLISH: "spacemacs_built_in"
steps:
2021-07-01 10:22:42 +00:00
- run:
name: Initialize bot account
command: .circleci/update/bot_init
- checkout
- run:
name: Make patch file
2021-07-01 00:32:29 +00:00
command: .circleci/update/upd_built_in
- run:
name: Open PR if built in files must be updated
2021-07-01 00:32:29 +00:00
command: .circleci/update/maybe_pr
workflows:
version: 2
validate_pr_files:
jobs:
2017-09-24 17:45:00 +00:00
- "Validate PR"
2020-09-06 12:11:59 +00:00
- "Validate Documentation"
update_built_in:
triggers:
- schedule:
cron: "0 0,6,12,18 * * *"
filters:
branches:
only:
- develop
jobs:
- "Update built-in files"