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
package handler | |
import ( | |
"context" | |
log "github.com/micro/micro/v3/service/logger" | |
helloworld "helloworld/proto" | |
) |
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
FROM alpine | |
ADD helloworld /helloworld | |
ENTRYPOINT [ "/helloworld" ] |
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/v1 | |
kind: Deployment | |
metadata: | |
name: helloworld | |
namespace: micro | |
labels: | |
project: micro | |
micro: service | |
name: helloworld | |
version: latest |
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: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: micro-api-ingress | |
namespace: micro | |
annotations: | |
kubernetes.io/ingress.class: "nginx" | |
cert-manager.io/issuer: "micro-prod" | |
spec: | |
rules: |
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
stages: | |
- name: Publish - Landing | |
when: | |
branch: master | |
steps: | |
- publishImageConfig: | |
dockerfilePath: ./Dockerfile | |
buildContext: . | |
tag: my-landing:${CICD_EXECUTION_SEQUENCE} | |
pushRemote: true |
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
FROM nginx:stable-alpine | |
COPY ./landing/index.html /usr/share/nginx/html | |
COPY ./landing/assets /usr/share/nginx/html/assets |
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/v1 | |
kind: Deployment | |
metadata: | |
name: my-landing | |
spec: | |
selector: | |
matchLabels: | |
app: my-landing | |
template: | |
metadata: |
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: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: my-landing-ingress | |
annotations: | |
kubernetes.io/ingress.class: "nginx" | |
cert-manager.io/cluster-issuer: "letsencrypt-prod" | |
spec: | |
tls: |
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
#!/bin/bash | |
python manage.py dumpdata --natural-foreign \ | |
sites \ | |
users \ | |
cms \ | |
menus \ | |
sekizai \ | |
treebeard \ | |
djangocms_text_ckeditor \ | |
filer \ |
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
wordpressUsername: admin | |
# Uncomment to define the password or leave commented to auto-generate one | |
# wordpressPassword: | |
wordpressEmail: [email protected] | |
wordpressFirstName: John | |
wordpressLastName: Smith | |
wordpressBlogName: Awesomic Marketing Frontend | |
wordpressScheme: https | |
livenessProbe: | |
httpGet: |