Dean Sheather
9bdaec6a21
fix: use armhf architecture in linux packages ( #2514 )
2022-06-20 06:12:38 +10:00
Dean Sheather
153ffc0ee9
fix: include architecture and version information in linux packages ( #2511 )
v0.7.3
2022-06-19 18:56:07 +00:00
Dean Sheather
97348b1c9d
fix: replace underscores with hyphens in slim binary name ( #2509 )
2022-06-19 18:15:20 +00:00
Dean Sheather
8d6faa3c1a
fix: login before pushing docker images in release pipeline ( #2496 )
v0.7.2
2022-06-19 13:12:09 +10:00
Dean Sheather
4b3608b628
fix: run git fetch --tags --force during release ( #2495 )
2022-06-19 10:39:01 +10:00
Dean Sheather
dc115688b8
fix: checkout tags in deploy job ( #2493 )
2022-06-18 22:16:14 +00:00
Dean Sheather
167ab281e4
fix: fix ERRPIPE in build scripts, fix deploy ( #2492 )
2022-06-18 21:47:37 +00:00
Dean Sheather
075e891f28
Remove goreleaser in favor of build scripts ( #2143 )
2022-06-19 05:47:10 +10:00
Dean Sheather
a9c166491d
fix: synchronize terraform log output, fix init coloring ( #2482 )
2022-06-19 05:26:43 +10:00
Spike Curtis
54a585dbf6
Log provisioner outputs from TestProvision_ExtraEnv ( #2427 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2022-06-17 14:47:05 -07:00
Spike Curtis
0aa66b4296
Lock the fake database during transactions ( #2478 )
...
* Lock the fake database during transactions
Signed-off-by: Spike Curtis <spike@coder.com >
* Add ut for fake database transactions
Signed-off-by: Spike Curtis <spike@coder.com >
* fix lint
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix lint macOS
Signed-off-by: Spike Curtis <spike@coder.com >
2022-06-17 13:50:11 -07:00
Cian Johnston
1455603505
fix: cli: create: use new autostart format, opt-in by default ( #2472 )
2022-06-17 20:38:10 +00:00
Steven Masley
edd1083176
fix: Fix test flake based on same update time ( #2484 )
2022-06-17 15:20:21 -05:00
Steven Masley
4616499030
chore: Reuse ComputedParmeter, remove duplicated codersdk type ( #2477 )
...
* chore: Reuse ComputedParmeter instead of custom type
2022-06-17 15:20:13 -05:00
Cian Johnston and Mathias Fredriksson
0b6efce466
add lima template for coder ( #2452 )
...
This commit adds a lima example for Coder.
You can now run limactl start --name=coder ./examples/lima/coder.yaml and have a "prod-like" Coder instance up and running within a minute or so.
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2022-06-17 20:12:42 +00:00
Steven Masley
a9d62cc992
fix: Fix nested transactions should function correctly ( #2470 )
...
* fix: Fix nested transactions should function correctly
Inner tx should reuse outer tx
2022-06-17 15:10:44 -05:00
Cian Johnston
0d2f0d7f8c
chore: apply non-durability settings to test postgres container ( #2479 )
...
This commit applies some recommended settings to sacrifice durability
for speed for our testing database:
- Mount PGDATA dir on a tmpfs (--tmpfs /tmp)
- Turn off fsync
- Turn off synchronous_commit
- Turn off full_page_writes
Ref: https://www.postgresql.org/docs/current/non-durability.html
2022-06-17 20:57:38 +01:00
Mathias Fredriksson
17ba4c8e88
fix: Allow template names to be re-used after deletion ( #2454 )
...
Fixes #2152
2022-06-17 19:18:07 +00:00
Abhineet Jain
289b98978f
Add reason field for workspace builds ( #2438 )
...
* add reason field for workspace build
* add the reason field to FE via API
* update BuildReasonMember to BuildReasonInitiator
* add unit tests
* add more unit tests
* add error for unknown transition
* fix lint
* add documentation
* fix unit tests
* fix generated types
* remove nested transaction
* rename migration file
2022-06-17 13:41:11 -04:00
Kira Pilot
7dcfea10dc
feat: add feedback link to footer ( #2447 )
...
* add ability to activate users
resolves #2254
* added test
* PR feedback
* guarding against null validation_contains field
* fixing type for ParameterSchema
resolves #2161
* added report link to footer
resolves #1885
* added test
* Footer story
* fix broken test
2022-06-17 13:26:13 -04:00
Steven Masley
64b92eea67
feat: Allow inheriting parameters from previous template_versions when updating a template ( #2397 )
...
* WIP: feat: Update templates also updates parameters
* Insert params for template version update
* Working implementation of inherited params
* Add "--always-prompt" flag and logging info
2022-06-17 12:22:28 -05:00
Jon Ayers
18973a65c1
fix: Add reaper to coder agent ( #2441 )
...
* fix: Add reaper to coder agent
- The coder agent runs as PID 1 in some of our Docker workspaces.
In such cases it is the responsibility of the init process to
reap dead processes. Failing to do so can result in an inability
to create new processes by running out of PIDs.
This PR adds a reaper to our agent that is only spawned if it
detects that it is PID1.
2022-06-17 11:51:46 -05:00
Mathias Fredriksson
6c1208e3db
feat: Clean up coder agent path in ps listing ( #2453 )
...
This commit changes the `coder agent` path in `ps` listing from
`/tmp/tmp.coderwWs87Y/coder agent` to `./coder agent`.
The path is also updated to `/tmp/coder.wWs87Y`.
There were two options considered for turning `./coder agent` into
`coder agent`:
1. Run `exec -a coder /path/to/coder agent`
2. Run `PATH=/path/to:$PATH exec coder agent`
Option 1 is not supported by `dash`, and thus discarded.
Option 2 duplicates functionality in `coder agent` which _appends_ the
path, here we would want to _prepend_ it to ensure we're starting the
downloaded `coder` binary in case there is a binary with a conflicting
name on the system.
Fixes #2407
2022-06-17 19:37:47 +03:00
Mathias Fredriksson
18b0effa83
fix: Add --yes and --use-previous-options to config-ssh ( #2458 )
2022-06-17 18:03:15 +03:00
Kyle Carberry
7cce7a9c69
test: Write URL after signal listen to fix flake ( #2456 )
...
The URL could be read before the signal was listening, causing
this test to flake: https://github.com/coder/coder/runs/6936820170?check_suite_focus=true
2022-06-17 14:16:45 +00:00
Kyle Carberry and Mathias Fredriksson
f09ab03baf
fix: Add flag to toggle telemetry ( #2455 )
...
* fix: Add flag to toggle telemetry
This allows users to entirely disable tracking from Coder!
Telemetry is enabled by default, so this is opt-out.
* Update cli/server.go
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2022-06-17 14:02:44 +00:00
Bruno Quaresma
d0aca86657
feat: Show help tooltip on hover ( #2423 )
2022-06-17 12:50:54 +00:00
Bruno Quaresma
3415b9daef
feat: Pop out all apps ( #2346 )
2022-06-17 12:36:48 +00:00
Bruno Quaresma
9fdee5d391
fix: Storybook error on complex args ( #2424 )
2022-06-17 09:19:41 -03:00
Kyle Carberry
b9f3fe49cb
fix: Start login shells on macOS and Linux ( #2437 )
...
This appends `-l` to the shell command on macOS and Linux.
It also adds environment variable expansion to allow for
chaining from `coder_agent.env`.
2022-06-17 05:54:45 +00:00
kylecarbs
be02d87f22
fix: Swap migration numbers to fix deployment
2022-06-17 05:47:13 +00:00
Kyle Carberry
4cce969018
feat: Add anonymized telemetry to report product usage ( #2273 )
...
* feat: Add anonymized telemetry to report product usage
This adds a background service to report telemetry to a Coder
server for usage data. There will be realtime event data sent
in the future, but for now usage will report on a CRON.
* Fix flake and requested changes
* Add reporting options for setup
* Add reporting for workspaces
* Add resources as they are reported
* Track API key usage
* Ensure telemetry is tracked prior to exit
2022-06-17 00:26:40 -05:00
Ben Potter
af8a1e3fea
package app icons ( #2449 )
2022-06-17 05:13:37 +00:00
Ammar Bandukwala
40ef1546e1
docs: add architecture page ( #2450 )
2022-06-16 23:46:02 -05:00
Ammar Bandukwala
de213934d1
docs: expand dotfiles section ( #2444 )
2022-06-16 18:48:18 -05:00
Katie Horne
535481139a
chore: add IDEs page to sidebar ( #2443 )
2022-06-16 18:09:40 -05:00
Katie Horne
a09d2af977
chore: add basic postgres instructions for byo databases ( #2430 )
2022-06-16 17:54:15 -05:00
Katie Horne
0c9ff3a2ac
chore: change git link so that it uses https instead of ssh ( #2431 )
2022-06-16 16:21:52 -05:00
Katie Horne
da9009bd3e
chore: add link from install.md to Docker example README ( #2435 )
2022-06-16 16:06:10 -05:00
Spike Curtis
93b1425d85
Stop showing persistent vs ephemeral for resources ( #2333 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
2022-06-16 18:36:11 +00:00
Spike Curtis
552dad6919
Remove tfexec, allow TF_ environment vars and log them ( #2264 )
...
* Remove tfexec, allow TF_ environment vars and log them
Signed-off-by: Spike Curtis <spike@coder.com >
* fixup: commented code, long lines
Signed-off-by: Spike Curtis <spike@coder.com >
* rename executor methods to remove get
Signed-off-by: Spike Curtis <spike@coder.com >
* don't log terraform environment variables we don't know are safe
Signed-off-by: Spike Curtis <spike@coder.com >
* Disable linting of fake secret
Signed-off-by: Spike Curtis <spike@coder.com >
* drop parse support and move logger into terraform package
Signed-off-by: Spike Curtis <spike@coder.com >
* disable testpackage linter on internal package test
Signed-off-by: Spike Curtis <spike@coder.com >
2022-06-16 17:50:39 +00:00
Ammar Bandukwala
82c4b80c67
Docs touchups ( #2421 )
...
* Make secrets docs louder
* docs: a bunch of small touchups
2022-06-16 17:47:10 +00:00
Cian Johnston
c9691eafcb
feat: cli: consolidate schedule-related commands ( #2402 )
...
* feat: cli: consolidate schedule-related commands
This commit makes the following changes:
- renames autostart -> schedule starat
- renames ttl -> schedule stop
- renames bump -> schedule override
- adds schedule show command
- moves some cli-related stuff to util.go
2022-06-16 18:24:10 +01:00
Colin Adler
c36b0d892b
fix(devtunnel): use 1280 mtu ( #2420 )
...
This should be more compatible with cloud VMs and VPNs.
2022-06-16 12:12:04 -05:00
dependabot[bot]
ba451b569a
chore: bump github.com/gohugoio/hugo from 0.100.2 to 0.101.0 ( #2416 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.100.2 to 0.101.0.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/goreleaser.yml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.100.2...v0.101.0 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 17:06:41 +00:00
dependabot[bot]
c570501662
chore: bump github.com/nhatthm/otelsql from 0.3.0 to 0.3.3 ( #2415 )
...
Bumps [github.com/nhatthm/otelsql](https://github.com/nhatthm/otelsql ) from 0.3.0 to 0.3.3.
- [Release notes](https://github.com/nhatthm/otelsql/releases )
- [Commits](https://github.com/nhatthm/otelsql/compare/v0.3.0...v0.3.3 )
---
updated-dependencies:
- dependency-name: github.com/nhatthm/otelsql
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 11:51:16 -05:00
Mathias Fredriksson
b3f2b7c80a
feat: Add section for community templates ( #2401 )
...
* feat: Add section for community templates
* Add ntimo/coder-hetzner-cloud-template
2022-06-16 19:48:44 +03:00
dependabot[bot]
edaa3f5fc3
chore: bump github.com/pkg/sftp from 1.13.4 to 1.13.5 ( #2276 )
...
Bumps [github.com/pkg/sftp](https://github.com/pkg/sftp ) from 1.13.4 to 1.13.5.
- [Release notes](https://github.com/pkg/sftp/releases )
- [Commits](https://github.com/pkg/sftp/compare/v1.13.4...v1.13.5 )
---
updated-dependencies:
- dependency-name: github.com/pkg/sftp
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 11:30:34 -05:00
dependabot[bot]
fda856d293
chore: bump github.com/jedib0t/go-pretty/v6 from 6.3.1 to 6.3.2 ( #2314 )
...
Bumps [github.com/jedib0t/go-pretty/v6](https://github.com/jedib0t/go-pretty ) from 6.3.1 to 6.3.2.
- [Release notes](https://github.com/jedib0t/go-pretty/releases )
- [Commits](https://github.com/jedib0t/go-pretty/compare/v6.3.1...v6.3.2 )
---
updated-dependencies:
- dependency-name: github.com/jedib0t/go-pretty/v6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-16 11:29:54 -05:00
Katie Horne
6c1a111fa9
chore: add IDEs page ( #2388 )
2022-06-16 11:22:14 -05:00