Commit Graph

229 Commits

Author SHA1 Message Date
Patrik Oldsberg 74b9561a2b github/workdflows: bump setup-msbuild to fix windows builds (#3321) 2020-11-18 01:44:17 +01:00
Himanshu Mishra 7a46fa07d1 TechDocs project: Use org token GH_SERVICE_ACCOUNT_TOKEN 2020-11-13 15:22:24 +01:00
Himanshu Mishra 9badb8f737 TechDocs project: try without having an emoji in the name 2020-11-11 09:53:26 +01:00
Himanshu Mishra 99c35b909a Emojis are nice - Fix column name Incoming 📨 2020-11-10 15:29:28 +01:00
Himanshu Mishra 8dd60357f1 Add MY_GITHUB_TOKEN for the project board automation workflow 2020-11-10 15:20:20 +01:00
Himanshu Mishra 954df59063 Move TechDocs project board: Fix workflow 2020-11-10 10:22:48 +01:00
Adam Harvey e1292f417c Fix #3329: Prevent nightly build on forks (#3261)
* Prevent nightly build on forks

* Fix indentation

* Fix prettier!
2020-11-07 07:47:08 +01:00
Himanshu Mishra 47a611f115 TechDocs: Remove techdocs-container package from mono-repo (#3230)
* Move techdocs-container package to backstage/techdocs-container

* Clean up codeowners

* Remove unnecessary GitHub CI workflow

* Modify path in docs for techdocs-container

* Fix techdocs-cli URL

* Remove techdocs packages from docs/support/packages
2020-11-05 14:58:48 +01:00
Patrik Oldsberg bb8dc75427 Merge pull request #3222 from backstage/rugvip/wokrsion
workflows: fix changeset release script naming
2020-11-03 15:53:04 +01:00
Himanshu Mishra d5c74f0415 Merge pull request #3216 from backstage/orkohunter/remove-techdocs-core-from-mono-repo 2020-11-03 15:51:22 +01:00
Patrik Oldsberg 57fd2cb7b2 workflows: fix changeset release script naming 2020-11-03 15:30:36 +01:00
Patrik Oldsberg 1914a3e88b workflows: run prettier as part of changeset versioning 2020-11-03 14:31:15 +01:00
Himanshu Mishra 9d800c49cc TechDocs: Remove unnecessary GitHub workflow steps 2020-11-03 11:47:35 +01:00
Patrik Oldsberg af141c0766 rewrite repo location urls 2020-11-03 11:03:49 +01:00
Patrik Oldsberg ed3ff8f8e3 docs: moved verify-links to scripts 2020-11-01 13:25:38 +01:00
Patrik Oldsberg 75499a4418 Merge pull request #2846 from spotify/rugvip/e2e
e2e-test: converted into a CLI
2020-10-12 15:18:46 +02:00
Patrik Oldsberg 9eea5da094 github/workflows: use the tip of master as the base for comparing PR code coverage 2020-10-12 13:38:24 +02:00
Patrik Oldsberg 7de1004f03 e2e-test: converted into a CLI 2020-10-10 17:26:27 +02:00
Fredrik Adelöw 8115f5a0e4 chore(workflows): run prettier on microsite changes too 2020-10-04 21:12:05 +02:00
Patrik Oldsberg a825e4321a Merge pull request #2716 from spotify/rugvip/nightly-fix
workflows: fix nightly release build
2020-10-02 10:26:09 +02:00
Patrik Oldsberg a22aa8c9f3 workflows: fix nightly release build 2020-10-02 09:47:39 +02:00
Mayursinh Sarvaiya 5c6a0356c0 feat: TechDocs - Add vale linter to check words quality in md files. (#2631)
* fix(docs): typos which were reflacted from vale linter's command

* feat: Implement Vale linter (#2031)
Initialize .vale.ini file
Add 'lint:docs' script to package.json, to lint all md files except the ones which are located in node_modules
Generate 'vocab.txt' by using command 'yarn run lint:docs' | grep -o ''[a-z A-Z]*'' | grep -o '[a-z A-Z]*' | sort | uniq > .github/styles/vocab.txt
Add steps to github workflow 'master' to check docs quality

* chore: Separate workflow for quality checking

* chore: Added 'shx' dev dependency to support grep command in cross platform

* feat: Add script to operate same quality check process on different platform

* ignore: remove lint:docs from lint-stages which was added for experiment purpose

* fix: check-all-files on push event & check-changed-files on pull_request event

* chore(CI): triggle workflow only when there is any updates in .md file(s) on pull request

* fix: use spawnSync to solve 'The command line is too long.' error

* fix: github workflow syntax

* fix: prettier error

* chore: add vale command directly to lint-staged

* chore: use shebang for easy access

* fix: windows script issue & remove shebang

* chore: Add shebang flag

* chore: better error message related to vale

* chore: mention vale linter in documentation

* fix: spelling errors & add keywords to vocab.txt
2020-10-02 07:20:47 +02:00
blam 9f650a3121 chore(prettier): running prettier on workflow 2020-10-01 12:41:49 +02:00
Ben Lambert cb9a9116c2 Update codeql-analysis.yml 2020-10-01 12:09:55 +02:00
Ben Lambert 904a4332a9 Added CodeQL Workflow for coed scanning 2020-10-01 12:00:40 +02:00
Patrik Oldsberg badc6408c4 workflows: add nightly snapshot release 2020-10-01 10:42:45 +02:00
Himanshu Mishra c5d4071943 Remove scaffolder gh workflow which publishes to gh docker registry
We are currently publishing the backstage-cookiecutter to DockerHub.
This is done by an integration between DockerHub and GitHub.
And so, we do not need this workflow and publish to GitHub's registry.
2020-09-30 14:57:04 +02:00
Patrik Oldsberg f1e96f2f9c github/workflows: include node version in modules cache key 2020-09-28 17:52:28 +02:00
blam 2e8d01a10c Try to add msbuild so we can build from source if the binary download fails for nodev14 2020-09-28 16:05:13 +02:00
Patrik Oldsberg dad7b96194 package: allow node v14 and add to master build matrix 2020-09-28 12:30:37 +02:00
Himanshu Mishra b581d5cc26 Merge pull request #2561 from spotify/orkohunter/codecov-flags 2020-09-23 10:18:54 +02:00
Himanshu Mishra 03c483d7ce Simplify codecov flag names 2020-09-23 10:02:45 +02:00
Himanshu Mishra 53e171b8f7 Upload package specific code coverage to codecov
We have declared the flags in .codecov.yml. From our master branch workflow
we will upload specific coverage reports for these each individual flags.
2020-09-22 14:55:54 +02:00
Patrik Oldsberg af2567efbf Merge branch 'master' into tm/add-changesets 2020-09-21 17:53:02 +02:00
Fredrik Adelöw c44af2deac fix(workflows): do not run e2e when contrib or docs change 2020-09-18 11:15:49 +02:00
Patrik Oldsberg 189ec4f6aa Merge pull request #2441 from spotify/rugvip/win
github/workflows: remove global yarn cache from windows build
2020-09-14 15:55:28 +02:00
Taras Mankovski cdb5510b2f Fix formatting of changeset workflow 2020-09-13 13:19:27 -04:00
Taras Mankovski 10eafce72a Add --frozen-lockfile on yarn install 2020-09-13 13:19:27 -04:00
Taras Mankovski 5b5928a52e Add changeset workflow 2020-09-13 13:19:27 -04:00
Himanshu Mishra a737bc2eeb TechDocs: Automatically add new Issues/PRs to GitHub project board (#2443)
* TechDocs: Automatically add new Issues/PRs to GitHub project board

* Merge two separate jobs into one
2020-09-13 14:11:43 +02:00
Patrik Oldsberg 5c9e1da0a9 github/workflows: remove global yarn cache from windows build 2020-09-12 16:06:10 +02:00
Himanshu Mishra 735411f332 Upload test coverage to codecov (#2406)
* Add CI task to upload test coverage to codecov

Backstage CLI runs tests in coverage mode. Jest generates coverage reports in individual
coverage/ directories of packages.
We don't need a Codecov token here because our repository is public

* Upload test coverage on master build

* tests and coverage upload have to be run in same CI task

* try coverage report with yarn test:all

* Use yarn test and test:all commands

* Use lower level commands on CI

* CLI working 

* Do not upload partial coverage reports
2020-09-11 11:18:52 +02:00
Patrik Oldsberg 3ec99fbc55 cli: make skipLibCheck default in tsconfig, but provide tsc:full 2020-09-07 17:30:57 +02:00
Patrik Oldsberg 81d5fad250 Merge pull request #2226 from spotify/rugvip/wintest
Make tests work on Windows and run as part of Windows master build
2020-09-07 13:50:18 +02:00
Patrik Oldsberg 4ddc1e6f77 workflows: lint and test in windows master build 2020-09-06 14:38:25 +02:00
Patrik Oldsberg a18c054e9b workflows: ensure that working directory is clean at the end of build 2020-09-06 10:55:20 +02:00
Patrik Oldsberg b045b166b6 run prettier 2020-09-05 16:37:30 +02:00
Patrik Oldsberg 7a7396be55 add prettier scripts and .prettierignore + workflow check 2020-09-05 16:36:58 +02:00
Patrik Oldsberg 3fa419d765 workflows: skip caching in microsite deployment 2020-09-05 15:27:41 +02:00
Patrik Oldsberg 66f53328f8 microsite: remove from workspace and build independently 2020-09-05 11:16:14 +02:00