Skip to content

Commit

Permalink
chore: enable workflows delivery on demostration target (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored Dec 14, 2023
1 parent 303779e commit cbc5c7b
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .aspect/workflows/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ workspaces:
without: true
- buildifier:
without: true
- delivery:
without: true
e2e/coreutils:
icon: bazel
tasks:
Expand All @@ -25,6 +27,8 @@ workspaces:
without: true
- buildifier:
without: true
- delivery:
without: true
e2e/copy_to_directory:
icon: bazel
tasks:
Expand All @@ -34,6 +38,8 @@ workspaces:
without: true
- buildifier:
without: true
- delivery:
without: true
e2e/external_copy_to_directory:
icon: bazel
tasks:
Expand All @@ -43,8 +49,13 @@ workspaces:
without: true
- buildifier:
without: true
- delivery:
without: true
tasks:
- test:
# - format:
- gazelle:
- buildifier:
- delivery:
queue: bazel-lib
always_deliver: true
13 changes: 13 additions & 0 deletions tools/release/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,19 @@ release(
],
)

# 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 = "tools_delivery",
srcs = ["delivery.sh"],
data = [
":copy_directory",
":copy_to_directory",
":expand_template",
],
tags = ["deliverable"],
)

bzl_library(
name = "hashes",
srcs = ["hashes.bzl"],
Expand Down
5 changes: 5 additions & 0 deletions tools/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 cbc5c7b

Please sign in to comment.