Commit Graph

51 Commits

Author SHA1 Message Date
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 3577985015
feat: add codeql-analysis.yml 2021-04-27 15:38:09 -07:00
Joe Previte bb0414e7bb
feat: add ci step upload coverage report Codecov 2021-04-22 15:28:30 -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
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
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 03f730989d
feat: add --log trace for running cs in ci 2021-04-06 15:46:57 -07:00
Joe Previte 6f98e08bda
feat(ci): add audit job for security 2021-04-06 11:06:04 -07:00
Joe Previte 5b9f6bbe45
feat: add brew job to publish.yaml 2021-04-02 15:10:31 -07:00
Joe Previte 9cb5dce582
fix: add workflow_dispatch to publish.yaml 2021-03-25 17:33:18 -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 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 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
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 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 f4d48bc880
ci: Remove helm validation action in favour of helm kubeval directly 2020-11-13 18:38:58 -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
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 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 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 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 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