Skip to content
Merged
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 .github/AGENT_INSTRUCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
This is the **Vector Bazel Rules** repository (`vectorgrp/bazel-rules` on GitHub), a comprehensive Bazel monorepo for developing, building, and managing custom Bazel rules and modules used across Vector projects.

**Current Modules:**
- `rules_cfg5`, `rules_common`, `rules_davinci_developer`, `rules_davinci_project`, `rules_dvteam`, `rules_gradle`, `rules_ocs`
- `rules_cfg5`, `rules_common`, `rules_davinci_developer`, `rules_dvteam`, `rules_gradle`, `rules_ocs`

## Project Structure

Expand All @@ -17,7 +17,7 @@ This is the **Vector Bazel Rules** repository (`vectorgrp/bazel-rules` on GitHub
- Each module follows a standardized directory structure

2. **`bcr-modules/modules/`** - Individual module implementations
- Current modules: `rules_cfg5`, `rules_common`, `rules_davinci_developer`, `rules_davinci_project`, `rules_dvteam`, `rules_gradle`, `rules_ocs`
- Current modules: `rules_cfg5`, `rules_common`, `rules_davinci_developer`, `rules_dvteam`, `rules_gradle`, `rules_ocs`
- **Note**: More modules will be added as migration progresses

3. **`bcr-modules/macros/`** - Automation macros
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/production-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
runs-on: ubuntu-latest
permissions:
contents: write # Required for creating releases
actions: write # Required for triggering workflows
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -84,7 +85,7 @@ jobs:
echo "🚀 Uploading ${module_name} v${version} to production..."

# Build the module archive
archive_path="bazel-bin/bcr-modules/modules/${module_name}/${version}/${module_name}.zip"
archive_path="bazel-bin/bcr-modules/modules/${module_name}/${version}/${module_name}.tar.gz"

if [ ! -f "$archive_path" ]; then
echo "❌ Archive not found: $archive_path"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/registry-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ jobs:
- name: Push Registry Updates
if: steps.check_changes.outputs.has_changes == 'true'
run: |
git push origin main
echo "✅ Registry updates pushed to main branch"
git push origin HEAD
echo "✅ Registry updates pushed to current branch"

- name: Summary
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staging-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
echo "🚀 Uploading ${module_name} v${version} to staging..."

# Build the module archive
archive_path="bazel-bin/bcr-modules/modules/${module_name}/${version}/${module_name}.zip"
archive_path="bazel-bin/bcr-modules/modules/${module_name}/${version}/${module_name}.tar.gz"

if [ ! -f "$archive_path" ]; then
echo "❌ Archive not found: $archive_path"
Expand Down
2 changes: 0 additions & 2 deletions bcr-modules/modules/rules_cfg5/0.0.2/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ package(default_visibility = ["//visibility:public"])
module_upload(
name = "upload",
archive = ":rules_cfg5",
redeploy_if_exists = "true",
upload_module_name = "rules_cfg5",
version = "0.0.2",
)
Expand Down Expand Up @@ -49,7 +48,6 @@ module(
"[email protected]",
"[email protected]",
],
integrity = "sha256-4tI5CEYLVy+65imezH41J8SPZXo+VzcsUh9odv+FZRU=",
module_version = "0.0.2",
pkg_files_targets = [
"public",
Expand Down
2 changes: 0 additions & 2 deletions bcr-modules/modules/rules_common/0.2.0/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ package(default_visibility = ["//visibility:public"])
module_upload(
name = "upload",
archive = ":rules_common",
redeploy_if_exists = "true",
upload_module_name = "rules_common",
version = "0.2.0",
)
Expand All @@ -31,7 +30,6 @@ module(
"[email protected]",
"[email protected]",
],
integrity = "sha256-Cc1zM2N1DR11kilDE4hIvSbD2Bpj2Z0wm1K30f56Pws=",
module_version = "0.2.0",
pkg_files_targets = [
"public",
Expand Down
5 changes: 3 additions & 2 deletions bcr-modules/modules/rules_davinci_developer/0.0.1/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ package(default_visibility = ["//visibility:public"])
module_upload(
name = "upload",
archive = ":rules_davinci_developer",
redeploy_if_exists = "true",
upload_module_name = "rules_davinci_developer",
version = "0.0.1",
)
Expand All @@ -24,7 +23,9 @@ pkg_files(

module(
name = "rules_davinci_developer",
integrity = "sha256-fmXY/e9BCbzNnWzei23U4TRH+GcbaJZ0EBxTjnvbKgU=",
additional_dependencies = [
"[email protected]",
],
module_version = "0.0.1",
pkg_files_targets = [
"public",
Expand Down
44 changes: 0 additions & 44 deletions bcr-modules/modules/rules_davinci_project/0.0.1/BUILD.bazel

This file was deleted.

78 changes: 0 additions & 78 deletions bcr-modules/modules/rules_davinci_project/0.0.2/BUILD.bazel

This file was deleted.

12 changes: 0 additions & 12 deletions bcr-modules/modules/rules_davinci_project/BUILD.bazel

This file was deleted.

48 changes: 0 additions & 48 deletions bcr-modules/modules/rules_davinci_project/srcs/BUILD.bazel

This file was deleted.

This file was deleted.

Loading
Loading