UNCLASSIFIED

Commit 79c67188 authored by Branden Cobb's avatar Branden Cobb
Browse files

Helm Tests

parent 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 $@
{
"pluginsFile": false,
"supportFile": false,
"fixturesFolder": false,
"env": {
"sonarqube_url": "sonarqube.bigbang.dev",
"sonarqube_password": "admin",
"sonarqube_user": "admin"
}
}
// 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')
})
})
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
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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment