1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Commit Graph

507 Commits

Author SHA1 Message Date
Rachael Sewell
4afdd80f2d Update sync-search-indices.yml (#21375) 2021-09-08 19:59:19 -07:00
Rachael Sewell
038cba325f observer FREEZE variable in search sync workflow (#21372) 2021-09-08 14:58:34 -07:00
Mike Surowiec
3c0e4e03b8 fix: pin workflow node-version to 16.8.x (#21361) 2021-09-08 11:08:53 -04:00
Robert Sese
2af1259f27 Docker image deploy fixes: more timeout minutes, Heroku API secret name (#21344)
* Increase timeout-minutes

* Fix secret name
2021-09-07 15:53:13 -04:00
Robert Sese
e4109e5561 Set env vars for image deploy (#21340)
* Set necessary env variables

* Don't need PR_URL
2021-09-07 18:03:20 +00:00
Matt Pollard
586133a2ac Remove old broken link report from Docs Content's first responder project board (#21325) 2021-09-07 17:16:55 +00:00
Ramya Parimi
b4b2a3ae08 Merge branch 'main' into ramyaparimi/close-on-invalid-label 2021-09-07 10:49:24 -05:00
Ramya Parimi
60fdce01a6 Update .github/workflows/close-on-invalid-label.yaml
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-09-07 10:28:06 -05:00
Ramya Parimi
9e00885199 Update .github/workflows/close-on-invalid-label.yaml
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-09-07 10:27:37 -05:00
Ramya Parimi
5e9f566e82 Merge branch 'ramyaparimi/close-on-invalid-label' of https://github.com/github/docs-internal into ramyaparimi/close-on-invalid-label 2021-09-07 10:26:24 -05:00
Ramya Parimi
c4d099e292 prettier 2021-09-07 10:24:36 -05:00
Ramya Parimi
846dac866c Update .github/workflows/close-on-invalid-label.yaml
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-09-07 10:23:46 -05:00
Robert Sese
060119bdd7 Require helper scripts (#21322) 2021-09-07 10:07:02 -05:00
Ramya Parimi
9aa2880ddf Update .github/workflows/close-on-invalid-label.yaml
Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com>
2021-09-07 06:39:09 -05:00
Ramya Parimi
719a9cf63d Create close-on-invalid-label.yaml
Workflow to close issue/PR on adding `invalid` label.
2021-09-07 06:07:13 -05:00
Robert Sese
889b8a4556 Don't persist credentials (#21321) 2021-09-03 17:40:28 -04:00
Mike Surowiec
b51253251f Docker: Clone base branch instead of selective files (#21317)
* clone base branch instead of selective files
2021-09-03 16:54:55 -04:00
Robert Sese
6752962153 Remove commented out steps and keep scripts/ (#21315) 2021-09-03 16:21:51 -04:00
Robert Sese
31fa5d14f9 Unique Docker workflows concurrency group (#21312)
* Unique concurrency group for Docker deploy

* Unique concurrency group for Docker deploy
2021-09-03 19:59:01 +00:00
James M. Greene
3614efff2d Update renamed Octokit function from 'createStatus' to 'createCommitStatus' (#21310) 2021-09-03 14:14:15 -05:00
Robert Sese
1be942c989 Fix directory path (#21309) 2021-09-03 19:02:21 +00:00
James M. Greene
fe767f3da0 Actions staging deployment with Status updates instead of Check Runs (#21283)
* Update Staging deployment workflow to create Status updates

* Update local Staging deployment script to create Status updates

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-09-03 18:55:24 +00:00
Robert Sese
f0ca29ed46 branches filter applies to base branch on PR (#21306) 2021-09-03 18:37:27 +00:00
Mike Surowiec
5536ec60de fix: docker branch name match for workflow run (#21303) 2021-09-03 14:17:32 -04:00
James M. Greene
0a83ea7869 Fix syntax in Actions staging deploy (#21281)
* Fix syntax error

* Convert dates sent to API to ISO format

* Add details_url with link to Actions run log

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-09-03 13:13:59 -05:00
Robert Sese
cbfba14ac1 Docker image deploy to Heroku (#21248)
* Start parallel Docker image deploy workflows

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@users.noreply.github.com>

* Add early access content build stage

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>

* Create Heroku App script and workflow steps

* Tag the image for Heroku

* Push the image and grab the image ID

* Set app name and image id outputs

* Add parallel deploy script for Docker

* Scope workflow run to 'docker-' and release image to Heroku

* Update .github/workflows/staging-build-pr-docker.yml

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Exclude Docker workflow

* Cleanup Docker deploys

* Use action sha

Co-authored-by: Mike Surowiec <mikesurowiec@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@users.noreply.github.com>
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-09-03 16:34:48 +00:00
James M. Greene
b680991468 Fix JS syntax errors (#21278) 2021-09-03 00:00:03 -05:00
James M. Greene
40b376edc1 Revisions to path parsing (#21277) 2021-09-02 23:50:48 -05:00
James M. Greene
f315d49344 Reduce checkout to a single file for efficiency (#21262) 2021-09-02 17:38:03 +00:00
Rachael Sewell
b1a3250686 Update staging-deploy-pr.yml (#21250) 2021-09-01 22:44:14 +00:00
James M. Greene
581bf4529e Un-hard-code repo in deployment Checks API calls (#21246) 2021-09-01 14:40:58 -07:00
James M. Greene
cd1f56005d Small tidying up of Actions deployment for staging (#21221) 2021-09-01 20:19:04 +00:00
Rachael Sewell
1d97c125f0 fix sha ref and Unexpected identifier (#21228)
* fix sha ref and Unexpected identifier

* Update .github/workflows/staging-deploy-pr.yml

Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-09-01 17:40:28 +00:00
Grace Park
23f4ea59d5 Updating Content Changes Table (#21130)
* Updating table

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: Felicity Chapman <felicitymay@github.com>

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>

* Update .github/workflows/content-changes-table-comment.yml

Co-authored-by: James M. Greene <JamesMGreene@github.com>

* updating links

Co-authored-by: James M. Greene <JamesMGreene@github.com>
Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com>
2021-09-01 15:55:39 +00:00
Kevin Heis
5b55f5cac3 Update sync-search-indices.yml (#21125) 2021-09-01 08:05:15 -07:00
Rachael Sewell
3fc0fa7012 add check suite for deploy workflow (#21210)
Co-authored-by: James M. Greene <JamesMGreene@github.com>
2021-08-31 23:02:32 +00:00
James M. Greene
41bd23742e Fix multiline 'if' syntax to not return false positives (#21220) 2021-08-31 17:17:55 +00:00
Matt Pollard
921848e3a7 Revise comment (#21218) 2021-08-31 15:14:00 +00:00
James M. Greene
736b6a6d03 Fix multiline 'if' syntax to not return false positives (#21219) 2021-08-31 14:50:41 +00:00
James M. Greene
f8dd1ae768 Dump debug output for Actions workflow_run event (#21214) 2021-08-30 21:24:09 -05:00
James M. Greene
535e30c208 Include .npmrc file in builds to omit optionalDeps (#21192) 2021-08-30 14:53:45 +00:00
James M. Greene
577362f6ac Remove Heroku auth token from build source upload (#21187) 2021-08-27 19:51:29 +00:00
James M. Greene
697cfe8da4 Force the npm install of 'esm' to work (#21168) 2021-08-26 18:45:31 +00:00
James M. Greene
fecd0932ef Work around creating tar in scanned directory (#21161) 2021-08-26 16:36:48 +00:00
James M. Greene
4c54198fa5 Fix 'tar' flag ordering for quirky GNU tar (#21158)
See: https://unix.stackexchange.com/a/149498
2021-08-26 16:08:47 +00:00
James M. Greene
559e5f3289 Use the 'script/package.json' file for the early access cloning flow (#21156) 2021-08-26 09:55:22 -05:00
Rachael Sewell
556457d843 updated openapi dev check to trigger on script updates (#21139) 2021-08-25 17:14:04 -07:00
James M. Greene
17d663826b Add GITHUB_TOKEN for single file checkout (#21135) 2021-08-25 16:13:25 -05:00
James M. Greene
08db1c970c Refactor Staging deployment workflow to support open source PRs (#20459)
* Add a Staging build workflow

* Remove all commented out code from build workflow

It will be handled in https://github.com/github/docs-engineering/issues/726

* Use pinned version of upload-artifact action

* Tweaks to build

* Minor deployment script refactoring

* Update the Staging deployment workflow

* Missed refactoring tweak

* Add relevant comments

* Update Heroku app naming convention for Actions deploy to include 'gha-' prefix

* Update Heroku app ConfigVars and SourceBlob for optional prebuilt app

* Remove obsolete 'dist/' dir from PR build artifact

See https://github.com/github/docs-internal/pull/20405

* Ensure a new enough version of npm is used

* Switch to creating a tarball for upload

* Remove obsolete 'layouts' dir from file list

* Ditch the verbosity for 'tar'... too many files

* Add tarball support to deploy

* Add esm workaround to deploy script

See https://github.com/actions/github-script/issues/168

* Temporarily ignore staging deploy workflow from workflow linter

* Update deployment to use a Heroku Build Source instead of a GitHub Actions Artifact

* Update undeploy workflow to use ESM workaround

See https://github.com/actions/github-script/issues/168

* Add 'esm' package to optionalDependencies to better support workaround

See https://github.com/actions/github-script/issues/168

* Add Slack notifications for workflow failures

* Wrap AppSetup polling in try-catch

* Improve dyno monitoring

* Rename 'script/deploy' to have a .js extension #esm

* Update script references to include the extension

* Use non-deprecated Sources API for Heroku

* Use normal quotes

* Stub in a step to mark deployment inactive after timing out

* Apply suggestions from code review

Co-authored-by: Rachael Sewell <rachmari@github.com>

Co-authored-by: Rachael Sewell <rachmari@github.com>
2021-08-25 20:45:51 +00:00
James M. Greene
6e6f857395 More instructive comment in potentially spammy issues (#21110)
* More instructive comment in spammy issue comments

Co-authored-by: Janice <janiceilene@github.com>
2021-08-25 19:53:17 +00:00