Commit Graph

189 Commits

Author SHA1 Message Date
Joe Previte 632f980bae
fix(dependabot): ignore updates for node 16.x 2021-07-08 14:05:46 -07:00
Joe Previte 8695c874ed
fix: add timeouts to ci jobs 2021-06-30 15:16:55 -07:00
Asher da4de439e0
Spawn a code-server instance for each test suite
This uses the current dev build by default but can be overidden with
CODE_SERVER_TEST_ENTRY (for example to test a release or some other
version).

Each instance has a separate state directory. This should make
parallelization work.

This also means you are no longer required to specify the password and
address yourself (or the extension directory once we add a test
extension). `yarn test:e2e` should just work as-is.

Lastly, it means the tests are no longer subject to yarn watch randomly
restarting.
2021-06-29 12:06:38 -05:00
Joe Previte 6e1455da88
feat: add custom codecov 2021-06-28 11:41:48 -07:00
Joe Previte 3226a53b02
docs: update CHANGELOG process 2021-06-23 15:37:01 -07:00
Joe Previte 8b38314913
feat: add 'set up homebrew' step publish.yaml 2021-06-03 10:18:48 -07:00
Akash Satheesan 05197d5213
feat(ci): add restore-keys for ci speedup (#3516) 2021-06-03 22:00:37 +05:30
Akash Satheesan 58622ccc34
chore: update node to v14 (#3481) 2021-06-01 22:49:03 +05:30
dependabot[bot] 8c7e7819b9
chore(deps): bump aquasecurity/trivy-action from 0.0.17 to 0.0.18 (#3500)
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.0.17 to 0.0.18.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](dba83feec8...ac8de07fd1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-28 22:39:07 +05:30
Akash Satheesan 1ccf69f731
chore: cross-compile docker images with buildx (#3503) 2021-05-28 16:51:41 +00:00
Joe Previte ff93932ba2
fix: temporarily disable trivy-scan-image 2021-05-24 14:02:15 -07:00
Joe Previte 75e6ab1197
fix(dependabot): limit limiter updates 2021-05-20 11:59:27 -07:00
Joe Previte 2438fb307c
fix: use next version in changelog 2021-05-14 16:09:30 -07:00
Joe Previte 12b1e484be
docs(maintaining): add release manager rotation 2021-05-14 16:09:26 -07:00
Joe Previte ade43c02b7
docs: update release_template PR 2021-05-14 16:09:06 -07:00
Joe Previte 9ab5ccf908
docs: add release issue template 2021-05-14 16:09:05 -07:00
Joe Previte 6f09749b65
refactor: move default PR template 2021-05-14 13:18:39 -07:00
Joe Previte 5fe76bdecf
fix: update trivy-action to v0.0.17 2021-05-14 10:43:25 -07:00
Joe Previte 604194d1b8
fix: re-enable trivy-scan-repo 2021-05-14 10:42:47 -07:00
Joe Previte adc4463507
docs: update pr template to say default branch 2021-05-13 12:10:21 -07:00
Jonathan Yu 416362be31 chore: ignore updates to microsoft/playwright-github-action
Microsoft publishes updates to this action using the same scheme
as GitHub, where the v1 tag is updated to the latest release of
the 1.0 series. Therefore, we can manage updates manually.
2021-05-12 18:47:37 +00:00
Joe Previte 3cd3490dee
fix(ci): fix typos 2021-05-11 11:18:35 -07:00
Joe Previte 510ff9c9f8
fix(ci): disable trivy-scan-repo 2021-05-11 10:26:04 -07:00
Joe Previte 8c7224931e
chore: update PR template with checklist 2021-05-10 12:56:27 -07:00
dependabot[bot] 6615106d86
chore(deps): bump aquasecurity/trivy-action
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from b38389f8efef9798810fe0c5b5096ac198cffd54 to 0.0.15. This release includes the previously tagged commit.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](b38389f8ef...341f810bd6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 11:08:33 +00:00
Akash Satheesan d27b12bae9
refactor(ci): split audit from prebuild (#3298)
Move dependency audits from prebuild to their own jobs,
so that an error does not affect the rest of the build/test process.
2021-05-07 00:32:10 +05:30
Joe Previte 6d5c60387c
feat(ci): add trivy scans to workflow
This adds both a trivy scan for the repo and a trivy scan for our Docker image.
2021-05-04 11:32:41 -07:00
Joe Previte 2bf0907de8
feat: add codeql-config file 2021-04-27 15:38:09 -07:00
Joe Previte e48de92c7f
chore: add codeql-action to dependabot config 2021-04-27 15:38:09 -07:00
Joe Previte 3577985015
feat: add codeql-analysis.yml 2021-04-27 15:38:09 -07:00
Joe Previte e86c0f8c87
chore: ignore 15.x @types/node updates 2021-04-27 15:25:38 -07:00
Asher f746212d80
Revamp debugging section (#3224)
- Most people leave the logs out so add a section for them in the issue
  template.
- Remove the VS Code logs because those get sent to stdout now and will
  show up in our logs.
- Separate browser console and network.
2021-04-26 12:56:12 -05:00
Joe Previte bb0414e7bb
feat: add ci step upload coverage report Codecov 2021-04-22 15:28:30 -07:00
Akash Satheesan 4ed7ae9c96
chore(ranger): fix syntax for extension-request (#3172) 2021-04-20 10:27:06 -07:00
Akash Satheesan cbc2e8bc92
chore(ci): remove images and update publish flow (#3147)
* chore(ci): remove unmaintained images
* chore(ci): update publish workflow
2021-04-17 01:17:24 +05:30
Joe Previte d6f0725399
fix: update path for e2e videos 2021-04-15 11:46:45 -07:00
Joe Previte fafd15de22
fix: syntax in ranger 2021-04-12 15:34:02 -07:00
dependabot[bot] e8c78c24b4
chore(deps): bump azure/setup-helm from v1 to v1.1 (#3086)
Bumps [azure/setup-helm](https://github.com/azure/setup-helm) from v1 to v1.1.
- [Release notes](https://github.com/azure/setup-helm/releases)
- [Commits](https://github.com/azure/setup-helm/compare/v1...18bc76811624f360dbd7f18c2d4ecb32c7b87bab)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-09 07:11:39 -07:00
Joe Previte 40014eee5c
dev(ranger): fix typo 2021-04-08 15:12:24 -07:00
Akash Satheesan 3a49299f84
dev(ci): complete refactor
Nearly completely replace the original GitHub actions workflow.
Changes:

- Move from `.sh` files in `ci/steps` to steps in the workflow.
- Move from using docker images for environment to manual setup.
- Upgrade nfpm to v2.3.1

BREAKING CHANGE: official arm64 builds no longer support CentOS 7.
If you need to use CentOS 7 on arm64, build `code-server` locally.
For docs, see the yarn/npm section in `docs/install.md`.
2021-04-08 23:42:01 +05:30
Joe Previte f09a081c9e
fix: update ranger file 2021-04-07 10:46:16 -07:00
Joe Previte 03f730989d
feat: add --log trace for running cs in ci 2021-04-06 15:46:57 -07:00
repo-ranger[bot] 2f99730437
Merge branch 'main' into jsjoeio/audit-ci 2021-04-06 18:43:29 +00:00
Joe Previte b6b56797a3
chore(deps): limit xdg-basedir updates 2021-04-06 11:15:59 -07:00
Joe Previte 6f98e08bda
feat(ci): add audit job for security 2021-04-06 11:06:04 -07:00
repo-ranger[bot] e64608abcb
Merge branch 'main' into jsjoeio/ranger-upstream 2021-04-02 22:38:13 +00:00
Joe Previte f2a5d4abaa
feat(ranger): add action for upstream issues 2021-04-02 15:29:02 -07:00
Joe Previte 5b9f6bbe45
feat: add brew job to publish.yaml 2021-04-02 15:10:31 -07:00
Joe Previte 4218431782
chore: ignore 13.x updates for @types/node 2021-03-31 13:31:23 -07:00
Joe Previte 8ed5b736bb
feat(ranger): add action for extension-request (#2967) 2021-03-31 10:28:55 -05:00
Joe Previte d140c2c8e7
feat: add ignore block to dependabot config 2021-03-30 16:43:29 -07:00
Joe Previte 024a3110be
refactor: reorganize release notes draft format 2021-03-26 16:33:22 -07:00
Joe Previte bb5c7d95cc
chore: fix release_template todos 2021-03-26 16:33:22 -07:00
Joe Previte 9cb5dce582
fix: add workflow_dispatch to publish.yaml 2021-03-25 17:33:18 -07:00
Joe Previte 299e17e6d9
refactor: update script command to get git branch 2021-03-25 09:46:54 -07:00
Joe Previte a1dca6da29
feat: add dry run option to release-prep.sh 2021-03-24 17:51:07 -07:00
Joe Previte 071c8e15fc
Merge branch 'main' into jsjoeio/upgrade-vscode-1.54 2021-03-17 13:51:27 -07:00
Joe Previte 9cbe27ef83
fix: remove reviewers/assignees for dependabot 2021-03-17 11:52:46 -07:00
repo-ranger[bot] 07495fa468
Merge pull request #2901 from cdr/jsjoeio-update-bug-template
chore: update bug-report issue template
2021-03-17 17:48:12 +00:00
Joe Previte a8a4f6b792
refactor: update bug-report issue template 2021-03-17 10:16:35 -07:00
Joe Previte e56ace557c
feat: add ranger configuration 2021-03-17 09:59:26 -07:00
Joe Previte d3df963d39
Merge branch 'main' into jsjoeio/upgrade-vscode-1.54 2021-03-16 14:42:51 -07:00
Joe Previte 0c2708302d
refactor: remove --home flag/feature
We are removing this because it was removed upstream in PR~115599.
2021-03-16 14:25:28 -07:00
Joe Previte ca564402f7
Merge pull request #2852 from cdr/jsjoeio-2646-separate-testing
dev(testing): separate unit and e2e tests
2021-03-15 10:40:41 -07:00
Jonathan Yu 7b1fe3156d
chore: use dependabot to manage dependencies (#2830)
Use dependabot to manage the dependencies defined in package.json and
GitHub Actions workflows, so that we can proactively update versions.

Outdated versions of third-party dependencies frequently have known
security vulnerabilities with CVEs.
2021-03-12 11:46:18 -08:00
Joe Previte 9ee2556dd1
chore: update gitignore with test dirs 2021-03-12 12:00:57 -07:00
Joe Previte aeaf11ced6
refactor: update ci.yaml, test:unit and test:e2e 2021-03-12 12:00:57 -07:00
Jonathan Yu c270570f77
chore: run builds on pull requests (#2866)
* Run builds when changes are pushed to the main branch, or for pull
  requests opened against the main branch. This is a subtle change
  in behavior because, previously, builds would've run on pushes to
  any branch, regardless if a pull request is open yet.
* Update to GitHub actions/checkout v2, which performs a shallow
  clone by default, and should speed up the build.

Closes: #2559
2021-03-12 09:48:39 -08:00
Joe Previte f0f776587c
feat: add release template 2021-03-05 14:05:33 -07:00
Joe Previte d81a16a68e
refactor: move PR tempalte 2021-03-05 14:05:33 -07:00
Joe Previte 925073db31
Merge pull request #2773 from cdr/upgrade-vscode-1.53
feat(vscode): update to version 1.53.2
2021-03-05 14:03:10 -07:00
Joe Previte 9cbf6926f2
fix(ci): always upload test artifacts
Before this commit, if the tests fail then the artifacts don't get uploaded.
This makes it harder to debug failing e2e tests.

To prevent this, this commit adds an "if" condition which says always run this
step.

Source: https://stackoverflow.com/a/58859404/3015595
2021-03-05 10:28:37 -07:00
Joe Previte 90807e19e7
fix(ci): replace extension in test standalone 2021-03-02 10:58:38 -07:00
Joe Previte 5e08d7f853
fix(ci): remove docker images in linux-arm64
This adds a step to remove the docker images and hopefully free up space in the
linux-arm64 part of ci.
2021-03-02 10:58:38 -07:00
Joe Previte 471c6ffd39
fix(ci): remove release and test artifacts as a step
This adds a step to remove both the release packages and the test artifacts as
a step at the end of test in ci.yaml.
2021-03-02 10:58:38 -07:00
Asher a5edbcb6b6
Add reviewer group as a codeowner (#2777) 2021-02-25 12:48:03 -06:00
Joe Previte 9e3c8bd93d
feat: add step to upload test videos 2021-02-22 13:41:09 -07:00
Joe Previte 9eba2bd4fd
fix(ci): update test job to use bin 2021-02-22 13:41:09 -07:00
Joe Previte 3033c8f9a2
feat: add test to visit go home in app menu 2021-02-22 13:41:08 -07:00
Joe Previte 4756257207
refactor: rename doc to docs 2021-02-03 09:46:35 -07:00
Joe Previte 6685a3e364
feat: update workflow 2021-02-01 15:11:45 -07:00
Joe Previte 66fe663e33
feat: add playwright 2021-02-01 15:11:28 -07:00
Anmol Sethi d17499f74c
Remove @coder-asher and @nhooyr from CODEOWNERS
Not every PR needs our review. We get notified anyway as we're watching
the repository.
2020-12-08 11:13:19 -05:00
Anmol Sethi ddc0658706
Remove cmoog assignment for extension requests 2020-12-08 09:34:18 -05:00
Anmol Sethi f4d48bc880
ci: Remove helm validation action in favour of helm kubeval directly 2020-11-13 18:38:58 -05:00
Anmol Sethi 52ea32f4a7
helm: Move chart into ci/helm-chart 2020-11-13 17:27:52 -05:00
Matthew Beckett aa7415a479
Update CODEOWNERS file 2020-11-10 20:37:14 +00:00
Matthew Beckett f3d7d3f616
Merge branch 'master' into feature/helm3 2020-11-10 19:08:53 +00:00
Ben Potter da6000b96f
Add Slack link to issue template (#2282) 2020-11-10 14:00:05 -05:00
Matthew Beckett d7cba30c6a
Merge branch 'master' into feature/helm3 2020-10-13 14:29:43 +01:00
Anmol Sethi 607444c695
Switch off debian:8 to debian:10 for the typescript build image
We only want to use an old version for glibc which the centos:7
image takes care of.

The old version of git used in debian:8 was causing problems
with the uid/gid passthrough with no user in passwd.
2020-10-07 15:58:30 -04:00
Anmol Sethi ceceef1dae
Add documentation issue template 2020-09-03 14:56:24 -04:00
Matthew Beckett 96a78c98d1
Add checkout of repo 2020-09-02 22:26:06 +01:00
Matthew Beckett 70b73d7cb9
Add kubernetes version environment variable 2020-09-02 22:24:24 +01:00
Matthew Beckett 8fe7986d0d
Add kubeval workflow 2020-09-02 22:19:56 +01:00
Anmol Sethi e8ac0d33f9
Document release branches (#1995)
* Document release branches

* Update doc/CONTRIBUTING.md

Co-authored-by: Asher <ash@coder.com>

Co-authored-by: Asher <ash@coder.com>
2020-08-26 07:08:02 -04:00
Anmol Sethi 98d8d848a5
Switch from subreddit to GitHub discussions for support (#1993) 2020-08-25 12:13:11 -04:00
Anmol Sethi 3764d296c6
.github/lock.yml: Formatting 2020-07-22 15:15:30 -04:00
Anmol Sethi 90eec91f9c
Add .github/lock.yml
Too many people comment on super old issues.
2020-07-22 14:16:53 -04:00
Anmol Sethi fd5c5960c2
Fixes for release 2020-06-03 16:22:59 -04:00