Commit Graph

317 Commits

Author SHA1 Message Date
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
Anmol Sethi d4ef7c1412
Remove colons from image filenames 2020-06-03 15:45:16 -04:00
Anmol Sethi bdb670e852
Rename container and release-container to images and release-image 2020-06-03 15:45:16 -04:00
Anmol Sethi 11d7932968
Stop bundling libraries in release
- Instead we now use CentOS 7 for the static build to guarantee
  that we only depend on libc v2.17

- For macOS we now pull in a static node binary and bundle that instead.
2020-06-03 15:45:16 -04:00
Anmol Sethi c7cad402b4
Cleanup FAQ
Prominently explain how code-server is different from VS Code

Closes #1718
2020-05-27 21:39:19 -04:00
Anmol Sethi 69ad52907e
v3.4.0 2020-05-27 19:21:15 -04:00
Anmol Sethi fbd85649f9
Fix CI 2020-05-27 17:55:57 -04:00
Anmol Sethi 510d84898c
install.sh: Add our own flag parser
Fully supports long opts!
2020-05-27 15:48:22 -04:00
Anmol Sethi 3445a55c2b
Add issue template for extension request
Closes #1696
2020-05-21 11:56:41 -04:00
Anmol Sethi 1ee407bf0c
Clarify language in issue template 2020-05-19 22:47:34 -04:00
Anmol Sethi 971217c4e6
Add Architecture to issue template 2020-05-19 22:44:45 -04:00
Anmol Sethi aa87270148
Fixes for CI 2020-05-18 22:43:31 -04:00
Anmol Sethi e4ddffd0e2
Workaround for GH Actions stripping permissions
Closes #1665
2020-05-18 13:56:53 -04:00
Anmol Sethi f5ac262a2f
Indicat how to get version in issue template 2020-05-18 13:20:13 -04:00
Anmol Sethi 04cd74cad0
Add more info to issue template
Closes #1655
2020-05-18 13:14:29 -04:00
Anmol Sethi 47d50c9163
Downgrade CI to Debian 8 for glibc 2.19
Closes #1656
2020-05-18 00:38:55 -04:00
Anmol Sethi aee2599904
Push docker manifest in CI for multi arch image 2020-05-16 16:59:26 -04:00
Anmol Sethi 4aae5eaeca
CI fixes
- Splits up test into fmt, lint and test
- Fixes bug in build-packages.sh
- Minor README.md fixes
2020-05-12 21:26:36 -04:00
Anmol Sethi 7c7f62d3f3
Fixes for CI from @code-asher's review 2020-05-08 16:45:59 -04:00
Anmol Sethi 231e31656a
Automate release process 2020-05-08 03:26:19 -04:00
Anmol Sethi e9fe4c0466
Document release process 2020-05-08 01:43:31 -04:00
Anmol Sethi 6282cd7e7b
Simplify packaging and improve scripts
Much better test now as well.
2020-05-08 01:04:24 -04:00
Anmol Sethi bc453b5f0d
Switch to a single job to build the npm package
The architecture specific jobs pull it in and then build releases.

Much faster!
2020-05-08 00:09:24 -04:00
Anmol Sethi 0ec1c69c06
Switch fully to GH Actions 2020-05-07 23:13:28 -04:00
Anmol Sethi 193a45113c
Add back ARM with GH Actions 2020-05-07 00:17:06 -04:00
Anmol Sethi 30aefe19b5
Update issue template to mention check against regular VS Code 2020-04-28 14:50:08 -04:00
Asher dcde596002
Document debugging process
Closes #1465.
2020-04-20 18:55:14 -05:00
Anmol Sethi fa30639784
Update issue template 2020-02-19 00:58:28 -05:00
Anmol Sethi eb3cf303ad
Add back travis since github actions is trash 2020-02-18 11:32:57 -05:00
Anmol Sethi 0d31a51eeb
Add github release creation 2020-02-15 16:20:41 -05:00
Anmol Sethi 61d1af0413
Add macOS release step 2020-02-14 21:16:23 -05:00
Anmol Sethi 4aa15401c3
Format and lint 2020-02-14 20:00:19 -05:00
Anmol Sethi 80b1b1b672
Shake CI and docs up 2020-02-14 19:46:17 -05:00
Anmol Sethi bb8bad49dc
Remvoe question issue template
Closes #1331
2020-02-03 11:35:18 -06:00
Kyle Carberry e02101c676
Update codeowners 2019-03-19 14:00:25 -04:00
Avelino e22e2c8b67 Improve github issue template (#162)
- Simplify the user by opening an issue (giving direction)
- Mark issue label
- Markdown lint

Signed-off-by: Avelino <t@avelino.xxx>
2019-03-09 09:07:43 -08:00
Anmol Sethi 96175d36ea Handle arch in dockerfile and add PR template (#109)
* repo: add a pull request template

* Dockerfile: include arch when copying

Thanks @yush1ga and @zerdos
2019-03-07 13:48:11 -08:00
Anmol Sethi fba3fe5609
Dockerfile: cleanup and add en_US.UTF-8 locale
Closes #84
Closes #83

Thanks @xMrWhite, @frol and @sr229.
2019-03-07 13:55:13 -05:00
Asher 2b3d2933eb
Updated binary name in issue templates 2019-03-05 17:23:13 -06:00
Kyle Carberry 33717b277a Add documentation (#42)
* Add docs

* Add guides for hosting

* Inital commit. Add quick start guide for self hosted

* Add info for flags

* Detail usage flags and provide examples

* Correct file types for certificate

* Add self-signed certificate guide, update .gitignore

* Add additional information.:

* Checkout to master

* Add transition document, add some links to readme

* Comment out some stuff

* Revise transition document

* Fix typo

* Add Google Cloud setup guide

* fix link

* Add guide links to readme

* Add AWS deployment guide

* Fixup based on PR suggestions

* Fixup ssl guide and readme

* Fix typo

* Add step to make binary executable

* Add digitalocean guide, update readme, add chmod steps just in case

* add information about securing the connection to each deploy guide

* Update doc/security/ssl.md

Co-Authored-By: nol166 <jmccamb@gmail.com>

* Fixup from PR suggestions

* Add guide for systemd for when ssh closes

* Fix typos

* VS Code Remote -> code-server

* Fix minor stylistics

* Update readme (#43)

* Update readme

* Add details about chrome warning

* Add back extension ID settings

* Add back SSL guide to readme

* State that chmod is likely not necessary

* Fix type

* Update readme

* Remove transition guide

* Revise readme based on suggestions. (#45)

* Update references to vscode-remote

* No Windows support yet
2019-03-04 12:31:27 -06:00