Skip to content
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

adding persistent template test and updating some #1302

Merged

Conversation

jitendar-singh
Copy link
Contributor

  • Adding test for persistent template
  • Adding scenario to tear down the test project for all resources created while testing the ephemeral template
  • Adding maven agent test for persistent template
  • Adding nodejs agent test for persistent template

@openshift-ci openshift-ci bot requested review from akram and sbose78 July 8, 2021 11:36
@jitendar-singh jitendar-singh changed the title adding persitent template test and updating some adding persistent template test and updating some Jul 8, 2021
Copy link
Contributor

@gabemontero gabemontero left a comment

Choose a reason for hiding this comment

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

Aside from the PV related suggestions below @jitendar-singh

and add analogous entries for the smoke tests to

https://github.com/openshift/release/blob/master/ci-operator/jobs/openshift/jenkins/openshift-jenkins-master-presubmits.yaml
and
https://github.com/openshift/release/blob/master/ci-operator/config/openshift/jenkins/openshift-jenkins-master.yaml

Otherwise, I'm certainly not fluent enough in python to offer you stylistic / detailed comments on that actual code. To some extent, being able to run them from CI with repetition and consistency would be the true validation for me.

@@ -0,0 +1,22 @@
Feature: Deploy Jenkins with persistent volume on openshift using template based install
Copy link
Contributor

Choose a reason for hiding this comment

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

So best as I can tell, this test assumes the persistent volumes are created prior to the invocation of the test.

If that is correct @jitendar-singh I believe that should be explicitly called out here and in the other persistent*.feature files.

Copy link
Contributor

Choose a reason for hiding this comment

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

Or, ideally, you replicate the NFS based PV setup we do in the current extended tests at https://github.com/openshift/origin/blob/master/test/extended/builds/pipeline_jenkins_e2e.go#L60-L72

Then we could be on a path of removing those persistent template tests in openshift/origin and replace them with CI invocations of your new smoke tests.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @gabemontero I will work this next.

@jkhelil
Copy link
Contributor

jkhelil commented Jul 9, 2021

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 9, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jitendar-singh, jkhelil

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 9, 2021
@openshift-merge-robot openshift-merge-robot merged commit 2d2cb94 into openshift:master Jul 9, 2021
@jitendar-singh jitendar-singh deleted the plugins-test branch July 9, 2021 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants