Skip to content

Commit

Permalink
chore: fix circleci yaml generation for artifact path storage (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored Mar 4, 2024
1 parent 4f68408 commit dce0637
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .circleci/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ genrule(
name = "aspect_workflows_config",
srcs = ["//.aspect/workflows:config.yaml"],
outs = [":aspect-workflows-config.yml"],
cmd = "CIRCLE_PROJECT_USERNAME={0} $(execpath :rosetta) steps --configuration .aspect/workflows/config.yaml --host circleci > $@".format(CIRCLECI_ORG),
cmd = "CI=1 CIRCLE_PROJECT_USERNAME={0} $(execpath :rosetta) steps --configuration .aspect/workflows/config.yaml --host circleci > $@".format(CIRCLECI_ORG),
target_compatible_with = not_windows,
tools = [":rosetta"],
)
Expand Down
32 changes: 16 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ jobs:
name: Configure Workflows
- checkout
- run:
command: rm -rf /some/path/artifacts /some/path/testlogs
command: rm -rf /workflows/artifacts /workflows/testlogs
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
CC: /bin/false
Expand Down Expand Up @@ -226,7 +226,7 @@ jobs:
name: Buildifier
no_output_timeout: 180m
- store_artifacts:
path: /some/path/artifacts
path: /workflows/artifacts
- run:
command: rosetta run finalization
environment:
Expand Down Expand Up @@ -260,7 +260,7 @@ jobs:
name: Configure Workflows
- checkout
- run:
command: rm -rf /some/path/artifacts /some/path/testlogs
command: rm -rf /workflows/artifacts /workflows/testlogs
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
CC: /bin/false
Expand Down Expand Up @@ -291,7 +291,7 @@ jobs:
name: Configure
no_output_timeout: 180m
- store_artifacts:
path: /some/path/artifacts
path: /workflows/artifacts
- run:
command: rosetta run finalization
environment:
Expand Down Expand Up @@ -325,7 +325,7 @@ jobs:
name: Configure Workflows
- checkout
- run:
command: rm -rf /some/path/artifacts /some/path/testlogs
command: rm -rf /workflows/artifacts /workflows/testlogs
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
CC: /bin/false
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
name: Format
no_output_timeout: 180m
- store_artifacts:
path: /some/path/artifacts
path: /workflows/artifacts
- run:
command: rosetta run finalization
environment:
Expand Down Expand Up @@ -390,7 +390,7 @@ jobs:
name: Configure Workflows
- checkout
- run:
command: rm -rf /some/path/artifacts /some/path/testlogs
command: rm -rf /workflows/artifacts /workflows/testlogs
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
CC: /bin/false
Expand Down Expand Up @@ -421,7 +421,7 @@ jobs:
name: Gazelle
no_output_timeout: 180m
- store_artifacts:
path: /some/path/artifacts
path: /workflows/artifacts
- run:
command: rosetta run finalization
environment:
Expand Down Expand Up @@ -512,7 +512,7 @@ jobs:
name: Configure Workflows
- checkout
- run:
command: rm -rf /some/path/artifacts /some/path/testlogs
command: rm -rf /workflows/artifacts /workflows/testlogs
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
CC: /bin/false
Expand Down Expand Up @@ -543,7 +543,7 @@ jobs:
name: Test
no_output_timeout: 180m
- store_test_results:
path: /some/path/testlogs
path: /workflows/testlogs
- when:
condition:
and:
Expand All @@ -563,9 +563,9 @@ jobs:
name: Delivery Manifest
no_output_timeout: 180m
- store_artifacts:
path: /some/path/testlogs
path: /workflows/testlogs
- store_artifacts:
path: /some/path/artifacts
path: /workflows/artifacts
- run:
command: rosetta run finalization
environment:
Expand Down Expand Up @@ -599,7 +599,7 @@ jobs:
name: Configure Workflows
- checkout
- run:
command: rm -rf /some/path/artifacts /some/path/testlogs
command: rm -rf /workflows/artifacts /workflows/testlogs
environment:
ASPECT_WORKFLOWS_CONFIG: .aspect/workflows/config.yaml
CC: /bin/false
Expand Down Expand Up @@ -630,7 +630,7 @@ jobs:
name: Test
no_output_timeout: 180m
- store_test_results:
path: /some/path/testlogs
path: /workflows/testlogs
- when:
condition:
and:
Expand All @@ -650,9 +650,9 @@ jobs:
name: Delivery Manifest
no_output_timeout: 180m
- store_artifacts:
path: /some/path/testlogs
path: /workflows/testlogs
- store_artifacts:
path: /some/path/artifacts
path: /workflows/artifacts
- run:
command: rosetta run finalization
environment:
Expand Down

0 comments on commit dce0637

Please sign in to comment.