Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ common --remote_cache_compression --remote_cache_async

# CI Config
common:ci --build_metadata=ROLE=CI
common:ci --local_resources=cpu=4
common:ci --local_resources=memory=8000
common:ci --local_resources=cpu=2
common:ci --local_resources=memory=4000

# Release Config
common:release --config=ci --stamp --workspace_status_command=./scripts/workspace-status.sh
Expand Down
22 changes: 16 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,28 @@ executors:
base:
docker:
- image: docker.io/playerui/bazel-docker-slim:18
working_directory: ~/tools
working_directory: ~/cli
resource_class: medium
environment:
TZ: "/usr/share/zoneinfo/America/Los_Angeles"

commands:
setup_auth:
description: Configure authentication for deployments
steps:
- add_ssh_keys:
fingerprints:
- "SHA256:hUAWVYdfSW5ml6ufbfyEHUcuPwUJ88xVhsZc21b2lA8"
- run: mkdir -p ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
- run: git config --global user.name "Intuit Service"
- run: git config --global user.email "opensource-svc@intuit.com"

auto_shipit:
description: Perform Auto shipit
steps:
- attach_workspace:
at: ~/tools

at: ~/cli
- setup_auth
- run: echo "//registry.npmjs.com/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run: echo -e $GPG_KEY | gpg --import --batch
- run: |
Expand Down Expand Up @@ -62,7 +72,7 @@ jobs:
executor: base
steps:
- attach_workspace:
at: ~/player
at: ~/cli
- run: |
echo "build --remote_header=x-buildbuddy-api-key=${BUILDBUDDY_API_KEY}" >> .bazelrc.local
echo "test --remote_header=x-buildbuddy-api-key=${BUILDBUDDY_API_KEY}" >> .bazelrc.local
Expand All @@ -76,7 +86,7 @@ jobs:
executor: base
steps:
- attach_workspace:
at: ~/tools
at: ~/cli
- run: bazel build -- $(bazel query "kind(npm_package, //...)" --output label 2>/dev/null | tr '\n' ' ')

- persist_to_workspace:
Expand All @@ -89,7 +99,7 @@ jobs:
executor: base
steps:
- attach_workspace:
at: ~/tools
at: ~/cli

- run: |
bazel coverage --config=ci -- $(bazel query "kind(js_test, //...)" --output label 2>/dev/null | tr '\n' ' ')
Expand Down
1 change: 0 additions & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ exports_files([
"tsconfig.json",
"package.json",
"vitest.config.mts",
".editorconfig",
".all-contributorsrc",
"README.md",
"requirements.txt",
Expand Down
1 change: 1 addition & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ archive_override(
urls = ["https://github.com/player-ui/rules_player/archive/refs/tags/v2.3.0.tar.gz"],
integrity = "sha256-ic72uLj5+fdjFXxwmtRrHGPlWA3ewTXB6Gx6TRMKgh4="
)

bazel_dep(name = "aspect_bazel_lib", version = "2.17.1")
bazel_dep(name = "aspect_rules_js", version = "2.3.7")
bazel_dep(name = "bazel_skylib", version = "1.8.1")
Expand Down
12 changes: 6 additions & 6 deletions cli/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ build_deps = [
]

deps = [
"//:node_modules/@player-tools/dsl",
"//:node_modules/@player-tools/json-language-service",
"//:node_modules/@player-tools/xlr",
"//:node_modules/@player-tools/xlr-converters",
"//:node_modules/@player-tools/xlr-sdk",
"//:node_modules/@player-tools/xlr-utils",
"//:node_modules/@player-lang/react-dsl",
"//:node_modules/@player-lang/json-language-service",
"//:node_modules/@xlr-lib/xlr",
"//:node_modules/@xlr-lib/xlr-converters",
"//:node_modules/@xlr-lib/xlr-sdk",
"//:node_modules/@xlr-lib/xlr-utils",
"//:node_modules/@babel/plugin-transform-react-jsx-source",
"//:node_modules/@babel/preset-env",
"//:node_modules/@babel/preset-react",
Expand Down
Loading