Skip to content

Commit

Permalink
Goldsky asset ingest (#1321)
Browse files Browse the repository at this point in the history
* many goldsky changes

* ensure working goldsky asset

* clean up
  • Loading branch information
ravenac95 authored Apr 30, 2024
1 parent 944a580 commit 16cabaf
Show file tree
Hide file tree
Showing 12 changed files with 1,318 additions and 926 deletions.
30 changes: 20 additions & 10 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ coverage/
.eslintcache

# builds
out/
build/
dist/
data/
.turbo/
.next/
.docusaurus/
**/out/
**/build/
**/dist/
**/data/
**/.turbo/
**/.next/
**/.docusaurus/

# files
.DS_Store
Expand All @@ -36,6 +36,12 @@ data/
*.log
coverage.json

**/.env
**/.next
**/.meltano

**/.venv

# typescript
*.tsbuildinfo
next-env.d.ts
Expand All @@ -46,9 +52,11 @@ graph/.test.subgraph.yaml
# playwright
playwright-report/
node_modules
target
.pnpm-store
test_only.*
**/test_only.*
**/test_only
Dockerfile
*.Dockerfile
**/Dockerfile
Expand All @@ -60,11 +68,13 @@ Dockerfile
**/__pycache__

# dbt
target/
dbt_packages/
**/target/
**/dbt_packages/

# Cloudquery
.cq/
**/.cq

# Github directory
.github/scripts
.github/scripts
.git
2 changes: 1 addition & 1 deletion docker/cloudquery-ts-base.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18 as build
FROM node:20 as build

RUN npm install -g pnpm@^9.0.0

Expand Down
12 changes: 7 additions & 5 deletions ops/tf-modules/warehouse-cluster/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ locals {
node_pools = concat([
{
name = "${var.cluster_name}-default-node-pool"
machine_type = "e2-medium"
machine_type = "e2-standard-2"
node_locations = join(",", var.cluster_zones)
min_count = 0
max_count = 3
local_ssd_count = 0
spot = false
disk_size_gb = 75
disk_size_gb = 50
disk_type = "pd-standard"
image_type = "COS_CONTAINERD"
enable_gcfs = false
Expand All @@ -25,6 +25,7 @@ locals {
preemptible = false
initial_node_count = 1
},
# The spot pool is for workloads that need spot
{
name = "${var.cluster_name}-spot-node-pool"
machine_type = "n1-standard-16"
Expand All @@ -45,9 +46,10 @@ locals {
preemptible = false
initial_node_count = 0
},
# The preemptible pool should be used only if spot can't be used
{
name = "${var.cluster_name}-preemptible-node-pool"
machine_type = "n1-standard-64"
machine_type = "n1-standard-16"
node_locations = join(",", var.cluster_zones)
min_count = 0
max_count = 16
Expand Down Expand Up @@ -93,14 +95,14 @@ locals {
{
key = "pool_type"
value = "spot"
effect = "PREFER_NO_SCHEDULE"
effect = "NO_SCHEDULE"
},
]
"${var.cluster_name}-preemptible-node-pool" = [
{
key = "pool_type"
value = "preemptible"
effect = "PREFER_NO_SCHEDULE"
effect = "NO_SCHEDULE"
},
]
}, var.extra_node_taints)
Expand Down
Loading

0 comments on commit 16cabaf

Please sign in to comment.