DevOps-fix
This commit is contained in:
@@ -0,0 +1,47 @@
|
|||||||
|
name: 'Deploy All Backend'
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
namespace:
|
||||||
|
description: 'Name Space'
|
||||||
|
required: true
|
||||||
|
type: choice
|
||||||
|
options:
|
||||||
|
- devx
|
||||||
|
- dev
|
||||||
|
- test
|
||||||
|
- production
|
||||||
|
default: devx
|
||||||
|
jobs:
|
||||||
|
deploy-dev:
|
||||||
|
name: 'Deploy to dev'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: 'Deploy Core'
|
||||||
|
uses: https://git.binom.pw/otp/devex/build-backend@main
|
||||||
|
with:
|
||||||
|
repo_path: devspc/devspace-apiregistry-core-service
|
||||||
|
namespace: ${{ github.event.inputs.namespace }}
|
||||||
|
branch: 'master'
|
||||||
|
version: 'latest'
|
||||||
|
- name: 'Deploy Generator'
|
||||||
|
uses: https://git.binom.pw/otp/devex/build-backend@main
|
||||||
|
with:
|
||||||
|
repo_path: devspc/devspace-apiregistry-generator-service
|
||||||
|
namespace: ${{ github.event.inputs.namespace }}
|
||||||
|
branch: 'master'
|
||||||
|
version: 'latest'
|
||||||
|
- name: 'Deploy Gateway'
|
||||||
|
uses: https://git.binom.pw/otp/devex/build-backend@main
|
||||||
|
with:
|
||||||
|
repo_path: devspc/devspace-gateway
|
||||||
|
namespace: ${{ github.event.inputs.namespace }}
|
||||||
|
branch: 'master'
|
||||||
|
version: 'latest'
|
||||||
|
- name: 'Deploy Api'
|
||||||
|
uses: https://git.binom.pw/otp/devex/build-backend@main
|
||||||
|
with:
|
||||||
|
repo_path: devspc/devspace-api
|
||||||
|
namespace: ${{ github.event.inputs.namespace }}
|
||||||
|
branch: 'master'
|
||||||
|
version: 'latest'
|
||||||
Reference in New Issue
Block a user