diff --git a/.aspect/workflows/bazelrc b/.aspect/workflows/bazelrc new file mode 100644 index 000000000..16c9acbc1 --- /dev/null +++ b/.aspect/workflows/bazelrc @@ -0,0 +1,3 @@ +# build without the bytes +common --remote_download_minimal +common --nobuild_runfile_links diff --git a/.aspect/workflows/config.yaml b/.aspect/workflows/config.yaml index a971e20e2..430b5b39e 100644 --- a/.aspect/workflows/config.yaml +++ b/.aspect/workflows/config.yaml @@ -16,11 +16,6 @@ workspaces: - e2e/external_copy_to_directory: gazelle: without: true - -bazel: - flags: - - --remote_download_minimal - - --nobuild_runfile_links tasks: branch_freshness: gazelle: diff --git a/.aspect/workflows/terraform/workflows.tf b/.aspect/workflows/terraform/workflows.tf index f5c44bc99..3fa508ab1 100644 --- a/.aspect/workflows/terraform/workflows.tf +++ b/.aspect/workflows/terraform/workflows.tf @@ -16,7 +16,7 @@ module "aspect_workflows" { region = local.region # Aspect Workflows terraform module - source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.8.0-rc14/workflows-gcp/terraform-gcp-aspect-workflows.zip" + source = "https://s3.us-east-2.amazonaws.com/static.aspect.build/aspect/5.8.0/workflows-gcp/terraform-gcp-aspect-workflows.zip" # Network properties network = google_compute_network.workflows_network.id diff --git a/.circleci/config.yml b/.circleci/config.yml index 1e69af82d..c526e6c40 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,13 +20,21 @@ setup: true orbs: continuation: circleci/continuation@1.0.0 slack: circleci/slack@4.12.5 - bazel: aspect-build/workflows@dev:5.8.0-rc14 + aspect-workflows: aspect-build/workflows@5.8.0 + +jobs: + legacy: + docker: + - image: cimg/base:2023.03 + steps: + - checkout + - run: echo "this is an example of legacy non-workflows job" workflows: - bazel-setup: + default-workflow: jobs: - - bazel/setup: - aspect-config: .aspect/workflows/config.yaml + - legacy + - aspect-workflows/setup: resource_class: aspect-build/bazel-lib context: - slack