Skip to content

Add CI functionality - #186

Open
OAharoni-RedHat wants to merge 5 commits into
validatedpatterns:mainfrom
OAharoni-RedHat:add-singleArgoCD
Open

OAharoni-RedHat wants to merge 5 commits into
validatedpatterns:mainfrom
OAharoni-RedHat:add-singleArgoCD

Conversation

@OAharoni-RedHat

Copy link
Copy Markdown

Include new CI Folder and override file to run pipelines, test the pipeline successfully in the VP CI pipeline.

@mlorenzofr mlorenzofr left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, the changes are correct. Just a few minor adjustments are needed to align them with other changes in the main branch.

Comment thread overrides/values-ci.yaml
namespace: quay-enterprise
argoProject: hub
chart: quay
chartVersion: 0.1.*

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have recently migrated this chart to version 0.2.*

Suggested change
chartVersion: 0.1.*
chartVersion: 0.2.*

Comment thread overrides/values-ci.yaml
Comment on lines +85 to +89
overrides:
- name: job.image
value: "registry.redhat.io/openshift4/ose-cli-rhel9:latest"
- name: job.resources.limits.memory
value: "512Mi"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We changed this in #184

Suggested change
overrides:
- name: job.image
value: "registry.redhat.io/openshift4/ose-cli-rhel9:latest"
- name: job.resources.limits.memory
value: "512Mi"
extraValueFiles:
- /overrides/values-quay.yaml

Comment thread overrides/values-ci.yaml
Comment on lines +159 to +160
- name: quay.enabled
value: "true"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deprecated option for quay-chart 0.2.*

Suggested change
- name: quay.enabled
value: "true"

Comment thread overrides/values-ci.yaml
subscriptions:
openshift-pipelines:
name: openshift-pipelines-operator-rh
namespace: openshift-operators

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
namespace: openshift-operators
namespace: openshift-operators
channel: pipelines-1.23

Comment thread overrides/values-ci.yaml
Comment on lines +9 to +11
user: quay-user
vaultPath: "secret/data/hub/infra/quay/quay-users"
passwordVaultKey: "quay-user-password"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If using the file overrides/values-quay.yaml:

Suggested change
user: quay-user
vaultPath: "secret/data/hub/infra/quay/quay-users"
passwordVaultKey: "quay-user-password"
user: quay-admin
vaultPath: "secret/data/hub/infra/quay/quay-users"
passwordVaultKey: "quay-admin-password"

Comment thread Makefile-common
.PHONY: install
#install: pattern-install ## Installs the pattern onto a cluster (Loads secrets as well if configured)
install: operator-deploy load-secrets
install: pattern-install ## Installs the pattern onto a cluster (Loads secrets as well if configured)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We had discussed this with @day0hero at #123. We prefer bypassing Argo CD validation.

Suggested change
install: pattern-install ## Installs the pattern onto a cluster (Loads secrets as well if configured)
#install: pattern-install ## Installs the pattern onto a cluster (Loads secrets as well if configured)
install: operator-deploy load-secrets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants