Skip to content

Commit 5f211b7

Browse files
authored
chore: update npm deps (#844)
* chore: update npm deps * f * f * f * f * f * f * f * f * f * f * f * f * f * f
1 parent 82a10d2 commit 5f211b7

File tree

8 files changed

+1397
-1054
lines changed

8 files changed

+1397
-1054
lines changed

.stignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.git
2+
*.exe
3+
*.exe~
4+
*.dll
5+
*.so
6+
*.dylib
7+
8+
# vendor folders
9+
vendor
10+
11+
# Test binary, built with go test -c
12+
*.test
13+
14+
# Output of the go coverage tool, specifically when used with LiteIDE
15+
*.out
16+
17+
# dlv binary
18+
__debug_bin
19+
20+
# exclude some directories from syncing to dev envs for the go project
21+
migrations
22+
tgapi/bin
23+
tgrun/bin
24+
web

okteto.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,38 @@ build:
22
tgdb:
33
context: migrations
44
dockerfile: migrations/fixtures/deploy/Dockerfile
5-
image: okteto.dev/kurl-tgdb:${OKTETO_GIT_COMMIT}
65
tgmigrations:
76
context: migrations
87
dockerfile: migrations/Dockerfile.okteto
9-
image: okteto.dev/kurl-tgmigrations:${OKTETO_GIT_COMMIT}
108
tgapi:
119
context: .
1210
dockerfile: tgapi/Dockerfile.okteto
13-
image: okteto.dev/kurl-tgapi:${OKTETO_GIT_COMMIT}
1411
tgweb:
1512
context: web
1613
dockerfile: web/Dockerfile.okteto
17-
image: okteto.dev/kurl-tgweb:${OKTETO_GIT_COMMIT}
1814
args:
1915
OKTETO_NAMESPACE: ${OKTETO_NAMESPACE}
2016
tgweb-dev:
2117
context: web
2218
dockerfile: web/Dockerfile.dev.okteto
23-
image: okteto.dev/kurl-tgweb:${OKTETO_NAMESPACE}
2419

2520
deploy:
26-
- cd kustomize/overlays/okteto && kustomize edit set image tgdb=okteto.dev/kurl-tgdb:${OKTETO_GIT_COMMIT}
27-
- cd kustomize/overlays/okteto && kustomize edit set image tgmigrations=okteto.dev/kurl-tgmigrations:${OKTETO_GIT_COMMIT}
28-
- cd kustomize/overlays/okteto && kustomize edit set image tgapi=okteto.dev/kurl-tgapi:${OKTETO_GIT_COMMIT}
29-
- cd kustomize/overlays/okteto && kustomize edit set image tgweb=okteto.dev/kurl-tgweb:${OKTETO_GIT_COMMIT}
21+
- cd kustomize/overlays/okteto && kustomize edit set image tgdb=${OKTETO_BUILD_TGDB_IMAGE}
22+
- cd kustomize/overlays/okteto && kustomize edit set image tgmigrations=${OKTETO_BUILD_TGMIGRATIONS_IMAGE}
23+
- cd kustomize/overlays/okteto && kustomize edit set image tgapi=${OKTETO_BUILD_TGAPI_IMAGE}
24+
- cd kustomize/overlays/okteto && kustomize edit set image tgweb=${OKTETO_BUILD_TGWEB_IMAGE}
3025

3126
- kustomize build kustomize/overlays/okteto
3227
- kubectl apply -k kustomize/overlays/okteto
3328

3429
dev:
3530
testgrid-web:
3631
command: bash
37-
image: okteto.dev/kurl-tgweb:${OKTETO_NAMESPACE}
32+
image: ${OKTETO_BUILD_TGWEB_DEV_IMAGE}
3833
workdir: /src
3934
sync:
40-
- .:/src
35+
folders:
36+
- ./web:/src
4137
resources:
4238
limits:
4339
cpu: "2"
@@ -48,7 +44,8 @@ dev:
4844
command: bash
4945
workdir: /go/src/github.com/replicatedhq/kurl-testgrid/tgapi
5046
sync:
51-
- ../:/go/src/github.com/replicatedhq/kurl-testgrid
47+
folders:
48+
- .:/go/src/github.com/replicatedhq/kurl-testgrid
5249
resources:
5350
limits:
5451
cpu: "2"

web/.stignore

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
.git
2+
# Runtime data
3+
pids
4+
*.pid
5+
*.seed
6+
*.pid.lock
7+
8+
# Directory for instrumented libs generated by jscoverage/JSCover
9+
lib-cov
10+
11+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
12+
.grunt
13+
14+
# Bower dependency directory (https://bower.io/)
15+
bower_components
16+
17+
# node-waf configuration
18+
.lock-wscript
19+
20+
# Compiled binary addons (https://nodejs.org/api/addons.html)
21+
build/Release
22+
23+
# Dependency directories
24+
node_modules
25+
jspm_packages
26+
27+
# Optional npm cache directory
28+
.npm
29+
30+
# Optional eslint cache
31+
.eslintcache
32+
33+
# Optional REPL history
34+
.node_repl_history
35+
36+
# Output of 'npm pack'
37+
*.tgz
38+
39+
# Yarn Integrity file
40+
.yarn-integrity
41+
42+
# parcel-bundler cache (https://parceljs.org/)
43+
.cache
44+
45+
# next.js build output
46+
.next
47+
48+
# nuxt.js build output
49+
.nuxt
50+
51+
# vuepress build output
52+
.vuepress/dist
53+
54+
# Serverless directories
55+
.serverless
56+

web/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,15 @@ lint:
1717
npx eslint ./src --ext .js,.jsx,.ts,.tsx
1818

1919
.PHONY: serve
20+
serve: export NODE_ENV = development
2021
serve:
2122
npm start
2223

24+
.PHONY: serve-okteto
25+
serve-okteto: export NODE_ENV = okteto
26+
serve-okteto:
27+
npm start
28+
2329
.PHONY: build
2430
build:
2531
@echo "nothing to do"

web/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ services:
1111
- ".:/src"
1212
- /src/node_modules
1313
ports:
14-
- 30881:30881
14+
- 30881:30881
1515
restart: "always"

0 commit comments

Comments
 (0)