Skip to content

Commit d03730c

Browse files
committed
Merge remote-tracking branch 'origin/main' into stevenmasley/dotfiles_options
2 parents e1d7dc3 + 5bb6bc5 commit d03730c

File tree

3 files changed

+4
-15
lines changed

3 files changed

+4
-15
lines changed

.github/actions/setup-node/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
steps:
77
- uses: buildjet/setup-node@v3
88
with:
9-
node-version: 16.16.0
9+
node-version: 16.20.1
1010
# See https://github.com/actions/setup-node#caching-global-packages-data
1111
cache: "yarn"
1212
cache-dependency-path: "site/yarn.lock"

.github/workflows/ci.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -192,9 +192,7 @@ jobs:
192192
- name: Checkout
193193
uses: actions/checkout@v3
194194

195-
- uses: buildjet/setup-node@v3
196-
with:
197-
node-version: 16.16.0
195+
- uses: ./.github/actions/setup-node
198196

199197
- uses: buildjet/setup-go@v4
200198
with:

examples/templates/fly-docker-image/main.tf

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
fly = {
44
source = "fly-apps/fly"
5-
version = "~>0.0.21"
5+
version = "~>0.0.23"
66
}
77
coder = {
88
source = "coder/coder"
@@ -12,10 +12,7 @@ terraform {
1212
}
1313

1414
provider "fly" {
15-
useinternaltunnel = true
16-
internaltunnelorg = var.fly_org
17-
internaltunnelregion = data.coder_parameter.region.value
18-
fly_api_token = var.fly_api_token == "" ? null : var.fly_api_token
15+
fly_api_token = var.fly_api_token == "" ? null : var.fly_api_token
1916
}
2017

2118
provider "coder" {
@@ -27,11 +24,6 @@ resource "fly_app" "workspace" {
2724
org = var.fly_org
2825
}
2926

30-
# resource "fly_ip" "workspace-ip4" {
31-
# app = fly_app.workspace.name
32-
# type = "v4"
33-
# }
34-
3527
resource "fly_volume" "home-volume" {
3628
app = fly_app.workspace.name
3729
name = "coder_${data.coder_workspace.me.owner}_${lower(replace(data.coder_workspace.me.name, "-", "_"))}_home"
@@ -51,7 +43,6 @@ resource "fly_machine" "workspace" {
5143
env = {
5244
CODER_AGENT_TOKEN = "${coder_agent.main.token}"
5345
}
54-
# entrypoint = ["sh", "-c", replace(coder_agent.main.init_script, "/localhost|127\\.0\\.0\\.1/", "${fly_ip.workspace-ip4.address}")] # replace localhost with the IP of the workspace
5546
entrypoint = ["sh", "-c", coder_agent.main.init_script]
5647
services = [
5748
{

0 commit comments

Comments
 (0)