Skip to content

Commit 28d1202

Browse files
Claude fixes things (#67)
1 parent 8dae310 commit 28d1202

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

applications/wg-easy/CLAUDE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,16 @@ RELEASE_NOTES="Release notes"
171171
APP_SLUG=wg-easy-cre
172172
```
173173

174+
## Claude Code Configuration
175+
176+
When using Claude Code with this repository, use these timeout settings for long-running operations:
177+
178+
- `task helm-install`: Use 1200000ms (20 minutes) timeout - double the helmfile timeout of 600s
179+
- `task full-test-cycle`: Use 1800000ms (30 minutes) timeout - accounts for cluster creation + deployment + testing
180+
- `task cluster-create`: Use 600000ms (10 minutes) timeout - double typical cluster creation time
181+
182+
Example: When running `task helm-install` via Bash tool, use `timeout: 1200000` parameter.
183+
174184
## Common Workflows
175185

176186
### Local Development

applications/wg-easy/Taskfile.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,6 @@ tasks:
202202
silent: true
203203
vars:
204204
HELM_ENV: '{{.HELM_ENV | default "default"}}'
205-
requires:
206-
vars: [REPLICATED_LICENSE_ID]
207205
cmds:
208206
- echo "Installing all charts via helmfile"
209207
- |

applications/wg-easy/helmfile.yaml.gotmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,14 @@ environments:
3232
- extras:
3333
enableReplicatedSDK: true
3434
---
35+
{{- if eq .Environment.Name "replicated" }}
3536
repositories:
3637
- name: registry.replicated.com
3738
oci: true
3839
url: registry.replicated.com
3940
username: '{{ .Values.username }}'
4041
password: '{{ .Values.password }}'
42+
{{- end }}
4143

4244
releases:
4345
# Install cert-manager with CRDs but without issuers
@@ -75,8 +77,6 @@ releases:
7577
values:
7678
- traefik:
7779
ports:
78-
web:
79-
nodePort: 30080
8080
websecure:
8181
nodePort: 30443
8282

applications/wg-easy/taskfiles/utils.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -114,22 +114,13 @@ tasks:
114114
# Get TF_EXPOSED_URL for HTTPS
115115
TF_EXPOSED_URL=$(replicated cluster port ls $CLUSTER_ID --output json | jq -r '.[] | select(.upstream_port == 30443 and .exposed_ports[0].protocol == "https") | .hostname' | head -n 1)
116116
117-
# Get TF_EXPOSED_HTTP_URL for HTTP
118-
TF_EXPOSED_HTTP_URL=$(replicated cluster port ls $CLUSTER_ID --output json | jq -r '.[] | select(.upstream_port == 30080 and .exposed_ports[0].protocol == "http") | .hostname' | head -n 1)
119-
120117
if [ -z "$TF_EXPOSED_URL" ]; then
121118
echo "Error: Could not determine TF_EXPOSED_URL. HTTPS port is not properly exposed."
122119
echo "Please ensure the HTTPS port is exposed before deploying."
123120
exit 1
124121
fi
125122
126-
if [ -z "$TF_EXPOSED_HTTP_URL" ]; then
127-
echo "Error: Could not determine TF_EXPOSED_HTTP_URL. HTTP port is not properly exposed."
128-
echo "Please ensure the HTTP port is exposed before deploying."
129-
exit 1
130-
fi
131-
132-
echo "TF_EXPOSED_URL=$TF_EXPOSED_URL TF_EXPOSED_HTTP_URL=$TF_EXPOSED_HTTP_URL"
123+
echo "TF_EXPOSED_URL=$TF_EXPOSED_URL"
133124
fi
134125
135126
vendor-api-auth:

0 commit comments

Comments
 (0)