UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Big Bang
P
Packages
Developer Tools
sonarqube
Commits
79c67188
Commit
79c67188
authored
May 10, 2021
by
Branden Cobb
Browse files
Helm Tests
parent
541b4ccc
Changes
45
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
78 deletions
+8
-78
tests/cy-run.sh
tests/cy-run.sh
+0
-16
tests/cypress.json
tests/cypress.json
+0
-11
tests/cypress/integration/sonarqube-health.spec.js
tests/cypress/integration/sonarqube-health.spec.js
+0
-10
tests/main-test-gateway.yaml
tests/main-test-gateway.yaml
+0
-36
tests/test-values.yml
tests/test-values.yml
+8
-5
No files found.
tests/cy-run.sh
deleted
100644 → 0
View file @
541b4ccc
#!/usr/bin/env bash
echo
"Running Cypress e2e tests headlessly without copying files"
# explanation of the "docker run" command line arguments
#
# -it = interactive terminal
# -v $PWD:/e2e = map current folder to /e2e inside the container
# -w /e2e = set working directy to /e2e
# $@ = pass any arguments to this script to the Cypress command
# like "./cy-run.sh --record"
#
# Docker image "cypress/included:3.2.0" has its entrypoint
# set to "cypress run" by default
docker run
-it
-v
$PWD
:/e2e
-w
/e2e cypress/included:5.0.0
$@
tests/cypress.json
deleted
100644 → 0
View file @
541b4ccc
{
"pluginsFile"
:
false
,
"supportFile"
:
false
,
"fixturesFolder"
:
false
,
"env"
:
{
"sonarqube_url"
:
"sonarqube.bigbang.dev"
,
"sonarqube_password"
:
"admin"
,
"sonarqube_user"
:
"admin"
}
}
tests/cypress/integration/sonarqube-health.spec.js
deleted
100644 → 0
View file @
541b4ccc
// needs to be fixed
describe
(
'
Basic Sonarqube
'
,
function
()
{
it
(
'
Check Sonarqube is accessible
'
,
function
()
{
cy
.
visit
(
Cypress
.
env
(
'
sonarqube_url
'
))
cy
.
get
(
'
input[name="login"]
'
).
type
(
Cypress
.
env
(
'
sonarqube_user
'
))
cy
.
get
(
'
input[name="password"]
'
).
type
(
Cypress
.
env
(
'
sonarqube_password
'
))
cy
.
contains
(
"
Log in
"
).
click
()
cy
.
contains
(
'
Update your password
'
)
})
})
tests/main-test-gateway.yaml
deleted
100644 → 0
View file @
541b4ccc
apiVersion
:
networking.istio.io/v1beta1
kind
:
Gateway
metadata
:
annotations
:
meta.helm.sh/release-name
:
istio-system-istio
meta.helm.sh/release-namespace
:
istio-system
creationTimestamp
:
"
2020-12-08T01:19:38Z"
generation
:
1
labels
:
app.kubernetes.io/managed-by
:
Helm
name
:
main
namespace
:
istio-system
resourceVersion
:
"
1661"
selfLink
:
/apis/networking.istio.io/v1beta1/namespaces/istio-system/gateways/main
uid
:
9cfaa8c6-744a-49b3-abc0-b3960153c9b2
spec
:
selector
:
istio
:
ingressgateway
servers
:
-
hosts
:
-
'
*'
port
:
name
:
http
number
:
80
protocol
:
HTTP
tls
:
httpsRedirect
:
true
-
hosts
:
-
'
*.bigbang.dev'
port
:
name
:
https
number
:
443
protocol
:
HTTPS
tls
:
credentialName
:
wildcard-cert
mode
:
SIMPLE
tests/test-values.yml
View file @
79c67188
image
:
pullSecret
:
private-registry-mil
istio
:
enabled
:
true
bbtests
:
cypress
:
artifacts
:
true
envs
:
cypress_url
:
"
http://sonarqube-sonarqube:9000"
cypress_user
:
"
admin"
cypress_password
:
"
admin"
cypress_newpassword
:
"
new_admin_password"
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment