Skip to content

Commit

Permalink
added concurrency to make file
Browse files Browse the repository at this point in the history
Signed-off-by: pxp928 <[email protected]>
  • Loading branch information
pxp928 committed Aug 7, 2022
1 parent 58854e9 commit ad174f8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 22 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/install-frsca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,27 +41,9 @@ jobs:
make setup-minikube
- name: Try the cluster !
run: kubectl get pods -A
- name: Generate certs
- name: Initialize FRSCA
run: |
make setup-certs
- name: Setup Tekton Pipeline and Chains
run: |
make install-tekton-pipelines
make setup-tekton-pipelines
make install-tekton-chains
make setup-tekton-chains
- name: Setup Spire
run: |
make install-spire
make setup-spire
- name: Setup Vault
run: |
make install-vault
make setup-vault
- name: Setup Kyverno
run: |
make install-kyverno
make setup-kyverno
make setup-frsca
- name: Run buildpacks pipeline
run: |
make example-buildpacks
Expand Down
25 changes: 23 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ help: # Display help
}' $(MAKEFILE_LIST) | sort

.PHONY: quickstart
quickstart: setup-minikube setup-frsca install-kyverno setup-kyverno example-buildpacks ## Spin up the FRSCA project into minikube
quickstart: setup-minikube setup-frsca example-buildpacks ## Spin up the FRSCA project into minikube

.PHONY: teardown
teardown:
Expand All @@ -33,7 +33,28 @@ setup-minikube: ## Setup a Kubernetes cluster using Minikube
bash platform/00-kubernetes-minikube-setup.sh

.PHONY: setup-frsca
setup-frsca: setup-certs setup-registry install-tekton-pipelines setup-tekton-pipelines install-tekton-chains setup-tekton-chains install-spire setup-spire install-vault setup-vault
setup-frsca: setup-certs-registry install-tekton setup-tekton \
install-spire-vault-kyverno setup-spire-vault setup-kyverno

.PHONY: setup-certs-registry
setup-certs-registry:
make -j setup-certs setup-registry

.PHONY: install-tekton
install-tekton:
make -j install-tekton-pipelines install-tekton-chains

.PHONY: setup-tekton
setup-tekton:
make -j setup-tekton-pipelines setup-tekton-chains

.PHONY: install-spire-vault-kyverno
install-spire-vault-kyverno:
make -j install-spire install-vault install-kyverno

.PHONY: setup-spire-vault
setup-spire-vault:
make -j setup-spire setup-vault

.PHONY: setup-certs
setup-certs: ## Setup certificates used by vault and spire
Expand Down

0 comments on commit ad174f8

Please sign in to comment.