File tree 3 files changed +8
-7
lines changed
3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 89
89
style-lint-golangci :
90
90
name : style/lint/golangci
91
91
timeout-minutes : 5
92
- runs-on : ubuntu-latest
92
+ runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204' || 'ubuntu- latest' }}
93
93
steps :
94
94
- uses : actions/checkout@v3
95
95
- uses : actions/setup-go@v3
@@ -171,7 +171,7 @@ jobs:
171
171
gen :
172
172
name : " style/gen"
173
173
timeout-minutes : 8
174
- runs-on : ubuntu-latest
174
+ runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204' || 'ubuntu- latest' }}
175
175
needs : changes
176
176
if : needs.changes.outputs.docs-only == 'false'
177
177
steps :
@@ -276,7 +276,7 @@ jobs:
276
276
277
277
test-go :
278
278
name : " test/go"
279
- runs-on : ${{ matrix.os }}
279
+ runs-on : ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || matrix.os }}
280
280
timeout-minutes : 20
281
281
strategy :
282
282
matrix :
@@ -356,7 +356,7 @@ jobs:
356
356
357
357
test-go-postgres :
358
358
name : " test/go/postgres"
359
- runs-on : ubuntu-latest
359
+ runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204' || 'ubuntu- latest' }}
360
360
# This timeout must be greater than the timeout set by `go test` in
361
361
# `make test-postgres` to ensure we receive a trace of running
362
362
# goroutines. Setting this to the timeout +5m should work quite well
@@ -417,7 +417,7 @@ jobs:
417
417
418
418
deploy :
419
419
name : " deploy"
420
- runs-on : ubuntu-latest
420
+ runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204' || 'ubuntu- latest' }}
421
421
timeout-minutes : 30
422
422
needs : changes
423
423
if : |
Original file line number Diff line number Diff line change 26
26
27
27
jobs :
28
28
release :
29
- runs-on : ubuntu-latest
29
+ runs-on : ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu- ubuntu-2204' || 'ubuntu- latest' }}
30
30
env :
31
31
# Necessary for Docker manifest
32
32
DOCKER_CLI_EXPERIMENTAL : " enabled"
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ import (
33
33
"tailscale.com/wgengine/router"
34
34
"tailscale.com/wgengine/wgcfg/nmcfg"
35
35
36
+ "github.com/coder/coder/coderd/database"
36
37
"github.com/coder/coder/cryptorand"
37
38
38
39
"cdr.dev/slog"
@@ -447,7 +448,7 @@ func (c *Conn) sendNode() {
447
448
}
448
449
node := & Node {
449
450
ID : c .netMap .SelfNode .ID ,
450
- AsOf : c . lastStatus ,
451
+ AsOf : database . Now () ,
451
452
Key : c .netMap .SelfNode .Key ,
452
453
Addresses : c .netMap .SelfNode .Addresses ,
453
454
AllowedIPs : c .netMap .SelfNode .AllowedIPs ,
You can’t perform that action at this time.
0 commit comments