UNCLASSIFIED

Commit f2a6fd40 authored by Kavitha Thulasiraman's avatar Kavitha Thulasiraman
Browse files

bigbang compliant

parent 4d0184c6
Pipeline #230875 failed with stages
in 6 seconds
include:
- project: 'platform-one/big-bang/pipeline-templates/pipeline-templates'
ref: master
file: '/templates/package-tests.yml'
# Changelog
# Contributing
Thanks for contributing to this repository!
This repository follows the following conventions:
* [Semantic Versioning](https://semver.org/)
* [Keep a Changelog](https://keepachangelog.com/)
* [Conventional Commits](https://www.conventionalcommits.org/)
Development requires the Kubernetes CLI tool as well as a local Kubernetes cluster. [k3d](https://k3d.io) is recommended as a lightweight local option for standing up Kubernetes clusters.
To contribute a change:
1. Create a branch on the cloned repository
2. Make the changes in code.
3. Write tests using [cypress](https://www.cypress.io) and [Conftest](https://conftest.dev)
4. Make commits using the [Conventional Commits](https://www.conventionalcommits.org/) format. This helps with automation for changelog. Update `CHANGELOG.md` in the same commit using the [Keep a Changelog](https://keepachangelog.com). Depending on tooling maturity, this step may be automated.
5. Open a merge request using one of the provided templates. If this merge request is solving a preexisting issue, add the issue reference into the description of the MR.
6. During this time, ensure that all new commits are rebased into your branch so that it remains up to date with the `main` branch.
7. Wait for a maintainer of the repository (see CODEOWNERS) to approve.
8. If you have permissions to merge, you are responsible for merging. Otherwise, a CODEOWNER will merge the commit.
...@@ -14,7 +14,7 @@ metadata: ...@@ -14,7 +14,7 @@ metadata:
app.kubernetes.io/component: {{ include "nexus.name" . }} app.kubernetes.io/component: {{ include "nexus.name" . }}
spec: spec:
gateways: gateways:
- main.istio-system.svc.cluster.local - istio-system/main
hosts: hosts:
- "{{ .Values.hostname }}.{{ .Values.domain }}" - "{{ .Values.hostname }}.{{ .Values.domain }}"
http: http:
......
Cypress tests run headless calling the script cy-run.sh
\ No newline at end of file
{
"pluginsFile": false,
"supportFile": false,
"fixturesFolder": false,
"env": {
"nexus_url": "nexus.bigbang.dev"
}
}
describe('Basic prometheus', function() {
it('Visits the prometheus sign in page', function() {
cy.visit(Cypress.env('nexus_url'))
})
})
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: main
namespace: istio-system
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
istio:
enabled: true
nexus:
imagePullSecrets: [name: private-registry]
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