Skip to content

Commit

Permalink
Move from v1veta to v1 for CSIDrivers
Browse files Browse the repository at this point in the history
Disable Ceph tests until downstream builds are ready with the updated versions
  • Loading branch information
bipuladh committed Aug 16, 2021
1 parent 0a20908 commit bfdc8ab
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ import { POOL_PROGRESS } from '../../src/constants/storage-pool-const';
import {
poolName,
scName,
createBlockPool,
navigateToBlockPool,
verifyFooterActions,
poolMessage,
} from '../views/block-pool';
import { pvc } from '../views/pvc';
import { createStorageClass, deleteStorageClassFromCli } from '../views/storage-class';
import { createStorageClass } from '../views/storage-class';

const pvcName: string = 'testing-pvc';

Expand All @@ -19,17 +18,20 @@ describe('Test block pool deletion under OCS UI', () => {
cy.login();
cy.visit('/');
cy.install();
cy.log('Creating a test pool');
createBlockPool();
// Todo(bipuladh): Enable after downstream builds are available with v1 CSIDrivers
// cy.log('Creating a test pool');
// createBlockPool();
});

after(() => {
deleteStorageClassFromCli(scName);
// Todo(bipuladh): Enable after downstream builds are available with v1 CSIDrivers
// deleteStorageClassFromCli(scName);
checkErrors();
cy.logout();
});

it('deletion of a non-default pool deletion pool is successful', () => {
// Todo(bipuladh): Enable after downstream builds are available with v1 CSIDrivers
xit('deletion of a non-default pool deletion pool is successful', () => {
cy.log('Create storage class using newly created pool');
createStorageClass(scName, poolName);

Expand Down Expand Up @@ -61,6 +63,7 @@ describe('Test block pool deletion under OCS UI', () => {
});

it('Deleting the default block pools should fail', () => {
navigateToBlockPool();
cy.log('Click delete kebab action');
cy.byLegacyTestID('kebab-button')
.last()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { configureVault, isPodRunningWithEncryptedPV } from '../support/vault-st
import { pvc } from '../views/pvc';
import { createStorageClass } from '../views/storage-class';

describe('Test Ceph pool creation', () => {
// Todo(bipuladh): Enable after downstream builds are available with v1 CSIDrivers
xdescribe('Test Ceph pool creation', () => {
before(() => {
configureVault();
cy.login();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ const createBlockPool = (poolCreationAction: string) => {
verifyBlockPoolJSON();
};

describe('Test Ceph pool creation', () => {
// Todo(bipuladh): Enable after downstream builds are available with v1 CSIDrivers
xdescribe('Test Ceph pool creation', () => {
before(() => {
cy.login();
cy.visit('/');
Expand Down
2 changes: 1 addition & 1 deletion frontend/public/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ export const CSIDriverModel: K8sKind = {
labelPlural: 'CSIDrivers',
// t('public~CSIDrivers')
labelPluralKey: 'public~CSIDrivers',
apiVersion: 'v1beta1',
apiVersion: 'v1',
apiGroup: 'storage.k8s.io',
plural: 'csidrivers',
abbr: 'CSI',
Expand Down

0 comments on commit bfdc8ab

Please sign in to comment.