This commit is contained in:
Lynn Orrell 2021-06-14 19:14:40 -05:00
Родитель 507696cc4f
Коммит d4fe6de8d3
8 изменённых файлов: 192 добавлений и 8 удалений

Просмотреть файл

@ -1,4 +1,4 @@
name: package-accounting-services
name: package-accounting-service
on:
push:
@ -26,8 +26,8 @@ jobs:
echo ::set-output name=services::[\"AccountingService accounting-service\"]
echo ::set-output name=repositories::[\"ghcr.io/lynn-orrell/reddog\", \"ghcr.io/cloudnativegbb/paas-vnext\"]
package-accounting-service:
name: Package Accounting Service
package-service:
name: Package Service
runs-on: ubuntu-latest
needs: set-env
strategy:
@ -78,11 +78,6 @@ jobs:
- name: Echo yaml
run: |
cat manifests/branch/base/deployments/accounting-service.yaml
# - name: Commit and push deployment yaml
# uses: stefanzweifel/git-auto-commit-action@v4
# with:
# commit_message: Updated accounting service deployment manifest
# status_options: '--untracked-files=no'

27
.github/workflows/package-loyalty-service.yaml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,27 @@
name: package-loyalty-service
on:
push:
branches:
- 'contoso-health'
paths:
- 'RedDog.LoyaltyService/**'
workflow_dispatch:
jobs:
set-env:
name: Set Environment Variables
runs-on: ubuntu-latest
outputs:
version: ${{ steps.main.outputs.version }}
created: ${{ steps.main.outputs.created }}
services: ${{ steps.main.outputs.services }}
repositories: ${{ steps.main.outputs.repositories }}
steps:
- id: main
run: |
echo ::set-output name=version::$(echo ${GITHUB_SHA} | cut -c1-7)
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=services::[\"LoyaltyService loyalty-service\"]
echo ::set-output name=repositories::[\"ghcr.io/lynn-orrell/reddog\", \"ghcr.io/cloudnativegbb/paas-vnext\"]

27
.github/workflows/package-make-line-service.yaml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,27 @@
name: package-make-line-service
on:
push:
branches:
- 'contoso-health'
paths:
- 'RedDog.MakeLineService/**'
workflow_dispatch:
jobs:
set-env:
name: Set Environment Variables
runs-on: ubuntu-latest
outputs:
version: ${{ steps.main.outputs.version }}
created: ${{ steps.main.outputs.created }}
services: ${{ steps.main.outputs.services }}
repositories: ${{ steps.main.outputs.repositories }}
steps:
- id: main
run: |
echo ::set-output name=version::$(echo ${GITHUB_SHA} | cut -c1-7)
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=services::[\"MakeLineService make-line-service\"]
echo ::set-output name=repositories::[\"ghcr.io/lynn-orrell/reddog\", \"ghcr.io/cloudnativegbb/paas-vnext\"]

27
.github/workflows/package-order-service.yaml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,27 @@
name: package-order-service
on:
push:
branches:
- 'contoso-health'
paths:
- 'RedDog.OrderService/**'
workflow_dispatch:
jobs:
set-env:
name: Set Environment Variables
runs-on: ubuntu-latest
outputs:
version: ${{ steps.main.outputs.version }}
created: ${{ steps.main.outputs.created }}
services: ${{ steps.main.outputs.services }}
repositories: ${{ steps.main.outputs.repositories }}
steps:
- id: main
run: |
echo ::set-output name=version::$(echo ${GITHUB_SHA} | cut -c1-7)
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=services::[\"OrderService order-service\"]
echo ::set-output name=repositories::[\"ghcr.io/lynn-orrell/reddog\", \"ghcr.io/cloudnativegbb/paas-vnext\"]

27
.github/workflows/package-receipt-generation-service.yaml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,27 @@
name: package-receipt-generation-service
on:
push:
branches:
- 'contoso-health'
paths:
- 'RedDog.ReceiptGenerationService/**'
workflow_dispatch:
jobs:
set-env:
name: Set Environment Variables
runs-on: ubuntu-latest
outputs:
version: ${{ steps.main.outputs.version }}
created: ${{ steps.main.outputs.created }}
services: ${{ steps.main.outputs.services }}
repositories: ${{ steps.main.outputs.repositories }}
steps:
- id: main
run: |
echo ::set-output name=version::$(echo ${GITHUB_SHA} | cut -c1-7)
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=services::[\"ReceiptGenerationService receipt-generation-service\"]
echo ::set-output name=repositories::[\"ghcr.io/lynn-orrell/reddog\", \"ghcr.io/cloudnativegbb/paas-vnext\"]

27
.github/workflows/package-ui.yaml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,27 @@
name: package-ui
on:
push:
branches:
- 'contoso-health'
paths:
- 'RedDog.UI/**'
workflow_dispatch:
jobs:
set-env:
name: Set Environment Variables
runs-on: ubuntu-latest
outputs:
version: ${{ steps.main.outputs.version }}
created: ${{ steps.main.outputs.created }}
services: ${{ steps.main.outputs.services }}
repositories: ${{ steps.main.outputs.repositories }}
steps:
- id: main
run: |
echo ::set-output name=version::$(echo ${GITHUB_SHA} | cut -c1-7)
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=services::[\"UI ui\"]
echo ::set-output name=repositories::[\"ghcr.io/lynn-orrell/reddog\", \"ghcr.io/cloudnativegbb/paas-vnext\"]

27
.github/workflows/package-virtual-customers.yaml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,27 @@
name: package-virtual-customers
on:
push:
branches:
- 'contoso-health'
paths:
- 'RedDog.VirtualCustomers/**'
workflow_dispatch:
jobs:
set-env:
name: Set Environment Variables
runs-on: ubuntu-latest
outputs:
version: ${{ steps.main.outputs.version }}
created: ${{ steps.main.outputs.created }}
services: ${{ steps.main.outputs.services }}
repositories: ${{ steps.main.outputs.repositories }}
steps:
- id: main
run: |
echo ::set-output name=version::$(echo ${GITHUB_SHA} | cut -c1-7)
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=services::[\"VirtualCustomers virtual-customers\"]
echo ::set-output name=repositories::[\"ghcr.io/lynn-orrell/reddog\", \"ghcr.io/cloudnativegbb/paas-vnext\"]

27
.github/workflows/package-virtual-worker.yaml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,27 @@
name: package-virtual-worker
on:
push:
branches:
- 'contoso-health'
paths:
- 'RedDog.VirtualWorker/**'
workflow_dispatch:
jobs:
set-env:
name: Set Environment Variables
runs-on: ubuntu-latest
outputs:
version: ${{ steps.main.outputs.version }}
created: ${{ steps.main.outputs.created }}
services: ${{ steps.main.outputs.services }}
repositories: ${{ steps.main.outputs.repositories }}
steps:
- id: main
run: |
echo ::set-output name=version::$(echo ${GITHUB_SHA} | cut -c1-7)
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
echo ::set-output name=services::[\"VirtualWorker virtual-worker\"]
echo ::set-output name=repositories::[\"ghcr.io/lynn-orrell/reddog\", \"ghcr.io/cloudnativegbb/paas-vnext\"]