Skip to content

Commit

Permalink
Upgrade to docs gen 0.2.0 + changes doe to api changes (#152)
Browse files Browse the repository at this point in the history
Signed-off-by: David Kornel <[email protected]>
  • Loading branch information
kornys authored Jul 3, 2024
1 parent bf7636e commit a6ceb74
Show file tree
Hide file tree
Showing 13 changed files with 29 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
| - | - | - |
| 1. | Delete ODH operator and all created resources | Operator is removed and all other resources as well |

**Tags:**
**Labels:**

* `smoke`
* `smoke` (description file doesn't exist)

<hr style="border:1px solid">

Expand All @@ -37,7 +37,7 @@
| 2. | Create default DSC | DSC is created and ready |
| 3. | Check that DSC has expected states for all components | DSC status is set properly based on configuration |

**Tags:**
**Labels:**

* `smoke`
* `smoke` (description file doesn't exist)

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
| - | - | - |
| 1. | Delete all ODH related resources in the cluster | All ODH related resources are gone |

**Tags:**
**Labels:**

* `bundle-upgrade`
* `bundle-upgrade` (description file doesn't exist)

<hr style="border:1px solid">

Expand All @@ -41,7 +41,7 @@
| 7. | Verify that Notebook pods are stable for 2 minutes | Notebook pods are stable por 2 minutes after upgrade |
| 8. | Check that ODH operator doesn't contain any error logs | ODH operator log is error free |

**Tags:**
**Labels:**

* `bundle-upgrade`
* `bundle-upgrade` (description file doesn't exist)

Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
| 2. | Deploy ServiceMesh Operator | ServiceMesh operator is available on the cluster |
| 3. | Deploy Serverless Operator | Serverless operator is available on the cluster |

**Tags:**
**Labels:**

* `olm-upgrade`
* `olm-upgrade` (description file doesn't exist)

<hr style="border:1px solid">

Expand All @@ -35,7 +35,7 @@
| 7. | Verify that Notebook pods are stable for 2 minutes | Notebook pods are stable por 2 minutes after upgrade |
| 8. | Check that ODH operator doesn't contain any error logs | ODH operator log is error free |

**Tags:**
**Labels:**

* `olm-upgrade`
* `olm-upgrade` (description file doesn't exist)

3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<maven.download.plugin.version>1.7.1</maven.download.plugin.version>
<commons.io.version>2.16.1</commons.io.version>
<jsr305.version>3.0.2</jsr305.version>
<docs.generator.version>0.1.0</docs.generator.version>
<docs.generator.version>0.2.0</docs.generator.version>
<jackson-dataformat-yaml.version>2.17.1</jackson-dataformat-yaml.version>
<aspectj.version>1.9.21.2</aspectj.version>
<allure.version>2.27.0</allure.version>
Expand Down Expand Up @@ -389,6 +389,7 @@
<configuration>
<testsPath>./src/test/java/io/odh/test</testsPath>
<docsPath>./docs/</docsPath>
<generateDirs>true</generateDirs>
<generateFmf>false</generateFmf>
</configuration>
</plugin>
Expand Down
10 changes: 5 additions & 5 deletions src/test/java/io/odh/test/e2e/standard/DataScienceClusterST.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import io.skodjob.annotations.Step;
import io.skodjob.annotations.SuiteDoc;
import io.skodjob.annotations.TestDoc;
import io.skodjob.annotations.TestTag;
import io.skodjob.annotations.Label;
import io.skodjob.testframe.resources.KubeResourceManager;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
Expand All @@ -47,8 +47,8 @@
afterTestSteps = {
@Step(value = "Delete ODH operator and all created resources", expected = "Operator is removed and all other resources as well")
},
tags = {
@TestTag(value = TestSuite.SMOKE)
labels = {
@Label(value = TestSuite.SMOKE)
}
)
@Tag(TestSuite.SMOKE)
Expand All @@ -68,8 +68,8 @@ public class DataScienceClusterST extends StandardAbstract {
@Step(value = "Create default DSC", expected = "DSC is created and ready"),
@Step(value = "Check that DSC has expected states for all components", expected = "DSC status is set properly based on configuration")
},
tags = {
@TestTag(value = TestSuite.SMOKE)
labels = {
@Label(value = TestSuite.SMOKE)
}
)
@Test
Expand Down
10 changes: 5 additions & 5 deletions src/test/java/io/odh/test/e2e/upgrade/BundleUpgradeST.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import io.skodjob.annotations.Step;
import io.skodjob.annotations.SuiteDoc;
import io.skodjob.annotations.TestDoc;
import io.skodjob.annotations.TestTag;
import io.skodjob.annotations.Label;
import io.skodjob.testframe.resources.KubeResourceManager;
import io.skodjob.testframe.utils.PodUtils;
import org.junit.jupiter.api.AfterAll;
Expand All @@ -40,8 +40,8 @@
afterTestSteps = {
@Step(value = "Delete all ODH related resources in the cluster", expected = "All ODH related resources are gone")
},
tags = {
@TestTag(value = TestSuite.BUNDLE_UPGRADE)
labels = {
@Label(value = TestSuite.BUNDLE_UPGRADE)
}
)
@Tag(TestSuite.BUNDLE_UPGRADE)
Expand Down Expand Up @@ -72,8 +72,8 @@ void clean() {
@Step(value = "Verify that Notebook pods are stable for 2 minutes", expected = "Notebook pods are stable por 2 minutes after upgrade"),
@Step(value = "Check that ODH operator doesn't contain any error logs", expected = "ODH operator log is error free")
},
tags = {
@TestTag(value = TestSuite.BUNDLE_UPGRADE)
labels = {
@Label(value = TestSuite.BUNDLE_UPGRADE)
}
)
@Test
Expand Down
10 changes: 5 additions & 5 deletions src/test/java/io/odh/test/e2e/upgrade/OlmUpgradeST.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import io.skodjob.annotations.Step;
import io.skodjob.annotations.SuiteDoc;
import io.skodjob.annotations.TestDoc;
import io.skodjob.annotations.TestTag;
import io.skodjob.annotations.Label;
import io.skodjob.testframe.resources.KubeResourceManager;
import io.skodjob.testframe.utils.KubeUtils;
import io.skodjob.testframe.utils.PodUtils;
Expand All @@ -39,8 +39,8 @@
@Step(value = "Deploy ServiceMesh Operator", expected = "ServiceMesh operator is available on the cluster"),
@Step(value = "Deploy Serverless Operator", expected = "Serverless operator is available on the cluster")
},
tags = {
@TestTag(value = TestSuite.OLM_UPGRADE)
labels = {
@Label(value = TestSuite.OLM_UPGRADE)
}
)
@Tag(TestSuite.OLM_UPGRADE)
Expand All @@ -64,8 +64,8 @@ public class OlmUpgradeST extends UpgradeAbstract {
@Step(value = "Verify that Notebook pods are stable for 2 minutes", expected = "Notebook pods are stable por 2 minutes after upgrade"),
@Step(value = "Check that ODH operator doesn't contain any error logs", expected = "ODH operator log is error free")
},
tags = {
@TestTag(value = TestSuite.OLM_UPGRADE)
labels = {
@Label(value = TestSuite.OLM_UPGRADE)
}
)
@Test
Expand Down

0 comments on commit a6ceb74

Please sign in to comment.