Skip to content

Commit 6d4ded3

Browse files
[CI] Move ops container under premerge
Top level directories should probably be reserved for majorish efforts. I think the ops-container definitions make a lot more sense to have under the premerge folder even if they are not perfectly aligned.
1 parent d670b11 commit 6d4ded3

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/build-operations-metrics-container.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ on:
99
- main
1010
paths:
1111
- .github/workflows/build-operations-metrics-container.yml
12-
- 'llvm-ops-metrics/ops-container/**'
12+
- 'premerge/ops-container/**'
1313
pull_request:
1414
paths:
1515
- .github/workflows/build-operations-metrics-container.yml
16-
- 'llvm-ops-metrics/ops-container/**'
16+
- 'premerge/ops-container/**'
1717

1818
jobs:
1919
build-operations-metrics-container:
@@ -27,7 +27,7 @@ jobs:
2727
- name: Checkout LLVM Zorg
2828
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929
with:
30-
sparse-checkout: llvm-ops-metrics/ops-container
30+
sparse-checkout: premerge/ops-container
3131
- name: Write Variables
3232
id: vars
3333
run: |
@@ -37,9 +37,9 @@ jobs:
3737
echo "container-name-tag=$container_name:$tag" >> $GITHUB_OUTPUT
3838
echo "container-filename=$(echo $container_name:$tag | sed -e 's/\//-/g' -e 's/:/-/g').tar" >> $GITHUB_OUTPUT
3939
- name: Build Container
40-
working-directory: ./llvm-ops-metrics/ops-container
40+
working-directory: premerge/ops-container
4141
run: |
42-
podman build -t ${{ steps.vars.outputs.container-name-tag }} -f Dockerfile .
42+
podman build -t ${{ steps.vars.outputs.container-name-tag }} .
4343
# Save the container so we have it in case the push fails. This also
4444
# allows us to separate the push step into a different job so we can
4545
# maintain minimal permissions while building the container.

0 commit comments

Comments
 (0)