Skip to content

Commit 5672f44

Browse files
author
openshift-pipelines-bot
committed
Use Single Commit for Index Catalog
1 parent 3dfa542 commit 5672f44

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/index-render-template.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,10 @@ jobs:
5656
chmod +x /usr/local/bin/opm
5757
./hack/index-render-template.sh ${{matrix.version}} ${{github.event.inputs.environment}}
5858
- name: Save generated changes
59-
run: |
60-
# Changes will be committed later
61-
mkdir -p output/${{ matrix.version }}
62-
cp -r .konflux/olm-catalog/index/${{ matrix.version }}/* output/${{ matrix.version }}/
63-
- name: Upload generated files
6459
uses: actions/upload-artifact@v4
6560
with:
6661
name: catalog-${{ matrix.version }}
67-
path: output/${{ matrix.version }}
62+
path: .konflux/olm-catalog/index/${{ matrix.version }}
6863

6964
final-commit:
7065
needs: generate-catalog
@@ -77,6 +72,7 @@ jobs:
7772
path: downloaded-artifacts
7873
- name: Apply downloaded changes
7974
run: |
75+
set -x
8076
for dir in downloaded-artifacts/catalog-*; do
8177
version=$(basename "$dir" | sed 's/catalog-//')
8278
mkdir -p .konflux/olm-catalog/index/$version

0 commit comments

Comments
 (0)