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

Various Backup and restore improvements #174

Merged
merged 32 commits into from
Jan 5, 2021
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
b395c15
squash commits
NikTJ777 Aug 13, 2020
0689fb6
rebase on master
NikTJ777 Nov 5, 2020
50d4d65
update database restore test
NikTJ777 Nov 6, 2020
82fc1c5
Merge branch 'master' into ntj/restore-improvements-merged
sivanov-nuodb Dec 21, 2020
8ba8c66
Remove commented out and unused code
sivanov-nuodb Dec 21, 2020
6775243
Undo unused configmap and test changes
sivanov-nuodb Dec 21, 2020
5a75a38
Uno changes in testlib
sivanov-nuodb Dec 21, 2020
536765d
Undo new constants.go file
sivanov-nuodb Dec 21, 2020
15e777c
Fix some review comments in #PR80
sivanov-nuodb Dec 21, 2020
4ed8e25
Fix merge problems
sivanov-nuodb Dec 21, 2020
537376d
Unconditionally log messages from nuosm
sivanov-nuodb Dec 21, 2020
8613569
[HELM-181] nuosm should handle invalid parameters better, e.g. invali…
sivanov-nuodb Dec 23, 2020
8796aa2
Various logging fixes
sivanov-nuodb Dec 23, 2020
65a997d
Minor logging fixes in nuosm
sivanov-nuodb Dec 23, 2020
095f73d
Die if nuodocker fails; fix bug in curl download path
sivanov-nuodb Dec 23, 2020
2d7977a
Clear restore request only on successfull restore
sivanov-nuodb Dec 23, 2020
2b09a1b
Remove NUOCMD_API_SERVER references; fix problem with autoRestore whe…
sivanov-nuodb Dec 23, 2020
495ca59
Add tests for autoImport
sivanov-nuodb Dec 29, 2020
5dcacaf
Fix autoRestart value
sivanov-nuodb Dec 29, 2020
513d1ae
Add multiple SMs restore tests
sivanov-nuodb Dec 29, 2020
ce929c9
Merge branch 'master' into ntj/restore-improvements-merged
sivanov-nuodb Dec 29, 2020
c7dd6d1
Remove unused functions in nuobackup
sivanov-nuodb Dec 29, 2020
5640a38
Address comments on shell script linting test
sivanov-nuodb Dec 30, 2020
6fd4d7a
Re-add fix done by original change
sivanov-nuodb Dec 30, 2020
4826b33
Bamboo build hosts have dash shell which doesn't like function keyword
sivanov-nuodb Dec 30, 2020
610bc2a
Address POSIX compliant shell script issues in database/files/readine…
sivanov-nuodb Dec 30, 2020
0a94328
Fix test dependencies
sivanov-nuodb Dec 30, 2020
ae8f292
Address review comments
sivanov-nuodb Dec 31, 2020
ed07dd3
[ci skip] Add default value for DB_NAME
sivanov-nuodb Dec 31, 2020
b1b8d83
Remove nuosm exit codes
sivanov-nuodb Dec 31, 2020
fd73670
Add autoRestore test automation
sivanov-nuodb Dec 31, 2020
e1b6d9d
Add timestamp to nuosm and nuorestore logs
sivanov-nuodb Dec 31, 2020
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
Prev Previous commit
Next Next commit
Re-add fix done by original change
  • Loading branch information
sivanov-nuodb committed Dec 30, 2020
commit 6fd4d7a936c6358406a59f0b3cb9151bb1f96172
8 changes: 1 addition & 7 deletions test/testlib/minikube_utilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -863,17 +863,11 @@ func DeletePod(t *testing.T, namespace string, podName string) {
func RunSQL(t *testing.T, namespace string, podName string, databaseName string, sql string) (result string, err error) {
options := k8s.NewKubectlOptions("", "", namespace)

// secrets := getSecret(t, namespace, databaseName)

result, err = k8s.RunKubectlAndGetOutputE(t, options,
return k8s.RunKubectlAndGetOutputE(t, options,
"exec", podName, "--",
"bash", "-c",
fmt.Sprintf("echo \"%s;\" | /opt/nuodb/bin/nuosql --user dba --password secret %s", sql, databaseName),
)

require.NoError(t, err, "runSQL: error trying to run ", sql)

return result, err
}

func GetNuoDBK8sConfigDump(t *testing.T, namespace string, podName string) NuoDBKubeConfig {
Expand Down