Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade to Aspect Workflows 5.8.0-rc4 #70

Merged
merged 1 commit into from
Sep 14, 2023
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
2 changes: 1 addition & 1 deletion .aspect/workflows/terraform/workflows.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ data "google_compute_image" "runner_image" {

module "aspect_workflows" {
# Aspect Workflows terraform module
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.8.0-rc3/workflows-gcp/terraform-gcp-aspect-workflows.zip"
source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.8.0-rc4/workflows-gcp/terraform-gcp-aspect-workflows.zip"

# Network properties
network = google_compute_network.workflows_network.id
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/.aspect-workflows-reusable.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ==================================================================================================
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.8.0-rc1)
# Aspect Workflows Reusable Workflow for GitHub Actions (v5.8.0-rc4)
#
# https://github.com/marketplace/actions/aspect-workflows?version=5.8.0-rc1
# https://github.com/marketplace/actions/aspect-workflows?version=5.8.0-rc4
#
# At this time, GitHub Actions does not allow referencing reusable workflows from public
# repositories in other organizations. See
Expand Down Expand Up @@ -37,10 +37,10 @@
# jobs:
# aspect-workflows:
# name: Aspect Workflows
# uses: my-github-org/workflows-action/.github/workflows/.aspect-workflows-reusable.yaml@5.8.0-rc1
# uses: my-github-org/workflows-action/.github/workflows/.aspect-workflows-reusable.yaml@5.8.0-rc4
# ```
# ==================================================================================================
name: Aspect Workflows Reusable Workflow (v5.8.0-rc1)
name: Aspect Workflows Reusable Workflow (v5.8.0-rc4)

on:
# Makes this workflow reusable, see
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
echo "filtered_secrets=${FILTERED_SECRETS}" | tee ${GITHUB_OUTPUT}

- name: Branch Freshness
uses: aspect-build/workflows-action@5.8.0-rc1
uses: aspect-build/workflows-action@5.8.0-rc4
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).task_config[fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace].tasks['branch_freshness'].timeout_in_minutes }}
with:
workspace: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
Expand All @@ -121,7 +121,7 @@ jobs:
run: rm -rf ${{ join(fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].artifact_paths, ' ') }}

- name: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].task }}
uses: aspect-build/workflows-action@5.8.0-rc1
uses: aspect-build/workflows-action@5.8.0-rc4
env: ${{ inputs.inherited_secrets != '' && fromJson(steps.process_secrets.outputs.filtered_secrets) || fromJson('{}') }}
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].timeout_in_minutes }}
with:
Expand All @@ -143,7 +143,7 @@ jobs:

- name: Delivery Manifest
if: fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].generate_manifest
uses: aspect-build/workflows-action@5.8.0-rc1
uses: aspect-build/workflows-action@5.8.0-rc4
timeout-minutes: ${{ fromJson(needs.setup.outputs.cfg).task_config[fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace].tasks['delivery'].timeout_in_minutes }}
with:
workspace: ${{ fromJson(needs.setup.outputs.cfg).workflows_config[matrix.job].workspace }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

ASPECT_WORKFLOWS_VERSION = "5.8.0-rc1"
ASPECT_WORKFLOWS_ACTION_SHA256 = "6003dcdb3c54abe7a942a7c33143e43177b82d61063b995301156c36b3e94986"
ASPECT_WORKFLOWS_VERSION = "5.8.0-rc4"
ASPECT_WORKFLOWS_ACTION_SHA256 = "1ff7c52ec4c35b5b245d11bf16d6f5cb1810819d3bb64796c69f049f46b7f0f7"

def aspect_workflows_github_actions_deps():
"Fetch deps needed for Aspect Workflows on GitHub Actions"
Expand Down