Commit Graph

148 Commits

Author SHA1 Message Date
Alex Rudenko
d8830cbc55
chore: implement a test runner on top of mocha (#8866)
* chore: implement a test runner on top of mocha

This PR implements a test runner on top of mocha
that performs multiple mocha runs as defined in
TestSuites.json and compares the outcome of the runs
against TestExpectations.json. This allows us to
remove most of helpers from mocha-utils and be more
flexible when defining the test configurations.
2022-09-08 10:32:39 +00:00
Alex Rudenko
2134d975df
chore: re-build docs after versioning in pre-release (#8899) 2022-09-05 10:03:10 +00:00
Alex Rudenko
f57dde1c5b
chore: fix builds in CI (#8877) 2022-09-01 12:43:26 +00:00
Alex Rudenko
4d2ec85cad
chore: fix ToT CI (#8876) 2022-09-01 12:02:53 +00:00
dependabot[bot]
3eb4c2d2e0
chore(deps): bump github/codeql-action from 2.1.18 to 2.1.21 (#8849)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.18 to 2.1.21.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2ca79b6fa8...c7f292ea4f)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-01 12:42:56 +02:00
jrandolf
ae4c5ea031
chore: refactor build commands (#8874) 2022-09-01 01:05:20 +02:00
jrandolf
3499e1292e
chore: generate version on pre-publish (#8872) 2022-08-31 17:21:25 +02:00
jrandolf
eb6cea4f57
chore: use jobs for artifact generation (#8864) 2022-08-31 14:42:53 +02:00
jrandolf
02e1eea7eb
chore: use tsx (#8803) 2022-08-17 15:32:57 +02:00
jrandolf
bdcb748b98
chore: infrastructure for injecting scripts into DOMWorlds (#8801) 2022-08-17 14:39:41 +02:00
dependabot[bot]
def2687235
chore(deps): bump docker/build-push-action from 2.5.0 to 3.1.1 (#8785)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2.5.0 to 3.1.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](ad44023a93...c84f382811)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 15:52:52 +02:00
dependabot[bot]
608dc6c408
chore(deps): bump github/codeql-action from 2.1.17 to 2.1.18 (#8779)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.17 to 2.1.18.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0c670bbf04...2ca79b6fa8)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-12 13:30:39 +00:00
dependabot[bot]
bafe2ca76b
chore(deps): bump docker/metadata-action from 3.3.0 to 4.0.1 (#8719)
Bumps [docker/metadata-action](https://github.com/docker/metadata-action) from 3.3.0 to 4.0.1.
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](98669ae865...69f6fc9d46)

---
updated-dependencies:
- dependency-name: docker/metadata-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>
2022-08-12 13:06:18 +00:00
dependabot[bot]
833cdc02f3
chore(deps): bump docker/login-action from 1.10.0 to 2 (#8720)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1.10.0 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](f054a8b539...49ed152c8e)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-12 12:38:55 +00:00
Alex Rudenko
73221042db
chore: follow test:$browser[:$flavor] naming for tests + retries for Firefox (#8775) 2022-08-11 18:45:52 +00:00
Alex Rudenko
50bcff2ec2
chore: remove old website versions and point to md docs instead (#8757) 2022-08-09 11:13:05 +00:00
Alex Rudenko
9588072a28
chore: try increasing swap size for website generator (#8745) 2022-08-06 14:59:47 +02:00
Alex Rudenko
26f6165008
chore: configure docker image tags (#8738) 2022-08-03 17:59:59 +02:00
Alex Rudenko
6c777e4d70
chore: fix docker permissions (#8737) 2022-08-03 16:01:46 +02:00
Alex Rudenko
ce5d296073
chore: add docker publishing permissions (#8736) 2022-08-03 11:36:09 +00:00
Alex Rudenko
7d75b54b6e
chore: move Docker publishing into a separate workflow (#8731)
it looks like the docker publishing steps had an error
that prevented the entire workflow for running. Let's
extract the docker pubishing into a separate workflow until
we are sure it's stable.
2022-08-03 06:26:56 +02:00
Alex Rudenko
1f89724b64 chore: increase max-old-space-size for docs (#8721) 2022-08-02 13:18:51 +00:00
Alex Rudenko
fae4fa5915 chore: publish a Docker image (#8702)
This PR adds publishing of a Docker image to ghcr.io.
2022-08-02 13:18:50 +00:00
dependabot[bot]
6b35128e3e chore(deps): bump github/codeql-action from 2.1.12 to 2.1.17 (#8709)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.1.12 to 2.1.17.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](27ea8f8fe5...0c670bbf04)

---
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>
2022-08-02 13:18:50 +00:00
dependabot[bot]
e237ba0f2e chore(deps): bump actions/setup-node from 3.3.0 to 3.4.1 (#8671)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v3.3.0...v3.4.1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  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>
2022-08-02 13:18:48 +00:00
Alex Rudenko
9bd7d38579 chore: fix command name in tot-ci.yml (#8698) 2022-08-02 13:18:47 +00:00
Alex Rudenko
936ed8607e feat: add Dockerfile (#8315)
This PR adds an official Dockerfile for Puppeteer. The content of the Dockerfile is practically the same as documented in troubleshooting.md:

1) It installs chrome-stable and dependencies via apt-get.
2) it installs a local Puppeteer build into the docker user's home folder.
3) configures required permissions for the user.
4) outputs licenses into the THIRD_PARTY_NOTICES file.

The local Puppeteer build is created by `docker/pack.sh` which is meant to be used in CI. This PR also includes a GitHub action that would build a docker image and run a smote test inside of it.

The next step would be actually publishing the docker image from GitHub Actions to GitHub Registry.
2022-08-02 13:18:47 +00:00
Alex Rudenko
3d780a3f08
chore: fix ToT test jobs (#8679) 2022-07-21 10:12:23 +02:00
Alex Rudenko
c801ce1c7b
chore: try to fix the docusaurus build by giving Node more old mem space (#8675) 2022-07-20 11:18:02 +02:00
jrandolf
4cd97e93f9
chore: format on pre-release (#8634) 2022-07-06 09:15:12 +02:00
jrandolf
b49d530d73
chore: continue-on-error for non-Linux tests (#8632) 2022-07-06 08:23:39 +02:00
jrandolf
9e596d0761
chore: format code (#8628)
* chore: format code
2022-07-05 15:06:10 +02:00
jrandolf
fc77c1517f
chore: fetch 2 levels of commits on doc check (#8625) 2022-07-05 11:04:46 +02:00
jrandolf
6b2b421b7d
chore: use github.ref (#8618) 2022-07-01 19:09:43 +02:00
jrandolf
c1d57f3e5f
chore: fix bad revision (#8617) 2022-07-01 16:55:12 +02:00
jrandolf
32c9f3e6fb
chore: update contributing.md (#8616) 2022-07-01 16:29:21 +02:00
jrandolf
9fa96600f2
chore: update CI (#8614) 2022-07-01 16:00:27 +02:00
jrandolf
8cf10fb7b9
chore: Improve CI (#8601) 2022-07-01 15:03:12 +02:00
jrandolf
066f440ba7
feat: add documentation (#8593) 2022-07-01 11:52:39 +00:00
Randolf J
d8e453b98c chore: skip PR and push to main in post-publish 2022-06-29 14:11:59 +02:00
dependabot[bot]
7a22f95fe7
chore(deps): bump ossf/scorecard-action from 1.1.1 to 1.1.2 (#8592)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](3e15ea8318...ce330fde6b)

---
updated-dependencies:
- dependency-name: ossf/scorecard-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>
2022-06-28 14:56:29 +02:00
Alex Rudenko
329195011f
chore: fix chrome-headless ci (#8560) 2022-06-27 12:35:09 +02:00
jrandolf
e499515fd6
chore: add type tests (#8588) 2022-06-27 10:57:31 +02:00
jrandolf
988aeabfb2
chore: remove type tests (#8550) 2022-06-23 10:02:52 +02:00
Randolf J
b007ee4f50 chore: run CI on any PR branch 2022-06-23 09:12:51 +02:00
Randolf J
f9586b1226 chore: use PAT for release 2022-06-20 09:28:36 +02:00
Randolf J
f0c17378a0 chore: run only unit tests with coverage in CI
This will verify coverage and unit tests without duplicating unit runs.
2022-06-15 12:48:20 +02:00
Randolf J
8dc53d5157 chore: disable workflow_dispatch publishing 2022-06-13 23:14:42 +02:00
Randolf J
ba67518f6b chore: enable workflow_dispatch publishing 2022-06-13 23:13:24 +02:00
jrandolf
733cbecf48
chore: use c8 coverage (#8495) 2022-06-10 18:49:14 +02:00