Skip to content

Attach bundle to release #702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,17 @@ jobs:
asset_name: coherence-dashboards.tar.gz
asset_content_type: application/tar+gzip

- name: Upload Bundle
id: upload-bundle
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: /tmp/coherence-operator/_output/coherence-operator-bundle.tar.gz
asset_name: coherence-operator-bundle.tar.gz
asset_content_type: application/tar+gzip

- name: Upload Docs
id: upload-docs
uses: actions/upload-release-asset@v1
Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -940,6 +940,11 @@ bundle: $(BUILD_PROPS) ensure-sdk $(TOOLS_BIN)/kustomize $(BUILD_TARGETS)/manife
$(OPERATOR_SDK) bundle validate ./bundle --select-optional name=operatorhubv2 --optional-values=k8s-version=1.26
$(OPERATOR_SDK) bundle validate ./bundle --select-optional name=capabilities --optional-values=k8s-version=1.26
$(OPERATOR_SDK) bundle validate ./bundle --select-optional name=categories --optional-values=k8s-version=1.26
rm -rf $(BUILD_OUTPUT)/bundle || true
mkdir -p $(BUILD_OUTPUT)/bundle/coherence-operator/$(VERSION) || true
cp -R bundle/ $(BUILD_OUTPUT)/bundle/coherence-operator/$(VERSION)/
rm $(BUILD_OUTPUT)/bundle/coherence-operator/$(VERSION)/ci.yaml
tar -C $(BUILD_OUTPUT)/bundle -czf $(BUILD_OUTPUT)/coherence-operator-bundle.tar.gz .
rm -rf bundle_tmp*

# ----------------------------------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -2533,7 +2538,7 @@ push-all-ttl-images: push-ttl-operator-images push-ttl-test-images
# Push all of the images that are released
# ----------------------------------------------------------------------------------------------------------------------
.PHONY: push-release-images
push-release-images: push-operator-image bundle-push catalog-build catalog-push tanzu-repo
push-release-images: push-operator-image bundle-push catalog-push tanzu-repo

# ----------------------------------------------------------------------------------------------------------------------
# Install Prometheus
Expand Down
2 changes: 1 addition & 1 deletion config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ resources:

images:
- name: controller
newName: ghcr.io/thegridman/coherence-operator
newName: ghcr.io/oracle/coherence-operator
newTag: 3.4.3
Loading