Revert "Revert "Deletes tests-base""
This reverts commit d96f56d825.
Signed-off-by: Shakar <5h4k4r.b4kr@gmail.com>
This commit is contained in:
parent
e5a275f94c
commit
b56c6075eb
8
.github/dependabot.yml
vendored
8
.github/dependabot.yml
vendored
@ -1,14 +1,6 @@
|
||||
---
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
target-branch: dev
|
||||
schedule:
|
||||
interval: "daily"
|
||||
reviewers:
|
||||
- "ditkrg/devops"
|
||||
|
||||
- package-ecosystem: "npm"
|
||||
directory: "/"
|
||||
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
|
||||
kustomize:
|
||||
dir: development
|
||||
|
||||
- name: production
|
||||
clusterSelector:
|
||||
matchLabels:
|
||||
env: prod
|
||||
kustomize:
|
||||
dir: production
|
||||
|
||||
Loading…
Reference in New Issue
Block a user