Skip to content

Commit

Permalink
fix(docker): auto-build sdk & hub in build.rs (#1972)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
NathanFlurry committed Jan 30, 2025
1 parent 7f3697a commit 36f37cc
Show file tree
Hide file tree
Showing 32 changed files with 231 additions and 229 deletions.
33 changes: 24 additions & 9 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
*
# MARK: Docker-specific
.git/

!Cargo.lock
!Cargo.toml
!sdks/api/full/rust/Cargo.toml
!sdks/api/full/rust/src
!packages
!resources/legacy/proto
# MARK: Copied from .gitignore ===
**/.DS_Store

!docker/monolith
docker/monolith/*.md
# Rust
**/target

# JavaScript
**/.cache/
**/.turbo
**/.yarn
**/dist/
**/node_modules/
**/target
.turbo

# Site
site/public/rss/
!site/public/rss/.gitkeep

site/src/generated/
!site/src/generated/errorPages.json
!site/src/generated/apiPages.json
!site/src/generated/meta.json

63 changes: 12 additions & 51 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,66 +1,27 @@
# Keep all .gitignore files in this file so we can easily keep it in sync with .dockerignore
#
# Make sure to update .dockerignore appropriately

**/.DS_Store
**/symbolCache.db

# Terraform
**/*.tfstate
**/*.tfstate.*
**/.terraform.*
**/.terraform/
infra/tf/*/_bolt.tf

# Vagrant
.vagrant-remote
.vagrant-digitalocean-token
**/.vagrant/

# Bolt
.bolt-cache.json
.volumes/
Bolt.local.toml

/namespaces/*
!/namespaces/.gitkeep
!/namespaces/README.md

/secrets/*
!/secrets/.gitkeep
!/secrets/README.md

# Generated code
gen/build_script.sh
gen/test_build_script.sh
gen/svc/
gen/tf/
gen/docker/
gen/tests/
gen/k8s/

# K3s
volumes/

# Rust
lib/**/Cargo.lock
!lib/bolt/Cargo.lock
!lib/job-runner/Cargo.lock
# Allows symlinking target instead of being a directory
**/target
**/target/
**/*.rustfmt

# JavaScript
**/.cache/
**/.turbo
**/.yarn
**/dist/
**/node_modules/
**/target
.turbo

tests/basic-game/.env
# Site
site/public/rss/
!site/public/rss/.gitkeep

site/src/generated/
!site/src/generated/errorPages.json
!site/src/generated/apiPages.json
!site/src/generated/meta.json

# Added by cargo

/target
.yarn/cache
.yarn/install-state.gz
.turbo
96 changes: 28 additions & 68 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 36f37cc

Please sign in to comment.