-
Notifications
You must be signed in to change notification settings - Fork 219
chore(ci): fixing OCP Operator #4186
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
Open
zdrapela
wants to merge
23
commits into
redhat-developer:main
Choose a base branch
from
zdrapela:fix-operator
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
d70cfa6
fix(ci): add polling for operator configmap and fix yq merge syntax
teknaS47 73f65dc
fix(ci): increase deployment wait timeout to 15 minutes
teknaS47 87e6d5e
chore(ci): update Operator CRD config
zdrapela db286e8
chore(ci): delete unused functions
zdrapela 4da461f
chore(ci): fix serverless logic operator name
zdrapela c54c5c7
chore(ci): better backstage restart in orchestrator
zdrapela 4228c63
Increase dynamic plugins volume claim
zdrapela 54506f3
throw error to gather pod logs
zdrapela e3f037d
Update orchestrator.sh
zdrapela 5233010
fix cleanup
zdrapela 7f1c0d1
revert return
teknaS47 63f8b08
chore(ci): disable Orchestrator on Operator jobs
zdrapela bf1b6a5
Revert all changes in orchestrator
zdrapela 54a6472
orchestrator jira issue
zdrapela 30e0d34
Update ocp-operator.sh
zdrapela b1ffc9a
skip Orchestrator tests on Operator
zdrapela a1e30f9
Skip Runtime tests on Operator
zdrapela 97fd0e9
Skip Orchestrator tests on EKS and AKS
zdrapela 8289d23
Inherit orchestrator versions
zdrapela 23dc1aa
revert inherit
zdrapela 0d55bd2
update
zdrapela 7d3f35f
go back
zdrapela aa99b4f
Merge branch 'main' into fix-operator
zdrapela File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 12 additions & 2 deletions
14
.ibm/pipelines/resources/rhdh-operator/rhdh-start-runtime.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 35 additions & 18 deletions
53
.ibm/pipelines/resources/rhdh-operator/rhdh-start_K8s.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,38 +1,55 @@ | ||
| kind: Backstage | ||
| apiVersion: rhdh.redhat.com/v1alpha4 | ||
| apiVersion: rhdh.redhat.com/v1alpha5 | ||
| metadata: | ||
| name: rhdh | ||
| spec: | ||
| deployment: | ||
| patch: | ||
| spec: | ||
| replicas: 1 | ||
| template: | ||
| spec: | ||
| imagePullSecrets: | ||
| - name: "rh-pull-secret" | ||
| containers: | ||
| - name: backstage-backend | ||
| image: "quay.io/$QUAY_REPO:$TAG_NAME" | ||
| initContainers: | ||
| - name: install-dynamic-plugins | ||
| image: "quay.io/$QUAY_REPO:$TAG_NAME" | ||
| volumes: | ||
| - name: dynamic-plugins-root | ||
| ephemeral: | ||
| volumeClaimTemplate: | ||
| spec: | ||
| accessModes: | ||
| - ReadWriteOnce | ||
| resources: | ||
| requests: | ||
| storage: 5Gi | ||
| application: | ||
| imagePullSecrets: | ||
| - "rh-pull-secret" | ||
| route: | ||
| enabled: false | ||
| image: "quay.io/$QUAY_REPO:$TAG_NAME" | ||
| appConfig: | ||
| configMaps: | ||
| - name: app-config-rhdh | ||
| - name: dynamic-plugins-config | ||
| - name: dynamic-global-floating-action-button-config | ||
| - name: dynamic-global-header-config | ||
| mountPath: /opt/app-root/src | ||
| dynamicPluginsConfigMapName: dynamic-plugins | ||
| # Increase ephemeral storage limit for dynamic plugins installation | ||
| # This prevents "No space left on device" errors during plugin extraction | ||
| replicas: 1 | ||
| podSpec: | ||
| initContainers: | ||
| - name: install-dynamic-plugins | ||
| resources: | ||
| requests: | ||
| cpu: 250m | ||
| memory: 256Mi | ||
| limits: | ||
| cpu: 1000m | ||
| memory: 2.5Gi | ||
| ephemeral-storage: 10Gi # Increased from default 5Gi | ||
| extraEnvs: | ||
| envs: | ||
| - name: NODE_OPTIONS | ||
| value: "--no-node-snapshot" | ||
| - name: NODE_ENV | ||
| value: "production" | ||
| - name: NODE_TLS_REJECT_UNAUTHORIZED | ||
| value: "0" | ||
| - name: CATALOG_INDEX_IMAGE | ||
| value: "quay.io/rhdh/plugin-catalog-index:1.10" | ||
| containers: | ||
| - install-dynamic-plugins | ||
| secrets: | ||
| - name: rhdh-secrets | ||
| - name: redis-secret |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.