Muhammad Atif Ali
d37f6d80f7
chore(docs): update docs for correct use of shell and console and enforce linewidth ( #9245 )
2023-08-23 12:27:57 +03:00
Ammar Bandukwala
4a9c7733d8
chore(dogfood): revert to pre-nix image ( #9231 )
2023-08-21 20:30:09 +00:00
Kyle Carberry
c0a78533bf
chore: reduce build time by converting docker image to build with nix ( #9099 )
...
* Add Docker image
* Try building the container in CI
* Uncomment testing lines
* Trim image step
* Hit 'em with a Docker load
* Oopsie!
* Add a tag and push!
* Fix image name 🤦
* Fix sudo
* Fix target name
* Build and push
* Fix login to docker hub
* Revert to Docker push
* Fix PATH
* Fix SHA
* Fix ca certs
* Fix ca certs
* Fix coping files in
* Fix docker init
* Fix Docker group and init
* Add comments to our Nix
* Fix build stage
* Add some more comments
* Remove old dogfood image files
* Tag and push with branch name
* Fix tag passing
* Fix tag passing
* Remove old pull triggers
* Convert gen to use Nix
* Add protobuf to the flake
* Add prettier to the dev shell
* Swap to the faster Nix cache action
* Add the correct yq
* Fix gen
* Add make to the flake
* Update extensions
2023-08-17 21:19:36 -05:00
Cian Johnston
6cdf1c73c0
chore: update sqlc to version 1.20.0 ( #9111 )
2023-08-15 20:06:03 +00:00
Asher
b993cab49a
fix: use screen for reconnecting terminal sessions on Linux if available ( #8640 )
...
* Add screen backend for reconnecting ptys
The screen portion is a port from wsep. There is an interface that lets
you choose between screen and the previous method. By default it will
choose screen if it is installed but this can be overidden (mostly for
tests).
The tests use a scanner instead of a reader now because the reader will
loop infinitely at the end of a stream.
Replace /bin/bash with bash since bash is not always in /bin.
* Remove connection_id from reconnecting PTY logger
This serves multiple connections so it makes no sense to scope it to a
single connection.
Also lets us use "connection_id" when logging write errors instead of
"other_conn_id".
* Use PATH to test buffered reconnecting pty
2023-08-14 11:19:13 -08:00
Muhammad Atif Ali
31b7de6a3e
chore: upgrade go to 1.20.7 ( #8923 )
...
* chore: upgrade go to 1.20.7
* remove unused env
2023-08-08 09:20:36 +03:00
Colin Adler
aa7b267170
chore: add pnpm to dogfood image ( #8865 )
2023-08-02 10:26:47 -05:00
Bruno Quaresma
471dc6126c
chore: upgrade nodejs version to 18.x ( #8768 )
2023-07-27 17:54:38 -03:00
Muhammad Atif Ali
9e170a7332
chore: add filebrowser to dogfood ( #8535 )
2023-07-18 17:04:00 +03:00
Muhammad Atif Ali
ce114a7f9f
chore: upgrade sqlc to 1.19.1 ( #8511 )
2023-07-15 09:07:19 +03:00
Bruno Quaresma
dc52df940b
chore: update coder tf provider on dogfood ( #8503 )
2023-07-13 14:50:23 -03:00
Muhammad Atif Ali
f21541c0e4
chore: update gh cli in dogfood Dockerfile ( #8489 )
2023-07-13 11:49:43 +03:00
Muhammad Atif Ali
765fd29336
chore: upgrade go version to 1.20.6 ( #8457 )
2023-07-12 17:27:17 +03:00
Colin Adler
2c0f653aa8
chore(dogfood): give Asher more ram ( #8442 )
2023-07-11 15:24:29 -05:00
Mathias Fredriksson
de1d04d7bb
fix(dogfood): use gcr.io/coder-dev-1/alpine mirror to fix rate limit ( #8424 )
2023-07-11 20:27:07 +03:00
Colin Adler
6079cda851
chore(dogfood): add docker compose ( #8354 )
2023-07-06 19:46:40 -05:00
Colin Adler
59246e054f
chore(dogfood): add libssl-dev to image ( #8312 )
2023-07-05 00:24:32 -05:00
Spike Curtis
5d26637686
feat(scaletest): add license and experiment to scaletest ( #8222 )
...
* add license and experiment to scaletest
Signed-off-by: Spike Curtis <spike@coder.com >
* appease lint & fmt
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-06-27 10:13:36 +00:00
Colin Adler
7d43f4ceee
chore: update dogfood image ( #8114 )
2023-06-20 15:08:15 -05:00
Kyle Carberry
69f911dfd5
feat: add queue_position and queue_size to provisioner jobs ( #8074 )
2023-06-20 15:07:18 -05:00
Cian Johnston
d6f8bd7847
feat(cli): add coder stat command ( #8005 )
2023-06-20 11:16:57 +02:00
Colin Adler
003120882f
chore: update Go to 1.20.5 ( #7877 )
2023-06-06 14:05:09 -05:00
Mathias Fredriksson
660bbb8d38
refactor: deprecate login_before_ready in favor of startup_script_behavior ( #7837 )
...
Fixes #7758
2023-06-06 11:58:07 +03:00
dependabot[bot]
b79bfb2874
chore: bump alpine from 3.16 to 3.18 in /dogfood ( #7847 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-05 11:26:58 -05:00
Marcin Tojek
4eb0baa849
chore: update protoc-gen-go ( #7708 )
2023-05-30 10:24:34 +02:00
Spike Curtis
96a2e63809
chore: upgrade to golangci-lint 1.52.2 ( #7674 )
...
* Disable ioutilDeprecated lint
Signed-off-by: Spike Curtis <spike@coder.com >
* Upgrade to golangci-lint 1.52.2
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-25 14:56:31 +04:00
Cian Johnston
f47ecc29f0
chore(dogfood): Update sqlc version in dogfood image to match CI ( #7661 )
2023-05-24 09:30:56 +00:00
Colin Adler
0c074742a5
fix(ci): manually select Go version ( #7654 )
2023-05-24 07:47:44 +00:00
Spike Curtis
cd416c86dd
refactor: workspace builds ( #7541 )
...
* refactor workspace builds
Signed-off-by: Spike Curtis <spike@coder.com >
* make gen
Signed-off-by: Spike Curtis <spike@coder.com >
* Remove ParameterResolver from typescript
Signed-off-by: Spike Curtis <spike@coder.com >
* rename conversion -> database/db2sdk
Signed-off-by: Spike Curtis <spike@coder.com >
* tests for db2sdk
Signed-off-by: Spike Curtis <spike@coder.com >
* Tests for ParameterResolver
Signed-off-by: Spike Curtis <spike@coder.com >
* wsbuilder tests
Signed-off-by: Spike Curtis <spike@coder.com >
* Move parameter validation tests to richparameters_test.go
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix CI generation; rename mock->dbmock
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix test imports
Signed-off-by: Spike Curtis <spike@coder.com >
---------
Signed-off-by: Spike Curtis <spike@coder.com >
2023-05-23 12:06:33 +04:00
Cian Johnston
a29c4c543d
chore(dogfood): fix dogfood image ( #7603 )
...
* chore(dogfood): update keys, add script to do so
* chore(dogfood): fix urls in Dockerfile
* fmt
2023-05-19 15:09:34 +01:00
Muhammad Atif Ali
e375169ac0
chore: remove CPU usage calculation for hosts on cgroup v1 ( #7602 )
2023-05-19 14:08:20 +00:00
Muhammad Atif Ali and Cian Johnston
ef635f12ea
chore(dogfood): update the dogfood template to add workspace CPU and RAM usage from cgroup ( #7529 )
...
Co-authored-by: Cian Johnston <cian@coder.com >
2023-05-19 15:15:48 +03:00
Colin Adler
e3b324a1a1
chore(dogfood): update dependency versions ( #7548 )
2023-05-16 18:26:06 +00:00
Ben Potter and Muhammad Atif Ali
6bb4a4c3c5
chore: add latest dogfood template ( #7321 )
...
Co-authored-by: Muhammad Atif Ali <matifali@live.com >
2023-05-13 15:42:10 +03:00
Colin Adler
e2d8bda246
chore(dogfood): remove unnecessary docker host replace ( #7269 )
2023-04-25 04:58:09 +00:00
Marcin Tojek
56f00a82e1
chore: update sqlc to v1.17.2 ( #6920 )
...
* WIP
* chore: Update sqlc to v1.17.2
2023-03-31 14:05:20 +02:00
Dean Sheather
aafd2803bb
chore: update dogfood IP for Sydney ( #6597 )
2023-03-14 15:29:52 +10:00
Cian Johnston and Mathias Fredriksson
ab9cba9396
chore: update template examples and docs to install code-server under /tmp ( #6138 )
...
Updates templates examples and docs to pass the --method standalone argument
to code-server install script, and installs code-server under /tmp/code-server.
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
---------
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2023-02-10 13:36:46 +00:00
Mathias Fredriksson
c63dcf13c2
fix(dogfood): Enable pipefail for startup_script ( #6017 )
2023-02-07 20:15:09 +02:00
Dean Sheather
b45c445255
feat: add git to Docker image ( #6034 )
2023-02-07 02:30:35 +10:00
Ben Potter
5931d12d4b
chore: use node 16 in dogfood images ( #5939 )
2023-02-05 22:48:41 -06:00
Kyle Carberry
2fab310ca4
fix: match ubuntu tags on dogfood ( #5996 )
...
* fix: match ubuntu tags on dogfood
golangci-lint needs GLIBC>=2.32 which made me notice
that we're building binaries on a difference Ubuntu
version than we dev on.
* Fix sources
2023-02-02 13:58:53 -06:00
Kyle Carberry and Colin Adler
026b1cd2a4
chore: update to go 1.20 ( #5968 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-02-02 12:36:27 -06:00
Bruno Quaresma
8ef0306c08
Revert "docs: Change console to shell and remove unused elements ( #5960 )" ( #5964 )
...
This reverts commit 61dcf643e8 .
2023-02-01 17:05:45 -03:00
Bruno Quaresma
61dcf643e8
docs: Change console to shell and remove unused elements ( #5960 )
2023-02-01 18:27:11 +00:00
Mathias Fredriksson
a1212014df
chore(examples): Add login_before_ready and startup_script_timeout ( #5880 )
2023-01-27 21:01:48 +00:00
Mathias Fredriksson
496beae807
Revert "feat(dogfood): install nix package manager ( #5308 )" ( #5871 )
2023-01-26 15:41:59 +00:00
bfc8a1094b
feat(dogfood): install nix package manager ( #5308 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
Co-authored-by: Kyle Carberry <kyle@carberry.com >
2023-01-26 16:39:30 +02:00
Mathias Fredriksson
8afdf24d10
chore: Update sqlc to v1.16.0 ( #5788 )
...
* chore: Update sqlc to v1.16.0
* chore: Fix cases where types became Null-types
* chore: Set parameter_schemas default_destination_scheme and default_source_scheme to NOT NULL
* chore: Add enum validation to database fake
* chore: Fix all tests that skipping enum values
* fix: Use correct err in providionerdserver audit log failure log
2023-01-23 13:14:47 +02:00
Mathias Fredriksson
f0df0686f9
chore(dogfood): Avoid calling ~/personalize unless executable ( #5793 )
2023-01-19 19:02:15 +00:00