Browse Source

update

pull/39/head
yusuf karatoprak 5 years ago
parent
commit
768f186128
  1. 15
      .dockerignore
  2. 15
      DockerFiles/.dockerignore
  3. 0
      Dockerfile.EventHub.Web
  4. 4
      azure-pipelines.eventhub.web.yml
  5. 0
      manifests/deployment.eventhub.httpapi.host.yml
  6. 0
      manifests/deployment.eventhub.identityserver.yml
  7. 0
      manifests/service.eventhub.httpapi.host.yml
  8. 0
      manifests/service.eventhub.identityserver.yml
  9. 22
      src/EventHub.Web/manifests/deployment.yml
  10. 11
      src/EventHub.Web/manifests/service.yml

15
.dockerignore

@ -1,3 +1,18 @@
node_modules
npm-debug.log
Dockerfile*
docker-compose*
.dockerignore
.git
.gitignore
.env
*/bin
*/obj
bin
obj
README.md
LICENSE
.vscode
**/.classpath
**/.dockerignore
**/.env

15
DockerFiles/.dockerignore

@ -1,15 +0,0 @@
node_modules
npm-debug.log
Dockerfile*
docker-compose*
.dockerignore
.git
.gitignore
.env
*/bin
*/obj
bin
obj
README.md
LICENSE
.vscode

0
DockerFiles/Dockerfile.EventHub.Web → Dockerfile.EventHub.Web

4
azure-pipelines.yml → azure-pipelines.eventhub.web.yml

@ -3,7 +3,7 @@
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker
trigger:
- test
- dev
variables:
@ -12,7 +12,7 @@ variables:
dockerRegistryServiceConnection: '9a6341b6-70a5-4ee7-b7a2-5efa6d4f0fe3'
imageRepository: 'volosofteventhub'
containerRegistry: 'voloeventhub.azurecr.io'
dockerfilePath: '**/DockerFiles/Dockerfile.EventHub.Web'
dockerfilePath: '**/Dockerfile.EventHub.Web'
tag: '$(Build.BuildNumber)'
# Agent VM image name

0
src/EventHub.HttpApi.Host/manifests/deployment.yml → manifests/deployment.eventhub.httpapi.host.yml

0
src/EventHub.IdentityServer/manifests/deployment.yml → manifests/deployment.eventhub.identityserver.yml

0
src/EventHub.HttpApi.Host/manifests/service.yml → manifests/service.eventhub.httpapi.host.yml

0
src/EventHub.IdentityServer/manifests/service.yml → manifests/service.eventhub.identityserver.yml

22
src/EventHub.Web/manifests/deployment.yml

@ -1,22 +0,0 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: volosoft-eventhub-web-deployment
spec:
selector:
matchLabels:
app: volosoft-eventhub-web-pod
template:
metadata:
labels:
app: volosoft-eventhub-web-pod
spec:
containers:
- name: volosoft-eventhub-web-container
image: voloeventhub.azurecr.io/voloeventhub:v1
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 80

11
src/EventHub.Web/manifests/service.yml

@ -1,11 +0,0 @@
apiVersion: v1
kind: Service
metadata:
name: volosoft-eventhub-web-service
spec:
selector:
app: volosoft-eventhub-web-pod
ports:
- port: 8080
targetPort: 80
type: ClusterIP
Loading…
Cancel
Save