Mike Surowiec
94af3ac3d2
update production slot name to 'staging' ( #25131 )
2022-02-08 19:22:34 +00:00
Peter Bengtsson
2599d72116
conditionally clone docs-early-access by branchname ( #24674 )
...
* conditionally clone docs-early-access by branchname
* fix path
* right api
* the correct use of Octokit
* try that
* destructuring total_count
* test early access with fs.existsSync
* debugging
* bad lookup
* better lookup technique
* trying something
* always check it out
* with debugging
* with token
* with path
* better
* go for it
* only on docs-internal
* better name
* formatting
* tidying up
* correct octokit
* feedbacked
* correct hopefully
* final version
* disable test that checks for perfect translation-to-English file parity
* Accidentally committed in the wrong branch.
This reverts commit adee780718ea7414934e2257d17b0c004bd804af.
* match the azure-preview-env-deploy.yml
2022-02-08 17:20:51 +00:00
Peter Bengtsson
ac30f9297c
basic tests of the search API ( #25069 )
...
* basic tests of the search API
* lfs
2022-02-07 17:11:08 +00:00
Peter Bengtsson
8b95447274
delete the workflow linter ( #25075 )
2022-02-07 16:03:54 +00:00
Mike Surowiec
a58b045cbb
Azure: use shared env setter, fix comment workflow ( #25044 )
...
* update azure deployments to use shared env getter, fix content changes table
2022-02-04 22:30:12 +00:00
Mike Surowiec
c765958c75
better name for job ( #25013 )
2022-02-03 17:11:50 -06:00
Mike Surowiec
576c638ad0
Fix destroy azure workflow (again) ( #25011 )
...
* maybe the last syntax error to fix the deletion
* fix typo, add workflow_dispatch to destroy workflow
2022-02-03 22:14:41 +00:00
Kevin Heis
6a5bf8dbc0
Auto add docs engineering as a review to image optimize PRs ( #24991 )
2022-02-03 20:37:46 +00:00
Robert Sese
ce81897855
Delete codespaces-prebuild.yml ( #25007 )
2022-02-03 20:33:43 +00:00
Mike Surowiec
e5d0a81194
fix undeploy and improve naming ( #25000 )
2022-02-03 19:10:06 +00:00
Mike Surowiec
ea6896489f
Append unique identifier to app name ( #24971 )
...
* append unique identifier to app name
* obfuscate the preview url and clean up staging naming
* tighter link between obfuscated app name and pr app name
2022-02-03 08:33:24 -06:00
Ramya Parimi
c3faa4a88e
Update triage-pull-requests.yml ( #24947 )
2022-02-03 13:25:09 +00:00
Mike Surowiec
8f61d1c389
save time by not writing local cache ( #24958 )
2022-02-03 01:41:06 +00:00
github-actions[bot]
c028121e65
Optimize images ( #24959 )
...
* Update optimize-images.yml
* Optimize images
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: github-actions <github-actions@github.com >
2022-02-02 23:31:39 +00:00
Peter Bengtsson
ee0d88d261
include optional in package-lock lint ( #24932 )
2022-02-02 23:08:29 +00:00
dependabot[bot]
477c7d96ce
Bump docker/build-push-action from 2.7.0 to 2.9.0 ( #24892 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2.7.0 to 2.9.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2.7.0...7f9d37fa544684fb73bfe4835ed7214c255ce02b )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 22:32:32 +00:00
dependabot[bot]
62612c36b7
Bump github/codeql-action from 1.0.30 to 1.0.31 ( #24891 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](8b37404d56...1a927e9307 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2022-02-02 22:23:04 +00:00
dependabot[bot]
6507b31604
Bump peter-evans/create-pull-request from 3.12.0 to 3.12.1 ( #24893 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](dcd5fd746d...f22a7da129 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
Co-authored-by: Robert Sese <robert.sese@gmail.com >
2022-02-02 22:18:33 +00:00
Kevin Heis
baec102f4c
Update optimize-images.yml ( #24912 )
2022-02-02 22:14:20 +00:00
Mike Surowiec
59b53a9300
Improve docker build ( #24692 )
...
* better caching, reduce context size, etc
2022-02-02 21:05:20 +00:00
Mike Surowiec
68037ee244
Swap the fastly edge cache purge to happen on Azure prod deploys ( #24871 )
2022-02-01 16:04:40 +00:00
Robert Sese
9359183889
openapi-decorate.yml workflow fix: checkout head ref for add-and-commit action ( #24814 )
...
* Checkout head ref for add-and-commit action
* Add comment about why we specify the head ref
2022-01-31 23:59:14 +00:00
Chiedo John
5aadc44567
Delete start-new-engineering-pr-workflow.yml ( #24843 )
2022-01-31 21:55:51 +00:00
Mike Surowiec
9be1f70171
Shard staging across 4 Resource Groups ( #24750 )
...
* shard staging across 4 resource groups
2022-01-31 20:11:00 +00:00
Peter Bengtsson
e6a5dd7d8c
Remove .rest. from github-script ( #24832 )
...
Pair-debugged with @rsese
2022-01-31 18:03:16 +00:00
Kevin Heis
ea58881921
Quick optimize images ( #24815 )
2022-01-28 15:30:03 -08:00
Peter Bengtsson
d384b85e97
correct use of getWorkflowRun in actions/github-script v5 ( #24786 )
2022-01-28 11:14:24 -05:00
Rachael Sewell
ef4dee2e7d
Revert "Revert "rest/reference/repos#statuses redirect"" ( #24559 )
2022-01-27 22:09:20 +00:00
Mike Surowiec
86b0cf5f75
add deployment environment to production azure workflow ( #24629 )
2022-01-27 20:56:54 +00:00
Mike Surowiec
7593b2d274
Use registry + local cache instead of gha ( #24658 )
2022-01-26 18:52:38 -06:00
Peter Bengtsson
5f3036df69
shut down the old internal link check CI scripts ( #23694 )
2022-01-26 19:22:59 +00:00
Kevin Heis
f9f27e4497
Revert "Bump actions/github-script ( #24563 )" ( #24665 )
...
This reverts commit 4d3c203a4f .
2022-01-26 18:59:41 +00:00
dependabot[bot]
18ab23d5f0
Bump docker/build-push-action from 2.7.0 to 2.8.0 ( #24567 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](a66e35b9cb...1814d3dfb3 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2022-01-26 17:18:30 +00:00
dependabot[bot]
80cb94b2af
Bump EndBug/add-and-commit from 7.5.0 to 8.0.1 ( #24566 )
...
Bumps [EndBug/add-and-commit](https://github.com/EndBug/add-and-commit ) from 7.5.0 to 8.0.1.
- [Release notes](https://github.com/EndBug/add-and-commit/releases )
- [Changelog](https://github.com/EndBug/add-and-commit/blob/main/CHANGELOG.md )
- [Commits](8c12ff729a...756d9ea820 )
---
updated-dependencies:
- dependency-name: EndBug/add-and-commit
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2022-01-26 17:13:37 +00:00
dependabot[bot]
e4ed8847a5
Bump actions/stale from 4.0.0 to 4.1.0 ( #24564 )
...
Bumps [actions/stale](https://github.com/actions/stale ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/stale/releases )
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md )
- [Commits](cdf15f641a...7fb802b307 )
---
updated-dependencies:
- dependency-name: actions/stale
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2022-01-26 17:03:55 +00:00
dependabot[bot]
4d3c203a4f
Bump actions/github-script ( #24563 )
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 2b34a689ec86a68d8ab9478298f91d5401337b7d to 5.1.0. This release includes the previously tagged commit.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](2b34a689ec...e3cbab99d3 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2022-01-26 16:59:51 +00:00
dependabot[bot]
67f00f4e0f
Bump azure/login from 1.4.2 to 1.4.3 ( #24562 )
...
Bumps [azure/login](https://github.com/azure/login ) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/azure/login/releases )
- [Commits](66d2e78565...1f63701bf3 )
---
updated-dependencies:
- dependency-name: azure/login
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2022-01-26 16:55:24 +00:00
dependabot[bot]
5596122e03
Bump github/codeql-action from 1.0.26 to 1.0.30 ( #24561 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 1.0.26 to 1.0.30.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](5f53256358...8b37404d56 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Heis <heiskr@users.noreply.github.com >
2022-01-26 16:41:54 +00:00
Mike Surowiec
837e8364bc
Improve Azure staging deployment concurrency ( #24625 )
...
* Improve azure staging deployment concurrency
* update workflow-lint to ignore undeploy
2022-01-25 12:41:42 -06:00
Peter Bengtsson
cdcf51c779
unique job names across workflows ( #24616 )
2022-01-25 16:26:25 +00:00
Peter Bengtsson
6d8c309def
cleaning up left-over debugging in staging deploy action ( #24612 )
2022-01-25 15:32:03 +00:00
Mike Surowiec
6c8911eea0
Workflow for staging PR deployments on azure ( #24039 )
...
* add workflow for staging PR deployments on azure
* add workflow to clean up azure staging resources
2022-01-24 17:59:56 +00:00
Peter Bengtsson
bc73bde6e5
Fix exclusion of English search indexes ( #24501 )
...
* debug search on stage
* debugging more
* keep more
* try again
2022-01-21 17:00:30 +00:00
Mike Surowiec
00c4338d22
use actions substitution so we can use single quotes in sed ( #24479 )
2022-01-20 17:00:50 -06:00
Mike Surowiec
521d1a13af
fix azure prod script to not use import ( #24477 )
2022-01-20 16:28:21 -06:00
Mike Surowiec
1fdfee0d7a
Azure zero downtime prod deploy with slots ( #24132 )
...
* prod zero downtime deploy with slots
2022-01-20 22:05:04 +00:00
Peter Bengtsson
0aa755d9fb
set unique job key ( #24411 )
2022-01-18 22:46:52 +00:00
James M. Greene
a83f39beb2
Prevent Link Checker from erring on long file lists ( #24269 )
...
* Add '--list' parameter to rendered-content-link-checker script
* Utilize trilom/file-changes-action output files and pass to rendered-content-link-checker script
* Rename job to unique name
* Correct module path for import
* Move import into local imports section
* Dump the contents of the file listing
* Fix typo
2022-01-13 12:46:44 +00:00
Peter Bengtsson
4982564951
check out the correct docs-early-access branch ( #24250 )
2022-01-13 09:27:09 +00:00
Marcelo Jacobus
cf2603ac01
fix: retry translation batch PR creation if we hit a 502 ( #23633 )
...
* Fix error on Pull Request creation
Fix https://github.com/github/docs-engineering/issues/1293 . This
solution does not really handle the error, it just prevents the script
from stopping, since sometimes we get a timeout error from the load
balancer even though the request was successfully handled by rails.
* Add a nudge to the localization folks when a batch is created
Ever since the translation batches are created and merged automatically
it is difficult to see when they started or finished correctly. Also,
sometimes, docubot automatically closes some pull requests, and at the
time of this writing I don't know the reason.
This change intends to make batches not go unnoticed. We can revert it
later if this becomes too noisy and the process is stable.
* fix: remove ping to docs-localization team from batch PR body
Discussion: https://github.com/github/docs-internal/pull/23633/files#r771896816
* refactor: move report-reset-files into its own step
* refactor: move git push into its own step
* spike: move PR creation into its own script
* feat: annotate createTranslationBatchPullRequest fn
* enhancement: embed nwo#pr format in logger
* fix: import fs directly
* fix: import @actions/github directly
* docs: update annotations in fn block
* build: update step name to be self-documenting
* Retry on 502
* Rename method to reflect its behaviour
* Update codeowners
* Fix comment
* Update .github/actions-scripts/create-translation-batch-pr.js
Co-authored-by: Peter Bengtsson <peterbe@github.com >
* Update .github/actions-scripts/create-translation-batch-pr.js
Co-authored-by: Peter Bengtsson <peterbe@github.com >
* Update .github/actions-scripts/create-translation-batch-pr.js
Co-authored-by: Peter Bengtsson <peterbe@github.com >
* Appease linter and fix script
* Move options to main
* Rename var
* Refactor options
* Check for response
* First try to find and then to create the PR
* Update .github/actions-scripts/create-translation-batch-pr.js
Co-authored-by: Peter Bengtsson <peterbe@github.com >
* Update .github/actions-scripts/create-translation-batch-pr.js
Co-authored-by: Peter Bengtsson <peterbe@github.com >
* Update .github/actions-scripts/create-translation-batch-pr.js
Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com >
* Remove unreachable conditional
* Lint
* fix: remove duplicate annotation
Co-authored-by: docubot <67483024+docubot@users.noreply.github.com >
Co-authored-by: Francis <15894826+francisfuzz@users.noreply.github.com >
Co-authored-by: Peter Bengtsson <peterbe@github.com >
2022-01-11 23:06:18 +00:00