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

IBM Block; EFS file; Resource Filtering; Build w/ gomod #181

Merged
merged 23 commits into from
Jul 16, 2019
Merged

Conversation

tdmanv
Copy link
Contributor

@tdmanv tdmanv commented Jul 16, 2019

No description provided.

tdmanv and others added 23 commits June 12, 2019 10:05
Pin direct dependency on github.com/BurntSushi/toml
- Used in blockstorage package
- Otherwise a very old version is used.

Explicitly specify direct dependency on ghodss/yaml
- Used in kanctl
- Pinned to master/HEAD as of Feb 12/2019

Upgraded indirect dependencies:

- go.opencensus.io
  Changes: census-instrumentation/opencensus-go@75c0cca...f6172e4
  See also: https://github.com/census-instrumentation/opencensus-go/releases

- github.com/IBM-Cloud/ibm-cloud-cli-sdk
  Changes:
  IBM-Cloud/ibm-cloud-cli-sdk@67e7aca...8983a1c
  See also: https://github.com/IBM-Cloud/ibm-cloud-cli-sdk/releases

Manually prevented downgrade of the following packages
- github.com/go-ini/ini
- github.com/Azure/azure-sdk-for-go
- github.com/jmespath/go-jmespath
* Add Azure Support for restic

* Address review suggestion
* Refactor restic.go to avoid repitition of code

* Address reviews

* Address reviews
* Skip IBM tests

* Add skip in TearDownSuite
## Change Overview

Add ResourceRequirement type which includes an object reference.
This allows creating resource filters that can be scoped to a resource name
in addition to a resource type requirement (GVR)

## Pull request type

Please check the type of change your PR introduces:
- [ ] Work in Progress
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Trival/Minor
- [ ] Bugfix
- [x] Feature
## Change Overview

This change applies RestoreAction filters prior to restoring any Kubernetes resources
and skips that operation if the filter doesn't allow it

## Pull request type

Please check the type of change your PR introduces:
- [ ] Work in Progress
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Trival/Minor
- [ ] Bugfix
- [x] Feature

## Issues

- K10-2225

## Test Plan

- [ ] Manual
- [ ] Unit test
- [x] World/Kube
- [ ] E2E

```
(restoreaction_namespace_filters) $ go test -check.vv -check.f=TestSnapshotRestoreWithFilters
START: world_test.go:63: KubeTestWorldSuite.SetUpSuite
2019/06/23 15:00:54 Serving catalog at http://127.0.0.1:62144
2019/06/23 15:00:54 Serving jobs at http://127.0.0.1:62146
2019/06/23 15:00:54 Serving metering at http://127.0.0.1:62143
2019/06/23 15:00:54 Serving compliance at http://127.0.0.1:62147
2019/06/23 15:00:54 Serving dashboardbff at http://127.0.0.1:62149
2019/06/23 15:00:54 Serving state at http://127.0.0.1:62145
2019/06/23 15:00:54 Serving jobsqueue at http://127.0.0.1:62148
I0623 15:00:54.426072   53223 secure_serving.go:116] Serving securely on [::]:8092
PASS: world_test.go:63: KubeTestWorldSuite.SetUpSuite	4.419s

START: world_test.go:158: KubeTestWorldSuite.TestSnapshotRestoreWithFilters
START: world_test.go:100: KubeTestWorldSuite.SetUpTest
PASS: world_test.go:100: KubeTestWorldSuite.SetUpTest	1.066s

START: world_test.go:124: KubeTestWorldSuite.TearDownTest
PASS: world_test.go:124: KubeTestWorldSuite.TearDownTest	0.075s

PASS: world_test.go:158: KubeTestWorldSuite.TestSnapshotRestoreWithFilters	173.380s

START: world_test.go:130: KubeTestWorldSuite.TearDownSuite
PASS: world_test.go:130: KubeTestWorldSuite.TearDownSuite	0.042s

OK: 1 passed
PASS
ok  	kio/test/world	179.259s
```
* [K10-1827] Enable SoftLayer file provider

adding a constant for enable SL_file att name
enabling File and Disabling Block

* Adding test for file provider

* Fixing null-pointer

* Sorting tests

* Adding SoftlayerFile type

* Hardening IBM client and tests

* Support for SL file and tests

* Disbaling annoinyng ibm cli update

* find and replace fail

* Update go/src/kio/blockstorage/ibm/client_test.go

Co-Authored-By: depohmel <ilya@kasten.io>

* Update go/src/kio/blockstorage/ibm/client_test.go

Co-Authored-By: depohmel <ilya@kasten.io>

* Renaming TestSuite
* Updating ibm libs to the latest

* ibm libs renamed all function names

refactoring our code with new function names
also modifing client default configs

* removing Skips, Renaming functions

* removing Skips and changing correct tets config

* actually remocing Skips and comments

* one more rename

* Enabling IBMFile Tests

* Enabling ibm file  (#6011)

* adding SLFile into kio getter
* Enabling ibm-file snapshots
* Adding SoftlayerFile type into blockstore
* adding Authorized Hosts to volume

* Post merge cleanups
* Upgrade the K8 libraries to v1.14

* Change non-versioned interface getters

* Sync

* Revert import order change

* Resolve conflict

* Fix the remaining
* Remove trailing slashes from S3 endpoint

* Test for the restic arg cleaning

* Reorder imports

* Apply Pavan's suggestion
To build outside docker, run:
```
GO111MODULE=on go build -v ./cmd/...
```
* Set GO111MODULE=on in travis

* Combine envs
@SupriyaKasten SupriyaKasten merged commit 17b5e03 into master Jul 16, 2019
@SupriyaKasten SupriyaKasten deleted the sync branch July 16, 2019 16:52
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.

None yet

5 participants