Deletes tests-base
Adds production in fleet.yaml Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
a1872f83a4
commit
5b5d186cce
8
.github/dependabot.yml
vendored
8
.github/dependabot.yml
vendored
@ -1,14 +1,6 @@
|
|||||||
---
|
---
|
||||||
version: 2
|
version: 2
|
||||||
updates:
|
updates:
|
||||||
- package-ecosystem: "github-actions"
|
|
||||||
directory: "/"
|
|
||||||
target-branch: dev
|
|
||||||
schedule:
|
|
||||||
interval: "daily"
|
|
||||||
reviewers:
|
|
||||||
- "ditkrg/devops"
|
|
||||||
|
|
||||||
- package-ecosystem: "npm"
|
- package-ecosystem: "npm"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
target-branch: dev
|
target-branch: dev
|
||||||
|
|||||||
40
.github/workflows/tests-base.yaml
vendored
40
.github/workflows/tests-base.yaml
vendored
@ -1,40 +0,0 @@
|
|||||||
---
|
|
||||||
name: Run Tests
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches-ignore:
|
|
||||||
- dev
|
|
||||||
- main
|
|
||||||
|
|
||||||
paths-ignore:
|
|
||||||
- "README.md"
|
|
||||||
- ".vscode/**"
|
|
||||||
|
|
||||||
workflow_call:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run-tests:
|
|
||||||
name: Run Tests
|
|
||||||
timeout-minutes: 10
|
|
||||||
runs-on: ubuntu-20.04
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Kubectl tool installer
|
|
||||||
uses: azure/setup-kubectl@v3
|
|
||||||
|
|
||||||
- name: Setup Kustomize
|
|
||||||
uses: imranismail/setup-kustomize@v2
|
|
||||||
|
|
||||||
- name: Build k8s manifests
|
|
||||||
working-directory: kubernetes
|
|
||||||
run: |
|
|
||||||
envs=( "development" "production" )
|
|
||||||
|
|
||||||
for i in "${envs[@]}"
|
|
||||||
do
|
|
||||||
kustomize build "$i"
|
|
||||||
done
|
|
||||||
@ -7,3 +7,10 @@ targetCustomizations:
|
|||||||
env: dev
|
env: dev
|
||||||
kustomize:
|
kustomize:
|
||||||
dir: development
|
dir: development
|
||||||
|
|
||||||
|
- name: production
|
||||||
|
clusterSelector:
|
||||||
|
matchLabels:
|
||||||
|
env: prod
|
||||||
|
kustomize:
|
||||||
|
dir: production
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user