Skip to content

Commit d898daa

Browse files
deployment: add graphite ci-optimizations
1 parent 59df235 commit d898daa

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/sequencer_cdk8s-test.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,22 @@ on:
1616
- "deployments/sequencer/**"
1717

1818
jobs:
19+
# https://graphite.com/docs/stacking-and-ci
20+
optimize_ci:
21+
runs-on: namespace-profile-small-ubuntu-24-04-amd64
22+
outputs:
23+
skip: ${{ steps.check_skip.outputs.skip }}
24+
steps:
25+
- name: Optimize CI
26+
id: check_skip
27+
uses: withgraphite/graphite-ci-action@main
28+
with:
29+
graphite_token: ${{ secrets.GRAPHITE_CI_OPTIMIZER_TOKEN }}
30+
1931
prepare:
2032
runs-on: ubuntu-24.04
33+
needs: optimize_ci
34+
if: needs.optimize_ci.outputs.skip == 'false'
2135
env:
2236
cluster: test
2337
namespace: test

0 commit comments

Comments
 (0)