Skip to content

Commit

Permalink
Update publish-olm.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Feruzjon Muyassarov <[email protected]>
  • Loading branch information
fmuyassarov committed Jan 13, 2025
1 parent 77dfa2f commit f39ff93
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-olm-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:

- name: Copy the bundle to the community-operators repo
run: |
mkdir -p operators/nri-plugins-operator/${{ github.ref_name }}
cp -r ../deployment/operator/bundle/* operators/nri-plugins-operator/${{ github.ref_name }}
mkdir -p community-operators/operators/nri-plugins-operator/${{ github.ref_name }}
cp -r deployment/operator/bundle/ community-operators/operators/nri-plugins-operator/${{ github.ref_name }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish-olm.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Publish a release

on:
push:
tags:
- '*' # Triggers on any tag creation
# on:
# push:
# tags:
# - '*' # Triggers on any tag creation

jobs:
update:
Expand Down Expand Up @@ -64,4 +64,4 @@ jobs:
commit-message: 'Submit operator nri-plugins-operator ${{ github.ref_name }}'
body: |
Added OLM bundle for [nri-plugins operator ${{ github.ref_name }}](https://github.com/containers/nri-plugins/releases/tag/${{ github.ref_name }})
> Auto-generated by `Github Actions Bot`
> Auto-generated by `Github Actions Bot`
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

*_gendata.go
/build
/deployment/operator/bundle/
# /deployment/operator/bundle/
/build-aux
/generate
coverage.html
Expand Down
2 changes: 1 addition & 1 deletion deployment/operator/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ endif

.PHONY: bundle
bundle: copy-crds kustomize operator-sdk kustomizations ## Generate bundle manifests and metadata, then validate generated files.
$(OPERATOR_SDK) generate kustomize manifests -q
# $(OPERATOR_SDK) generate kustomize manifests -q
cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMAGE)
find config/manifests/bases -name nri-plugins-operator.clusterserviceversion.yaml | xargs -I '{}' \
sed -e "s|containerImage:.*|containerImage: $(IMAGE)|" -i '{}';
Expand Down

0 comments on commit f39ff93

Please sign in to comment.