* Initial kustomization

* Github actions

* Updated dockerfiles
This commit is contained in:
Lynn Orrell 2021-05-12 15:04:27 -05:00 коммит произвёл GitHub
Родитель ac9b46770b
Коммит a2fed6b775
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 3 добавлений и 42 удалений

3
.github/workflows/package-services.yaml поставляемый
Просмотреть файл

@ -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

35
.vscode/launch.json поставляемый
Просмотреть файл

@ -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"