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

C2DEVEL-13229: update to version 1.21 #10

Open
wants to merge 50 commits into
base: release-1.21
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
3e9efd0
add .vscode to gitignore
Mar 31, 2020
5430ee0
migrate to c2devel repository
Mar 31, 2020
ec98934
replace new dependencies sources with c2devel
gaisin Jul 22, 2021
235e3fa
cloud: add io2 and gp2 volume types
Mar 31, 2020
91f27f3
cloud: switch to volumeId-based device managing
Mar 31, 2020
85936b7
deploy: change deploy yamls to use new repo
Oct 8, 2019
40abecb
examples: fix examples to meet c2 reqs
Apr 1, 2020
754b9f1
change region to 'croc'
Apr 30, 2020
aa5d273
add prebuild kusctomize config
Jun 19, 2020
0151c1d
add AttachVolume method and remove Device from call
Jun 23, 2020
c3c117b
temporarily skip test for AttachDisk
Jun 25, 2020
d11263d
change sc1 to st2 in tests
Jun 25, 2020
e34a5d7
readme: add release-process docs
Jun 30, 2020
6cb14b5
deploy: change image tags to c2 dhub
Jul 2, 2020
d839328
deploy: regenerete deployment bundle
Jul 2, 2020
9f9c09b
docs: add info abot k_bundle file in release docs
Jul 2, 2020
466ac0a
cloud: remove deprecated volume types
Jul 16, 2020
954355f
e2e driver: set valid minimal disk sizes
Jul 16, 2020
dddeb35
e2e: change io1 to io2 volume type
Jul 16, 2020
5204bb9
docs: add test docs
Jul 16, 2020
2f82eb8
cloud: rewrite metadata aws region from env
Apr 1, 2020
70df841
ignore VolumeIsNotAttached error while detaching disk
gaisin Sep 10, 2021
522f188
use VolumeID instead of Device
gaisin Sep 10, 2021
a3bd67e
deploy: prepare kustomization for the release, del workflow
Sep 29, 2021
b4bd703
deploy: update k_bundle
Sep 29, 2021
010a04a
tests: fix failures, fix vendoring
Oct 21, 2021
d0f2898
cloud: delete exceed volume types, fix io2 iops count
Oct 21, 2021
1d7f27e
specs: change the supported snapshot api version in tests
Oct 22, 2021
17a88f7
doc: change the documentation to actual
Oct 22, 2021
ccab705
doc: change the go version to actual
Nov 10, 2021
345fa67
tests: fix unit io2 tests
Nov 10, 2021
f230999
driver: change max iops per Gb
Nov 10, 2021
ad7a464
docs: add temporary workaround
Nov 10, 2021
215d5ac
deploy: bump version
Nov 11, 2021
dde8b12
controller, cloud: add method ResizeDiskC2, update tests
Mar 23, 2022
f14fe86
e2e, docs: change size increment in resize test, update test docs
Mar 27, 2022
66e1c78
deploy: bump version
Akulaev May 12, 2022
6120f7d
fixes after rebase
CrocBomber Jun 5, 2023
cbf6f4c
fix formatting after rebase
CrocBomber Jun 5, 2023
e30423c
fix tests after rebase
CrocBomber Jun 5, 2023
6486717
fix for linter after rebase
CrocBomber Jun 5, 2023
7016200
update specs and instructions
CrocBomber Jun 28, 2023
04cf402
add tolerations and labels for ebs
CrocBomber Jun 28, 2023
5a65a9d
add instruction how to debug
CrocBomber Jul 5, 2023
902c08c
fix kustomize after rebase
CrocBomber Jul 11, 2023
caa3866
fix kustomize after rebase to 1.21
CrocBomber Jul 20, 2023
4d3b0f2
fix e2e tests
CrocBomber Aug 4, 2023
b6bcda3
fix compatability with xfs
CrocBomber Aug 7, 2023
9690d1e
revert add tolerations and labels for ebs
CrocBomber Aug 7, 2023
8f093e3
update testing and debugging documentation
CrocBomber Aug 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/e2e/dynamic_provisioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ var _ = Describe("[ebs-csi-e2e] [single-az] Dynamic Provisioning", func() {
ns *v1.Namespace
ebsDriver driver.PVTestDriver
volumeTypes = awscloud.ValidVolumeTypes
fsTypes = []string{ebscsidriver.FSTypeXfs}
fsTypes = []string{ebscsidriver.FSTypeExt4} // Поменял xfs на ext4 из-за https://jira.croc.ru/browse/C2DEVEL-13229?focusedCommentId=6268126
)

BeforeEach(func() {
Expand Down Expand Up @@ -452,7 +452,7 @@ var _ = Describe("[ebs-csi-e2e] [single-az] Snapshot", func() {
BeforeEach(func() {
cs = f.ClientSet
var err error
snapshotrcs, err = restClient(testsuites.SnapshotAPIGroup, testsuites.APIVersionv1beta1)
snapshotrcs, err = restClient(testsuites.SnapshotAPIGroup, testsuites.APIVersionv1)
if err != nil {
Fail(fmt.Sprintf("could not get rest clientset: %v", err))
}
Expand Down
5 changes: 3 additions & 2 deletions tests/e2e/pre_provsioning.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ var _ = Describe("[ebs-csi-e2e] [single-az] Pre-Provisioned", func() {
}
volumeID = disk.VolumeID
diskSize = fmt.Sprintf("%dGi", defaultDiskSize)
snapshotrcs, err = restClient(testsuites.SnapshotAPIGroup, testsuites.APIVersionv1beta1)
snapshotrcs, err = restClient(testsuites.SnapshotAPIGroup, testsuites.APIVersionv1)
if err != nil {
Fail(fmt.Sprintf("could not get rest clientset: %v", err))
}
Expand Down Expand Up @@ -158,7 +158,8 @@ var _ = Describe("[ebs-csi-e2e] [single-az] Pre-Provisioned", func() {
Cmd: "echo 'hello world' >> /mnt/test-1/data && grep 'hello world' /mnt/test-1/data && sync",
Volumes: []testsuites.VolumeDetails{
{
ClaimSize: diskSize,
VolumeType: defaultVoluemType, // без этой строки ebs-plugin ругался: Unknown VolumeType

Choose a reason for hiding this comment

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

тут опечатка?

ClaimSize: diskSize,
VolumeMount: testsuites.VolumeMountDetails{
NameGenerate: "test-volume-",
MountPathGenerate: "/mnt/test-",
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/testsuites/specs.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ const (
const (
VolumeSnapshotKind = "VolumeSnapshot"
VolumeSnapshotContentKind = "VolumeSnapshotContent"
SnapshotAPIVersion = "snapshot.storage.k8s.io/v1beta1"
APIVersionv1beta1 = "v1beta1"
SnapshotAPIVersion = "snapshot.storage.k8s.io/v1"
APIVersionv1 = "v1"
)

var (
Expand Down