jNullj
af7b7f3597
devops: automate bug report tests ( #9386 )
...
* devops: automate bug report tests
Devs run `npm run badge` often when getting a bug report for shields.io service.
This PR automates this tests so the maintainer can get test results automaticly when getting into a new ticket.
Add test-bug-run-badge.yml workflow for github actions automation.
Will only run if bug has the 'qeustion' label added by bug reporting template. And will only setup enviorment and perform the test if the link provided in the issue is valid and the issue is related to shields.io.
Link to job results is sent as a new comment on the issue.
Resolves #9351
* remove secrets to avoid secret leak
* change stage name
* remove unused id
2023-07-22 19:18:18 +00:00
chris48s
f84ccb24ae
upgrade to npm 9 ( #9323 )
2023-07-16 15:07:20 +01:00
chris48s
40f2b9e1a7
run service/docker builds on merge queue builds ( #8943 )
2023-07-14 17:25:19 +01:00
chris48s
6f78e6f81d
run package tests on node 20 ( #9293 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2023-06-18 20:06:55 +00:00
chris48s
a2ca06e033
try running tests on node 18 ( #9292 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2023-06-18 19:57:38 +00:00
chris48s
50ea7068a8
migrate frontend to docusaurus ( #9014 )
...
* delete loads of really important stuff that we definitely need
* v basic MVP smoosh docusaurus PoC into repo
* TODO
* delete more really important stuff
* TODO
* tidyup: use run-s
* don't redirect images used in frontend to raster proxy
* fix routing
* preserve the /endpoint link
* delete the blog (for now)
I would quite like to re-add this at some point
but its not really the top priority thing right now
* content edits
* appease the lint gods
* update danger rules
* remove placeholder
* cypress tests
* dockerhub --> ghcr
* Revert "dockerhub --> ghcr"
This reverts commit ef74cbb26b .
* downgrade lockfile format
* implement defs/BASE_URL
* fix e2e build
* actually fix cypress tests
* always run cypress tests on build
* this never worked
* add command for docusaurus:clear
* delete more code we don't need any more
* update ESLint/prettier config
* delete unsused exports
* documentation updates
* delete a fairly large chunk of our dependency tree
* allow base_url as build arg to Dockerfile
* fixup dockerfile
* work out base url at runtime if not set
doing this at image build time is not the right approach
* remove gatsby monorepo from closebot
* rename HomepageFeatures to homepage-features
2023-06-17 10:59:07 +01:00
chris48s
8d060fd419
add fly.io PR review apps ( #9069 )
...
* add fly.io PR review apps
* add fly.toml to dockerignore
* merge branch instead of applying diff
---------
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2023-04-16 12:14:01 +00:00
dependabot[bot]
4b4ed3f264
chore(deps): bump peter-evans/create-pull-request from 4 to 5 ( #9074 )
...
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request ) from 4 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases )
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
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: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2023-04-16 10:57:57 +00:00
chris48s
b96192eec6
remove redis token persistence backend ( #9065 )
...
* remove redis token persistence backend
* error and exit if redis_url is set
2023-04-15 20:17:35 +01:00
chris48s
ef8498bfbd
remove pull_request:edited trigger from most workflows ( #9072 )
2023-04-15 20:16:18 +01:00
chris48s
5b44341e1b
log into the right registry ( #9009 )
2023-03-17 20:31:57 +00:00
chris48s
0dcfa76c53
push images to both GHCR and DockerHub ( #9008 )
2023-03-17 20:21:44 +00:00
chris48s
091ccfdbcd
migrate token pooling to postgres ( #8922 )
...
* add ability to store token pool in Postgres DB
* update transitive ansi-regex dependencies
2023-02-23 17:18:39 +00:00
chris48s
115d768b50
pin 'deploy docs' build to node 16 ( #8925 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2023-02-19 18:07:51 +00:00
dependabot[bot]
9d69da5e98
chore(deps): bump docker/build-push-action from 3 to 4 ( #8869 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 3 to 4.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
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: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2023-02-05 15:13:19 +00:00
chris48s
ff14a116cc
skip danger on repo ranger commits ( #8866 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2023-01-29 20:48:36 +00:00
chris48s
5b3630cad4
build docker images with buildkit v0.9.1 ( #8862 )
2023-01-27 17:30:14 +00:00
chris48s
e8c42e9ec1
migrate service tests to GH actions ( #8421 )
...
* run service tests with GHA
* rename GithubGist services to Gist
* completely delete circle ci config
2023-01-17 20:55:57 +00:00
chris48s
f1d151e963
migrate danger CI job to GHA ( #8477 )
...
* migrate danger CI job to GHA
* constrain triggers
* prettier
2023-01-10 19:39:11 +00:00
chris48s
00e37a6888
migrate frontend tests to GHA ( #8541 )
...
* migrate frontend tests to GH actions
* constrain PR events
2022-12-31 20:08:24 +00:00
chris48s
c3d08f7f8b
Send X-GitHub-Api-Version when calling [GitHub] v3 API ( #8669 )
...
* send X-GitHub-Api-Version when calling GitHub v3 API
* TODO: invesitgate
* read baseUrl from config.service.baseUri
* add workflow to check for new GH api releases on schedule
* format config/default.yml to match yaml.dump() format
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-12-31 15:56:04 +00:00
chris48s
c5476b4dd5
migrate e2e tests to GHA ( #8562 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-11-24 18:15:19 +00:00
dependabot[bot]
3d8fa47010
chore(deps): bump actions/dependency-review-action from 2 to 3 ( #8628 )
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 2 to 3.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
Co-authored-by: chris48s <chris48s@users.noreply.github.com >
2022-11-18 19:55:59 +00:00
chris48s
934f2443e4
fixes for integration test rate limit issues ( #8538 )
...
* constrain auto-close and enforce-dependency-review triggers
we don't need to run these on PR close or when we apply labels, for example
* skip workflows on push to dependabot branch
* use PAT if available else fall back to workflow token
* further constrain pull_request triggers
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-10-21 09:13:02 +01:00
chris48s
f43675109b
migrate integration tests to GH actions ( #8423 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-10-10 18:09:14 +00:00
dependabot[bot]
ef5f03e41c
chore(deps): bump actions/setup-node from 2 to 3 ( #8379 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-06 17:26:03 +01:00
chris48s
cf83fb3235
migrate package tests to GHA ( #8351 )
...
migrate package tests to GHA
2022-09-05 21:00:20 +01:00
chris48s
d9842c0ceb
improve workflow job names ( #8376 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-09-05 20:52:54 +01:00
chris48s
b624179b8d
get the tests passing on windows ( #8350 )
...
* run the core tests on windows
* fix glob with windows path seperator
* always use slash when slicing serviceClass matches
..and add comment explaining why we need to do this
* strip line endings (+ any other whitspace) before base64 encoding
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-08-29 19:58:10 +00:00
chris48s
acf189eaf7
migrate 'main' tests to GH actions ( #8332 )
...
* implement 'main' tests using GH actions
* remove 'main' builds from Circle CI config
* give jobs better names
2022-08-25 18:02:03 +01:00
dependabot[bot]
01b5ab7f4e
chore(deps): bump actions/dependency-review-action from 1 to 2 ( #8111 )
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 1 to 2.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
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: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-06-24 20:16:06 +00:00
dependabot[bot]
cc62509897
chore(deps): bump JamesIves/github-pages-deploy-action from 3.7.1 to 4.3.3 ( #7938 )
...
* chore(deps): bump JamesIves/github-pages-deploy-action
Bumps [JamesIves/github-pages-deploy-action](https://github.com/JamesIves/github-pages-deploy-action ) from 3.7.1 to 4.3.3.
- [Release notes](https://github.com/JamesIves/github-pages-deploy-action/releases )
- [Commits](https://github.com/JamesIves/github-pages-deploy-action/compare/3.7.1...v4.3.3 )
---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* switch to v4 rolling tag
* switch to lowercase param names
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris48s <chris.shaw480@gmail.com >
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-05-12 19:04:55 +00:00
dependabot[bot]
172b3b85ee
chore(deps): bump docker/setup-buildx-action from 1 to 2 ( #7937 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
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: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-05-10 19:51:00 +00:00
dependabot[bot]
fe03690aad
chore(deps): bump docker/login-action from 1 to 2 ( #7936 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: docker/login-action
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: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-05-10 19:45:04 +00:00
dependabot[bot]
64e806bba5
chore(deps): bump docker/build-push-action from 2 to 3 ( #7935 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
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>
2022-05-10 19:38:54 +00:00
Caleb Cartwright
4c8a72434b
update actions checkout step version ( #7927 )
...
* ci: update actions checkout step version
* Update .github/workflows/deploy-docs.yml
Co-authored-by: chris48s <chris48s@users.noreply.github.com >
Co-authored-by: chris48s <chris48s@users.noreply.github.com >
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-05-06 02:45:20 +00:00
chris48s
d6df4fbb5d
chore: Set permissions for GitHub actions ( #7928 )
...
Co-authored-by: naveen <172697+naveensrinivasan@users.noreply.github.com >
2022-05-05 18:45:08 +01:00
chris48s
ac52741b2d
add dependency review action ( #7816 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2022-04-08 18:07:22 -05:00
chris48s
5fa18e173a
fix docker image user agent ( #7582 )
2022-02-09 18:40:56 +00:00
chris48s
99bffd3a86
Send better user-agent values (and got config changes) ( #7309 )
...
* expose fetchLimitBytes/userAgent in got-config module
* export a function not a factory
* send better user-agent values
- add userAgentBase setting
- send short SHA in user agent on heroku
- set a version (tag or short SHA) in Dockefile and use
it to report server version in UA for docker users
* add a comment explaining fileSize
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-11-25 17:11:49 +00:00
Caleb Cartwright
354fb7db99
ensure docker image builds on PRs ( #7019 )
...
* ci: ensure docker image builds on PRs
* ci: intentionally make docker build fail to ensure github workflow fails
* ci: unset forced docker failure
* fix docker build step name
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-09-15 22:38:06 +00:00
chris48s
21742a50b4
fix auto-close action ( #6876 )
2021-08-08 20:10:20 +01:00
chris48s
2cb52494c3
fix DockerHub snapshot build ( #6878 )
2021-08-08 20:02:10 +01:00
chris48s
fcd402900e
add github actions to build/push docker images ( #6679 )
2021-08-01 21:42:02 +01:00
chris48s
f64580c243
update auto close action for dependabot native ( #6834 )
...
* allow bot to modify PRs
* remove auto-approve logic
* approve bot doesn't approve any more
* only run this workflow for PRs from dependabot
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-07-30 14:16:23 +00:00
chris48s
aff7864d06
convert approve-bot to local action ( #6103 )
...
* convert approve-bot to local action
* configure dependabot to update packages
* run eslint on files in .github
* resolve eslint/lgtm errors
2021-01-31 14:01:15 +00:00
chris48s
453660d85c
add a GH action to generate a changelog and submit a release PR ( #6102 )
2021-01-28 19:30:19 +00:00
chris48s
2b3ad63748
bump approve bot ( #6100 )
2021-01-24 12:08:08 +00:00
chris48s
48b50d853a
add a github action to create tags from labelled PR ( #6069 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2021-01-17 21:29:42 +00:00
chris48s
a93e6a36a4
deploy docs to gh-pages ( #5977 )
...
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
2020-12-23 18:43:34 +00:00