Skip to content

Commit dfa33b1

Browse files
authored
chore: run make clean on workspace startup (#16660)
1 parent 10326b4 commit dfa33b1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ endif
116116

117117
clean:
118118
rm -rf build/ site/build/ site/out/
119-
mkdir -p build/ site/out/bin/
119+
mkdir -p build/
120120
git restore site/out/
121121
.PHONY: clean
122122

dogfood/contents/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ data "coder_parameter" "res_mon_memory_threshold" {
100100
data "coder_parameter" "res_mon_volume_threshold" {
101101
type = "number"
102102
name = "Volume usage threshold"
103-
default = 80
103+
default = 90
104104
description = "The volume usage threshold used in resources monitoring to trigger notifications."
105105
mutable = true
106106
validation {
@@ -350,6 +350,7 @@ resource "coder_agent" "dev" {
350350
while ! [[ -f "${local.repo_dir}/site/package.json" ]]; do
351351
sleep 1
352352
done
353+
cd "${local.repo_dir}" && make clean
353354
cd "${local.repo_dir}/site" && pnpm install && pnpm playwright:install
354355
EOT
355356
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy