Skip to content

Commit e09a673

Browse files
committed
Merge branch 'main' into telemetry
2 parents 9a31eb3 + 5e673cc commit e09a673

File tree

9 files changed

+20
-47
lines changed

9 files changed

+20
-47
lines changed

.github/workflows/coder.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ jobs:
209209
run: gotestsum --junitfile="gotests.xml" --packages="./..." --
210210
-covermode=atomic -coverprofile="gotests.coverage"
211211
-coverpkg=./...,github.com/coder/coder/codersdk
212-
-timeout=3m -count=$GOCOUNT -short -failfast
212+
-timeout=5m -count=$GOCOUNT -short -failfast
213213

214214
- name: Upload DataDog Trace
215215
if: always() && github.actor != 'dependabot[bot]' && !github.event.pull_request.head.repo.fork
@@ -316,7 +316,7 @@ jobs:
316316
deploy:
317317
name: "deploy"
318318
runs-on: ubuntu-latest
319-
timeout-minutes: 20
319+
timeout-minutes: 30
320320
if: github.ref == 'refs/heads/main' && !github.event.pull_request.head.repo.fork
321321
permissions:
322322
contents: read

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ test: test-clean
115115
.PHONY: test-postgres
116116
test-postgres: test-clean
117117
DB=ci gotestsum --junitfile="gotests.xml" --packages="./..." -- \
118-
-covermode=atomic -coverprofile="gotests.coverage" -timeout=5m \
118+
-covermode=atomic -coverprofile="gotests.coverage" -timeout=10m \
119119
-coverpkg=./...,github.com/coder/coder/codersdk \
120120
-count=1 -parallel=1 -race -failfast
121121

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Visit our docs [here](https://coder.com/docs/coder-oss).
6565

6666
## Comparison
6767

68-
Please file [an issue](https://github.com/coder/coder/issues/new) if any information is out of date. Also refer to: [What Coder is not](https://coder.com/docs/coder-oss/latest/about#what-coder-is-not).
68+
Please file [an issue](https://github.com/coder/coder/issues/new) if any information is out of date. Also refer to: [What Coder is not](https://coder.com/docs/coder-oss/latest/index#what-coder-is-not).
6969

7070
| Tool | Type | Delivery Model | Cost | Environments |
7171
| :---------------------------------------------------------- | :------- | :----------------- | :---------------------------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------- |

cli/server_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ func TestServer(t *testing.T) {
6060
assert.NoError(t, err)
6161
client = codersdk.New(accessURL)
6262
return true
63-
}, 15*time.Second, 25*time.Millisecond)
63+
}, time.Minute, 50*time.Millisecond)
6464
_, err = client.CreateFirstUser(ctx, codersdk.CreateFirstUserRequest{
6565
Email: "some@one.com",
6666
Username: "example",

docs/SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Security Policy
22

3-
Keeping your code secure is central to what we do. If you find a vulnerability,
4-
please send an email to security@coder.com.
3+
If you find a vulnerability, **DO NOT FILE AN ISSUE**.
4+
Instead, send an email to security@coder.com.

docs/index.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/install.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,21 @@
11
# Install
22

3-
This article walks you through the various ways of installing and deploying Coder.
4-
53
## install.sh
64

7-
The easiest way to install Coder is to use our [install script](https://github.com/coder/coder/blob/main/install.sh) for Linux and macOS. The install script
8-
attempts to use the system package manager detection-reference if possible.
5+
The easiest way to install Coder is to use our [install script](https://github.com/coder/coder/blob/main/install.sh) for Linux and macOS.
96

10-
You can preview what occurs during the install process:
7+
To install, run:
118

129
```bash
13-
curl -L https://coder.com/install.sh | sh -s -- --dry-run
10+
curl -L https://coder.com/install.sh | sh
1411
```
1512

16-
To install, run:
13+
You can preview what occurs during the install process:
1714

1815
```bash
19-
curl -L https://coder.com/install.sh | sh
16+
curl -L https://coder.com/install.sh | sh -s -- --dry-run
2017
```
2118

22-
> If you're concerned about the install script's use of `curl | sh` and the
23-
> security implications, please see [this blog
24-
> post](https://sandstorm.io/news/2015-09-24-is-curl-bash-insecure-pgp-verified-install)
25-
> by [sandstorm.io](https://sandstorm.io).
26-
2719
You can modify the installation process by including flags. Run the help command for reference:
2820

2921
```bash

docs/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"path": "./CODE_OF_CONDUCT.md"
4444
},
4545
{
46-
"title": "Security policy",
46+
"title": "Security",
4747
"description": "How to report vulnerabilities in Coder",
4848
"path": "./SECURITY.md"
4949
}

install.sh

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,15 @@ $1 package has been installed.
112112
To run Coder as a system service:
113113
114114
# Set up an external access URL or enable CODER_TUNNEL
115-
sudo vim /etc/coder.d/coder.env
115+
$ sudo vim /etc/coder.d/coder.env
116116
# Use systemd to start Coder now and on reboot
117-
sudo systemctl enable --now coder
117+
$ sudo systemctl enable --now coder
118118
# View the logs to ensure a successful start
119-
journalctl -u coder.service -b
119+
$ journalctl -u coder.service -b
120+
121+
Or, just run the server directly:
122+
123+
$ coder server
120124
121125
EOF
122126
}

0 commit comments

Comments
 (0)