Skip to content

Commit

Permalink
chore: enable workflows delivery on demostration target
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Dec 14, 2023
1 parent d65ecc8 commit a55cab2
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .aspect/workflows/bazelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# build without the bytes
common --remote_download_minimal
common --nobuild_runfile_links
# common --remote_download_toplevel
# common --nobuild_runfile_links
2 changes: 2 additions & 0 deletions .aspect/workflows/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ tasks:
- buildifier:
queue: aspect-small-arm64
- test:
- delivery:
always_deliver: true
2 changes: 1 addition & 1 deletion .aspect/workflows/terraform/workflows.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ module "aspect_workflows" {
remote_cache = {}

# Delivery properties
delivery_enabled = false
delivery_enabled = true

# CI properties
hosts = ["cci"]
Expand Down
13 changes: 13 additions & 0 deletions release/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -90,3 +90,16 @@ sh_binary(
"@aspect_bazel_lib//shlib/lib:assertions",
],
)

# Demonstration delivery target for Aspect Workflows.
# In the future this could be wired up to push dev releases to an S3 bucket.
sh_binary(
name = "aspect_cli_delivery",
srcs = ["delivery.sh"],
data = [
":aspect",
":aspect_bazelisk_artifacts",
":aspect_brew_artifacts",
],
tags = ["deliverable"],
)
5 changes: 5 additions & 0 deletions release/delivery.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env bash

set -o errexit -o nounset -o pipefail

echo "Demostration delivery target"

0 comments on commit a55cab2

Please sign in to comment.