Skip to content

Commit 5327978

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 1d9240c commit 5327978

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,13 +9,13 @@ 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
branches:
1515
- main
1616
paths:
1717
- .github/workflows/build-operations-metrics-container.yml
18-
- 'llvm-ops-metrics/ops-container/**'
18+
- 'premerge/ops-container/**'
1919

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

0 commit comments

Comments
 (0)