Commit Graph

448 Commits

Author SHA1 Message Date
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
b1ea47c506
chore: remove --home from test-e2e script 2021-04-06 15:46:57 -07:00
Joe Previte
32d0fb0a5e
refactor: add --runInBand to e2e test script 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
Asher
cbcad39a4f
Remove ipc.d.ts from final build
Now that the plugin API has its own separate types this is no longer
necessary.
2021-04-01 10:56:25 -05:00
Joe Previte
024a3110be
refactor: reorganize release notes draft format 2021-03-26 16:33:22 -07:00
Joe Previte
f27c039954
refactor: change get_artifacts_url in lib.sh
This now looks for the version branch i.e. v3.9.2
to grab the artifacts instead of the head_sha
which was faulty in the past.
2021-03-26 10:30:32 -07:00
Joe Previte
27ede67e07
refactor: add check for artifacts url in lib.sh 2021-03-25 16:51:01 -07:00
Joe Previte
f688e58472
chore(release): bump version to 3.9.2 2021-03-25 10:33:47 -07:00
repo-ranger[bot]
305b820828
Merge branch 'main' into jsjoeio/add-release-prep-script 2021-03-25 16:51:24 +00:00
Akash Satheesan
8332a6abc9
fix(lib/vscode): remove native-keymap and keytar (#2961)
native-keymap and keytar are only used in the electron process,
so we don't need them. This allows us to drop our dependencies on
libx11-dev, libxkbfile-dev, and libsecret-dev.
2021-03-25 22:20:58 +05:30
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
a8858ea9fc
docs(ci): update step 1 of publish release 2021-03-24 17:51:06 -07:00
Joe Previte
fa19f8cac8
feat: add release-prep script 2021-03-24 17:51:06 -07:00
Justin Keller
58b59fde5f
Update fixuid 0.5 and add zsh to Docker image (#2925) 2021-03-22 16:15:06 -05:00
Joe Previte
071c8e15fc
Merge branch 'main' into jsjoeio/upgrade-vscode-1.54 2021-03-17 13:51:27 -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
d05389880a
chore: update formatting w/new prettier sh plugin 2021-03-15 15:36:31 -07:00
Joe Previte
0ba53b6adf
feat: add prettier-plugin-sh 2021-03-15 15:14:26 -07:00
Joe Previte
3eafcf94b7
refactor: remove shfmt 2021-03-15 15:13:44 -07:00
Joe Previte
9ee2556dd1
chore: update gitignore with test dirs 2021-03-12 12:00:57 -07:00
Joe Previte
529d69e8e8
refactor: add scripts to separate unit, e2e tests 2021-03-12 12:00:56 -07:00
Joe Previte
dac44ec2e0
feat(update-vscode): use todo items for conflicts in pr body 2021-03-11 10:50:06 -07:00
Joe Previte
44a4a0bc20
fix: update base branch to main 2021-03-11 10:26:36 -07:00
Joe Previte
6f638f1329
fix: set upstream when pushing branch 2021-03-11 10:23:43 -07:00
Joe Previte
b0861029c0
fix: add no-verify for commit line 2021-03-11 10:14:56 -07:00
Joe Previte
3e79a84152
feat: add docs and update PR body 2021-03-11 09:48:18 -07:00
Joe Previte
612b8314f9
feat(update-vscode): add step to commit files 2021-03-10 17:14:20 -07:00
Joe Previte
f19ae171ea
feat(update-vscode): grab latest vscode version 2021-03-10 15:09:00 -07:00
Joe Previte
e0203f2a36
feat: add new section to release notes draft 2021-03-05 14:05:33 -07:00
Joe Previte
606fa26b5a
chore: bump version to 3.9.1 2021-03-05 14:05:31 -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
696e0fbb14
docs(ci): add step for updating docs shield 2021-03-02 15:43:49 -07:00
Joe Previte
90807e19e7
fix(ci): replace extension in test standalone 2021-03-02 10:58:38 -07:00
Joe Previte
6b56e6572d
feat(testing): add serviceWorker tests 2021-02-26 16:00:18 -07:00
Joe Previte
9ea18636d7
Merge branch 'master' into upgrade-vscode-1.53 2021-02-26 14:23:24 -07:00
Joe Previte
99af11ecc3
docs: add homebrew bump to release steps 2021-02-25 16:51:43 -07:00
Joe Previte
38f555e218
chore: fix lint issues in update-vscode 2021-02-25 12:40:49 -07:00
Joe Previte
169b51e453
chore: run yarn fmt 2021-02-25 12:32:05 -07:00
Joe Previte
db3a13ba06
chore: fix script 2021-02-25 11:20:25 -07:00
Joe Previte
977c579c02
feat: add update-vscode.sh script 2021-02-25 10:19:24 -07:00
Joe Previte
69ca92f0b2
chore: remove old reset-vscode script 2021-02-24 13:49:34 -07:00
Joe Previte
38d7718feb
refactor: use promises for goHome test 2021-02-22 13:41:10 -07:00
Joe Previte
d0eece3d8f
refactor: add note to test.sh about --home 2021-02-22 13:41:10 -07:00
Joe Previte
e077f2d97f
refactor: update test script to check env var 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
fc6d123da5
feat: update release template w/doc and dev 2021-02-12 16:22:32 -07:00
Joe Previte
0e3d1265d0
docs(ci): update release 2021-02-12 16:22:32 -07:00
Joe Previte
a5ac1cce83
docs(ci): update code coverage instructions 2021-02-12 16:22:32 -07:00
Joe Previte
76edcced0d
chore(helm-chart): update to v3.9.0 2021-02-12 16:22:31 -07:00
Joe Previte
2d407be795
docs(helm-chart): update to v3.9.0 2021-02-12 16:22:31 -07:00
Asher
e4e0ac43b0
Don't load plugins in tests
This can affect the test behavior and results.
2021-02-09 15:39:57 -06:00
Anmol Sethi
41ad0c0c4c
release-github-draft.sh: Remove incorrect assets reference
I think at some point this script created the release and attached
assets but that's not the case anymore.

For some reason this would error with undefined variable reference for
joe but bash doesn't complain for me or Asher.

Not sure what the difference is.
2021-02-05 15:11:16 -07:00
Joe Previte
07da291d72
chore: update v to 3.8.1 in values.yaml 2021-02-05 14:11:34 -07:00
Joe Previte
55c916a987
docs: update release doc with rg instructions 2021-02-05 14:10:27 -07:00
Joe Previte
05d8b61a32
chore: update to 3.8.1 in Chart.yaml 2021-02-05 14:09:16 -07:00
Joe Previte
244775dab5
docs(helm chart readme): update to 3.8.1 2021-02-05 14:08:35 -07:00
Joe Previte
d7f67b80df
chore: add CODE_OF_CONDUCT to fmt script 2021-02-03 09:52:59 -07:00
Joe Previte
4756257207
refactor: rename doc to docs 2021-02-03 09:46:35 -07:00
Joe Previte
3044224729
feat: add support for code coverage shield 2021-01-25 16:21:07 -07:00
Joe Previte
05beccf671
refactor: move jest around and add code coverage 2021-01-22 14:18:45 -07:00
Joe Previte
883dd13850
refactor: move jest and add package.json to /test 2021-01-21 14:06:49 -07:00
Joe Previte
bea8bb0519
refactor: remove mocha 2021-01-21 10:10:33 -07:00
Asher
39faceeee4
Merge pull request #2539 from cdr/callback-html 2021-01-11 16:19:08 -06:00
Anmol Sethi
07bc3d9774
Merge pull request #2551 from cdr/dark-mode-favicon-b1d7
favicon: Add dark mode support
2021-01-11 12:55:20 -05:00
Anmol Sethi
f15580b28a
favicon: Add dark mode support
Closes #2538

Works as expected on latest Firefox and Chromium.
2021-01-11 12:54:25 -05:00
Anmol Sethi
fa2aed6d46
gen_icons.sh: Document pwa-icon vs favicon having different design 2021-01-09 01:45:08 -05:00
Asher
cb11e1f750
Fix typings rsync 2021-01-08 10:37:47 -06:00
Sean Smith
9e4206aa41
Add typings to release bundle (#2544) 2021-01-06 14:25:58 -06:00
Asher
05530db20e
Fix symlink_asar failing if link is broken
This can happen if you `yarn release` without keeping node modules.
2021-01-05 15:28:42 -06:00
Asher
aa05993cf0
Bundle callback.html into final build 2021-01-05 15:26:11 -06:00
Anmol Sethi
c4610f7829
v3.8.0
🎅🏼
2020-12-18 15:09:55 -05:00
Asher
c7baf5d04a
Merge pull request #2482 from cdr/asar
Symlink node_modules.asar to node_modules in lib/vscode
2020-12-18 10:54:36 -08:00
Anmol Sethi
ea1b38737e
Merge pull request #2466 from cdr/freebsd-abe7
ci: Add support for FreeBSD to the build process
2020-12-18 13:04:11 -05:00
Jean-Yves LENHOF
0f2085bd27
release-image: Use more minimal packages #2462 2020-12-18 13:01:59 -05:00
Asher
3aa4ae4539
Clarify why we need node_modules.asar 2020-12-18 10:59:15 -06:00
Anmol Sethi
2bafbdc32f
ci: Minor fixes for FreeBSD support 2020-12-18 11:52:08 -05:00
Anmol Sethi
de112b15ed
clean.sh: Do not reset lib/vscode
Now that we've moved to the submodule, there is no need to reset changes
in there :)

cc @jsjoeio
2020-12-18 11:52:08 -05:00
Anmol Sethi
65ce3996ac
build: Do not let agent install fail the build
We don't have an agent for FreeBSD right now.
2020-12-18 11:52:08 -05:00
Anmol Sethi
386af14a77
ci/README: Document command used to find stale version 2020-12-18 04:01:25 -05:00
Asher
121a520447
Symlink node_modules.asar to node_modules in lib/vscode
Closes #2197.
2020-12-17 15:48:19 -06:00
Joe Previte
74d6d5e1e1
fix: remove unnecessary grep line in fmt script 2020-12-17 10:00:32 -07:00
Joe Previte
fdde5a87a5
chore: format lint file 2020-12-16 17:04:49 -07:00
Joe Previte
be97f80d00
fix: add grep -v lib/vscode to git ls-files 2020-12-16 16:56:44 -07:00
Joe Previte
e391f68fcd
docs: update workflow and remove yarn vscode 2020-12-16 11:48:43 -07:00
Joe Previte
5830532726
refactor: remove submodule code from steps scripts 2020-12-16 11:48:02 -07:00
Joe Previte
fcc16e5397
refactor: move vscode.sh to postinstall 2020-12-16 11:47:20 -07:00
Joe Previte
25e6f8414a
feat: remove vscode scripts used with submodule 2020-12-15 15:59:12 -07:00
Joe Previte
faeed81d43
feat: add vscode:clean script 2020-12-15 14:54:07 -07:00
Asher
9fb661d91e
Use patience algorithm for diffs
This should prevent us from generating different diffs and adding noise
to our PRs. Patience seems like a good one; it generated a diff that I
felt was easier to read in the case of the yarn.lock optionator section.
2020-12-15 11:14:56 -06:00
Asher
f8b782bd68
Move ignore-last-opened to ipc.d.ts
This is so it can be used in VS Code. Don't tell anyone but I forgot to
run `yarn ci`.
2020-12-15 11:14:21 -06:00
Joe Previte
cc584f86b9
Merge pull request #2435 from cdr/issue-2328-customize-go-home
cli: add --home flag to customize "Go Home" button
2020-12-15 09:52:39 -07:00
Anmol Sethi
71abff74ec
Revert yarn.lock to master 2020-12-14 16:23:36 -07:00
Joe Previte
b0336e9d50
chore: revert yarn.lock to match master 2020-12-14 16:23:36 -07:00
Joe Previte
c266d4ac68
chore: revert accidental yarnlock changes in patch 2020-12-14 16:23:36 -07:00
Joe Previte
066ce21688
fix: remove unused import in workbench.ts 2020-12-14 16:23:36 -07:00
Joe Previte
77ddac28fe
chore: fix lint issue in patch 2020-12-14 16:23:35 -07:00