зеркало из https://github.com/Azure/reddog-code.git
Glo kustomize (#5)
* Initial kustomization * Github actions * Updated dockerfiles
This commit is contained in:
Родитель
ac9b46770b
Коммит
a2fed6b775
|
@ -27,7 +27,7 @@ jobs:
|
|||
fi
|
||||
echo ::set-output name=version::${VERSION}
|
||||
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
|
||||
echo ::set-output name=services::[\"AccountingService accounting-service\", \"LoyaltyService loyalty-service\", \"MakeLineService make-line-service\", \"OrderService order-service\", \"ReceiptGenerationService receipt-generation-service\", \"VirtualWorker virtual-worker\", \"VirtualCustomers virtual-customers\"]
|
||||
echo ::set-output name=services::[\"AccountingService accounting-service\", \"LoyaltyService loyalty-service\", \"MakeLineService make-line-service\", \"OrderService order-service\", \"ReceiptGenerationService receipt-generation-service\", \"VirtualWorker virtual-worker\", \"VirtualCustomers virtual-customers\", \"Bootstrapper bootstrapper\", \"UI ui\"]
|
||||
echo ::set-output name=repositories::[\"ghcr.io/lynn-orrell/reddog\", \"ghcr.io/cloudnativegbb/paas-vnext\"]
|
||||
|
||||
package-services:
|
||||
|
@ -56,7 +56,6 @@ jobs:
|
|||
- name: Build and push
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
# context: RedDog.${{ steps.service-split.outputs._0 }}/
|
||||
context: .
|
||||
file: RedDog.${{ steps.service-split.outputs._0 }}/Dockerfile
|
||||
push: true
|
||||
|
|
|
@ -144,41 +144,6 @@
|
|||
"DAPR_HTTP_PORT": "5880",
|
||||
"DAPR_GRPC_PORT": "5801"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": ".NET Core Launch (web)",
|
||||
"type": "coreclr",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "build",
|
||||
"program": "${workspaceFolder}/RedDog.MakeLineService/bin/Debug/net5.0/RedDog.MakeLineService.dll",
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}/RedDog.MakeLineService",
|
||||
"stopAtEntry": false,
|
||||
"serverReadyAction": {
|
||||
"action": "openExternally",
|
||||
"pattern": "\\bNow listening on:\\s+(https?://\\S+)"
|
||||
},
|
||||
"env": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
},
|
||||
"sourceFileMap": {
|
||||
"/Views": "${workspaceFolder}/Views"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": ".NET Core Attach",
|
||||
"type": "coreclr",
|
||||
"request": "attach",
|
||||
"processId": "${command:pickProcess}"
|
||||
},
|
||||
{
|
||||
"name": "Docker .NET Core Launch",
|
||||
"type": "docker",
|
||||
"request": "launch",
|
||||
"preLaunchTask": "docker-run: debug",
|
||||
"netCore": {
|
||||
"appProject": "${workspaceFolder}/RedDog.Bootstrapper/RedDog.Bootstrapper.csproj"
|
||||
}
|
||||
}
|
||||
],
|
||||
"compounds": [
|
||||
|
|
|
@ -4,12 +4,9 @@ LABEL org.opencontainers.image.source='https://github.com/cloudnativegbb/paas-vn
|
|||
LABEL org.opencontainers.image.url='https://github.com/cloudnativegbb/paas-vnext'
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
|
||||
WORKDIR "/usr/src/app/RedDog.UI"
|
||||
RUN npm ci
|
||||
RUN npm run build
|
||||
|
||||
ENV NODE_ENV "development"
|
||||
|
|
Загрузка…
Ссылка в новой задаче