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

[SNOW-1881731] Add externalBrowser, oauth, okta, keypair automated authentication tests #1082

Merged
merged 44 commits into from
Jan 31, 2025
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
688a1a7
init work, before review, without cicd
sfc-gh-pcyrek Jan 23, 2025
029a16d
after initial review
sfc-gh-pcyrek Jan 27, 2025
63c289f
jenkinsfile edit
sfc-gh-pcyrek Jan 27, 2025
98f1238
move params into jenkins
sfc-gh-pcyrek Jan 27, 2025
7c3a967
changes in jenkinsfile
sfc-gh-pcyrek Jan 27, 2025
2886a8b
jenkinsfile with waiting
sfc-gh-pcyrek Jan 27, 2025
fb75015
image name change jenkins
sfc-gh-pcyrek Jan 27, 2025
d1a1cdf
diagnostic jenkins
sfc-gh-pcyrek Jan 27, 2025
0e403f6
with agent
sfc-gh-pcyrek Jan 27, 2025
d3b9dab
without browser
sfc-gh-pcyrek Jan 27, 2025
d512986
no mismatched user
sfc-gh-pcyrek Jan 27, 2025
a90deca
only one test
sfc-gh-pcyrek Jan 28, 2025
698a726
adding stamps
sfc-gh-pcyrek Jan 28, 2025
37dfd04
s_logger
sfc-gh-pcyrek Jan 28, 2025
120d396
more params, edited jenkinsfile
sfc-gh-pcyrek Jan 28, 2025
97d9336
fixjenkins
sfc-gh-pcyrek Jan 28, 2025
e2d194b
cleanup jenkins
sfc-gh-pcyrek Jan 28, 2025
3e3bc21
without basetest
sfc-gh-pcyrek Jan 28, 2025
e95071f
without fixtures
sfc-gh-pcyrek Jan 28, 2025
4eece68
creating parameters.json
sfc-gh-pcyrek Jan 28, 2025
913e2ec
different test set
sfc-gh-pcyrek Jan 28, 2025
f924d25
silent sfbasetest
sfc-gh-pcyrek Jan 28, 2025
554477f
changing name space
sfc-gh-pcyrek Jan 28, 2025
e1f0794
oauth test
sfc-gh-pcyrek Jan 28, 2025
1ba357d
add externalbrowser
sfc-gh-pcyrek Jan 28, 2025
5489a9b
externalbrowser on
sfc-gh-pcyrek Jan 29, 2025
6c2b04f
more tests added
sfc-gh-pcyrek Jan 29, 2025
772c236
Merge branch 'master' into pcyrek/authentication-tests
sfc-gh-pcyrek Jan 29, 2025
45367d1
specify only .net 9
sfc-gh-pcyrek Jan 29, 2025
69dee96
ignore on ci import
sfc-gh-pcyrek Jan 29, 2025
bee0b3f
without parameters.json in docker
sfc-gh-pcyrek Jan 29, 2025
343dc82
test with different namespace
sfc-gh-pcyrek Jan 29, 2025
21acb6e
cleanup
sfc-gh-pcyrek Jan 29, 2025
6eb6251
comment oauth test
sfc-gh-pcyrek Jan 29, 2025
715d134
ignoreOnCI
sfc-gh-pcyrek Jan 29, 2025
3b54397
Merge branch 'master' into pcyrek/authentication-tests
sfc-gh-pcyrek Jan 29, 2025
ad5dcac
convert to connection string
sfc-gh-pcyrek Jan 29, 2025
ccb5b97
after review
sfc-gh-pcyrek Jan 30, 2025
092a07c
Merge branch 'master' into pcyrek/authentication-tests
sfc-gh-pcyrek Jan 30, 2025
5d8b334
review2
sfc-gh-pcyrek Jan 30, 2025
1d01960
review3
sfc-gh-pcyrek Jan 30, 2025
1aacad4
review4
sfc-gh-pcyrek Jan 30, 2025
793cd94
review6
sfc-gh-pcyrek Jan 30, 2025
b75825e
review7
sfc-gh-pcyrek Jan 30, 2025
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
move params into jenkins
sfc-gh-pcyrek committed Jan 27, 2025
commit 98f12380798585073116ee2673d749dd77707572
27 changes: 15 additions & 12 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -23,21 +23,24 @@ timestamps {
'''.stripMargin()
}
}
params = [
string(name: 'svn_revision', value: 'bptp-built'),
string(name: 'branch', value: 'main'),
string(name: 'client_git_commit', value: scmInfo.GIT_COMMIT),
string(name: 'client_git_branch', value: scmInfo.GIT_BRANCH),
string(name: 'TARGET_DOCKER_TEST_IMAGE', value: 'dotnet-ubuntu204-net9'),
string(name: 'parent_job', value: env.JOB_NAME),
string(name: 'parent_build_number', value: env.BUILD_NUMBER)
]
stage('Test') {
parallel(
'Test': {
stage('Test') {
build job: 'RT-LanguageGo-PC', parameters: params
}
stage('Test') {
steps {
script {
build job: 'RT-LanguageGo-PC', parameters: [
string(name: 'svn_revision', value: 'bptp-built'),
string(name: 'branch', value: 'main'),
string(name: 'client_git_commit', value: scmInfo.GIT_COMMIT),
string(name: 'client_git_branch', value: scmInfo.GIT_BRANCH),
string(name: 'TARGET_DOCKER_TEST_IMAGE', value: 'dotnet-ubuntu204-net9'),
string(name: 'parent_job', value: env.JOB_NAME),
string(name: 'parent_build_number', value: env.BUILD_NUMBER)
]
}
}
}
},
'Test Authentication': {
stage('Test Authentication') {