зеркало из https://github.com/Azure/reddog-code.git
Added gh actions
This commit is contained in:
Родитель
507696cc4f
Коммит
d4fe6de8d3
|
@ -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'
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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\"]
|
|
@ -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\"]
|
|
@ -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\"]
|
|
@ -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\"]
|
|
@ -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\"]
|
|
@ -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\"]
|
|
@ -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\"]
|
Загрузка…
Ссылка в новой задаче