This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
extends: default | |
rules: | |
comments: | |
min-spaces-from-content: 1 | |
line-length: | |
max: 150 | |
braces: | |
min-spaces-inside: 0 | |
max-spaces-inside: 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
language: python | |
env: | |
global: | |
- HELM_URL=https://storage.googleapis.com/kubernetes-helm | |
- HELM_TGZ=helm-v2.4.2-linux-amd64.tar.gz | |
- REPO_DIR=/home/travis/build/inyee786/test-helm | |
- YAMLLINT_VERSION=1.8.1 | |
- HARBOR_CHART_URL=https://{***domain***}/chartrepo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": false, | |
"iconColor": "#e0752d", | |
"limit": 100, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
labels: | |
service-label-key: service-label-value | |
name: service-name-loadbalancer | |
spec: | |
type: LoadBalancer | |
ports: | |
- name: service-port-name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Service | |
metadata: | |
labels: | |
service-label-key: service-label-value | |
name: service-name | |
spec: | |
type: ClusterIP | |
ports: | |
- name: service-port-name |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: deployment-name | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
label-key : label-value |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Expires map | |
map $sent_http_content_type $expires { | |
default off; | |
text/html epoch; | |
text/css max; | |
application/json max; | |
application/javascript max; | |
~image/ max; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stage 0, "build-stage", based on Node.js, to build and compile the frontend | |
FROM node:10.8.0 as build-stage | |
WORKDIR /app | |
COPY package*.json /app/ | |
RUN npm install | |
COPY ./ /app/ | |
ARG configuration=production | |
RUN npm run build -- --output-path=./dist/out --configuration $configuration | |
# Stage 1, based on Nginx, to have only the compiled app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Stage 0, "build-stage", based on Node.js, to build and compile the frontend | |
FROM node:10.8.0 as build-stage | |
WORKDIR /app | |
COPY package*.json /app/ | |
RUN npm install | |
COPY ./ /app/ | |
ARG configuration=production | |
RUN npm run build -- --output-path=./dist/out --configuration $configuration | |
# Stage 1, based on Nginx, to have only the compiled app, ready for production with Nginx |
NewerOlder