1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Commit Graph

519 Commits

Author SHA1 Message Date
Grace Park
670c7b90b9 Merge branch 'main' into redirects-fix 2021-06-17 14:13:06 -07:00
Grace Park
74d30fe672 Merge branch 'redirects-fix' of https://github.com/github/docs-internal into redirects-fix 2021-06-17 14:08:13 -07:00
Grace Park
a1ec2d013b updating test with sarahs changes 2021-06-17 14:07:50 -07:00
Sarah Schneider
1801dc4a8a Merge branch 'main' of github.com:github/docs-internal into add-release-notes-tests 2021-06-17 16:06:57 -04:00
Sarah Schneider
255bb9e0f3 check status code too 2021-06-17 16:06:43 -04:00
Sarah Schneider
62ba27c8ea Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-17 15:59:50 -04:00
Sarah Schneider
53291a98e2 Merge branch 'main' of github.com:github/docs-internal into feature-versioning 2021-06-17 14:42:34 -04:00
Sarah Schneider
7f0737b162 add feature versions schema and tests 2021-06-17 14:41:31 -04:00
Grace Park
91bf056909 Merge branch 'main' into localized-mini-tocs-bugfix 2021-06-17 11:25:53 -07:00
Grace Park
14bc81d31d Merge branch 'main' into redirects-fix 2021-06-17 11:22:41 -07:00
Grace Park
11d0a47f9c updating test to include redirect_from on different pages 2021-06-17 11:17:36 -07:00
Mike Surowiec
5396f5f9e4 React: All landing pages (#19943)
* default all remaining landing pages to react, update tests
2021-06-17 10:04:53 -07:00
Sarah Schneider
0049c7868b test feature versioning in liquid conditionals 2021-06-17 11:42:02 -04:00
Sarah Schneider
7b6611a03c test feature versioning in frontmatter 2021-06-17 11:40:58 -04:00
Sarah Schneider
ba105bf3b2 move dummy pages into test fixtures 2021-06-17 11:40:31 -04:00
Sarah Schneider
c4076da967 test for release notes content, not just response 2021-06-17 09:33:45 -04:00
Grace Park
310cc5309b pull in main and conflicts 2021-06-16 14:02:31 -07:00
Sarah Schneider
f4b455b0c3 move from test helpers to script helpers 2021-06-16 13:14:55 -04:00
Sarah Schneider
49c149e618 Merge branch 'main' of github.com:github/docs-internal into script-to-use-short-versions 2021-06-16 12:34:19 -04:00
Grace Park
e795a6c79f Merge branch 'main' of https://github.com/github/docs-internal into site-tree-followup 2021-06-16 08:58:55 -07:00
Grace Park
98b59087c5 updating category pages test 2021-06-15 16:24:54 -07:00
Grace Park
5dd156c726 pages test passes 2021-06-15 14:54:47 -07:00
Mike Surowiec
306f6fc75e Enable more react pages (#19935)
* enable more react landing pages

* move nextjs page logic to separate middleware

* enable codespaces landing page + fixes

* enable /education

* enable /admin

* use pathToRegexp to match routes for react rendering

* run lint

* fix: typo in url

* update sidebar test
2021-06-15 13:31:17 -07:00
Sarah Schneider
ac8c65fffc update test to use short names 2021-06-15 15:03:53 -04:00
Sarah Schneider
b848e89ae5 add a linter to prevent if tags for versioning 2021-06-15 15:03:39 -04:00
Sarah Schneider
bf23c05cb5 rename helper module 2021-06-15 15:03:17 -04:00
Grace Park
1823cff641 updating pages to page-data 2021-06-15 11:02:05 -07:00
Sarah Schneider
0cfa334280 update test 2021-06-14 20:20:11 -04:00
Sarah Schneider
098a6a31bf Merge branch 'support-short-versions' of github.com:github/docs-internal into support-short-versions-in-frontmatter 2021-06-14 19:53:11 -04:00
Sarah Schneider
a200a74a0f Merge branch 'main' into support-short-versions 2021-06-14 19:52:04 -04:00
Sarah Schneider
66a1dc493c support short versions in frontmatter 2021-06-14 19:51:38 -04:00
James M. Greene
f388a3d550 Deploy to staging manually using a script (#19769)
* Add 'script/deploy' to enable manual deploys to Heroku

* Pass API tokens into 'deploy-to-staging' module usage

* Construct Octokit instance to pass in

* Get PR branch name and verify state

* Reorganize

* Rename option to 'octokit'

* Add missing option

* Actually use the convenience methods for convenience

* Simplify top-level script

* Top-level script revisions

* Add parse-pr-url module

* Add create-staging-app-name module

* Remove misplaced comment

* Pass in owner

* Use owner param

* More variables

* Pass owner along more

* Correct prNumber param reference

* Add WIP deploy-to-staging module

* Prevent 'scripts/' and '.github/actions-scripts/' files from being modified in open source repo

* Extract PR author earlier

* Add note about optionally supplying DOCUBOT_REPO_PAT env var

* Override Heroku env var during AppSetup creation instead of later to avoid triggering a second deploy

* Updates to deploy-to-staging module

* Lots of updates

* Add dyno start-up monitoring and warmup requests

* Ignore 'script/deploy' in the repository-references test

* Correct path to Octokit helper

* Temporarily add a 'gha-' prefix to environment names

* Log whole error if terminal. Good for Octokit errors!

* Correct Octokit preview configuration

* Add more logging around Heroku build and release

* Added more timings to log messages

* Monitor dyno states specifically from the dyno list view to avoid 404 oddities when Free dynos are dropped and non-Free dynos are added

* Don't wait for AppSetup status as it includes the Build time

* Updating logging since we don't see DeploymentStatus update messages in the UI =(

* Remove commented out code

* Refactor to extract more properties from the PR object

* Fix reference to pull request number

* Increase Heroku polling intervals from 2.5 seconds to 5 seconds

* Remove unhelpful createDeploymentStatus API calls

* Workaround Heroku's secondary release upon app creation
2021-06-14 22:32:07 +00:00
Grace Park
2c8940a8c8 updating headers of fixture 2021-06-14 14:25:14 -07:00
Sarah Schneider
d96fa5e2f0 add convience props to context and put supported ops in a separate module 2021-06-14 16:24:48 -04:00
Sarah Schneider
47d78cc105 Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-14 16:16:43 -04:00
Sarah Schneider
5d7174d035 remove .only 2021-06-11 15:32:01 -04:00
Sarah Schneider
7466e24a9b Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-11 15:25:20 -04:00
Sarah Schneider
b4b4804a07 add ifversion tag linter 2021-06-11 15:23:09 -04:00
Grace Park
3f248976ad Merge branch 'main' of https://github.com/github/docs-internal into grace-header-styling 2021-06-10 18:08:33 -07:00
Felicity Chapman
23b0b84111 Add Code security landing and guides pages (#19650) 2021-06-10 20:14:56 +00:00
Sarah Schneider
37ed508ebe support not keyword and operator 2021-06-10 14:14:45 -04:00
Sarah Schneider
6076350495 Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-10 14:13:34 -04:00
Kevin Heis
ef48759cb0 React: remove expose (#19771)
* React: remove expose

* Update context.js

* More changes

* fix: scripts check for IS_NEXTJS_PAGE so there's no timing issue

* run lint

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
2021-06-10 16:53:43 +00:00
Grace Park
b8cb15444b update test 2021-06-10 09:43:32 -07:00
Sarah Schneider
33cec6f10f add linter to catch use of {% if version %} instead of {% ifversion %} 2021-06-10 12:12:00 -04:00
Sarah Schneider
534996d81c change ifver to ifversion 2021-06-10 11:53:56 -04:00
Sarah Schneider
b8bc94aed4 Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-10 11:50:52 -04:00
Sarah Schneider
5d6d2d2cb7 Merge branch 'main' of github.com:github/docs-internal into support-short-versions 2021-06-09 17:00:37 -04:00
Sarah Schneider
4f43873bbc throw errors if we are trying to evaluate strings in Liquid conditionals (they always evaluate to true and may render content we don't want) 2021-06-09 17:00:05 -04:00
Sarah Schneider
ca30a48ba6 add shortName as a required prop in the versions schema 2021-06-09 16:59:09 -04:00