Skip to content

Commit

Permalink
chore: bazel run //:format
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Dec 8, 2023
1 parent b0ab38b commit 6b6cc93
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .aspect/workflows/terraform/workflows.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module "aspect_workflows" {

# Warming set definitions
warming_sets = {
default = {}
default = {}
}

# Resource types for use by runner groups
Expand All @@ -61,12 +61,12 @@ module "aspect_workflows" {
gha_runner_groups = {
# The default runner group is use for the main build & test workflows.
default = {
agent_idle_timeout_min = 1
gh_repo = "aspect-build/rules_jasmine"
agent_idle_timeout_min = 1
gh_repo = "aspect-build/rules_jasmine"
# Determine the workflow ID with:
# gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/aspect-build/rules_jasmine/actions/workflows
# https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#list-repository-workflows
gha_workflow_ids = ["67579950"] # Aspect Workflows
gha_workflow_ids = ["67579950"] # Aspect Workflows
max_runners = 5
min_runners = 0
queue = "aspect-default"
Expand All @@ -83,11 +83,11 @@ module "aspect_workflows" {
# Determine the workflow ID with:
# gh api -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/aspect-build/rules_jasmine/actions/workflows
# https://docs.github.com/en/rest/actions/workflows?apiVersion=2022-11-28#list-repository-workflows
gha_workflow_ids = ["67748654"] # Aspect Workflows Warming
max_runners = 1
min_runners = 0
queue = "aspect-warming"
resource_type = "default"
gha_workflow_ids = ["67748654"] # Aspect Workflows Warming
max_runners = 1
min_runners = 0
queue = "aspect-warming"
resource_type = "default"
}
}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ TAG=${GITHUB_REF_NAME}
# The prefix is chosen to match what GitHub generates for source archives
PREFIX="rules_jasmine-${TAG:1}"
ARCHIVE="rules_jasmine-$TAG.tar.gz"
git archive --format=tar --prefix=${PREFIX}/ ${TAG} | gzip > $ARCHIVE
git archive --format=tar --prefix=${PREFIX}/ ${TAG} | gzip >$ARCHIVE
SHA=$(shasum -a 256 $ARCHIVE | awk '{print $1}')

cat << EOF
cat <<EOF
WORKSPACE snippet:
\`\`\`starlark
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
Expand All @@ -24,4 +24,4 @@ http_archive(
EOF

awk 'f;/--SNIP--/{f=1}' e2e/smoke/WORKSPACE.bazel
echo "\`\`\`"
echo "\`\`\`"

0 comments on commit 6b6cc93

Please sign in to comment.