-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
keyporttech-bot
committed
Nov 23, 2020
1 parent
ec83fca
commit 4ef55f0
Showing
2 changed files
with
17 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,17 @@ | |
|
||
# This file contains common functions for keyporttech chart ci/cd | ||
|
||
VERSION = $(shell yq r Chart.yaml 'version') | ||
RELEASED_VERSION = $(shell helm repo add keyporttech https://keyporttech.github.io/helm-charts/ > /dev/null && helm repo update> /dev/null && helm show chart keyporttech/$(CHART) | yq - read 'version') | ||
REGISTRY_TAG=${REGISTRY}/${CHART}:${VERSION} | ||
CWD = $(shell pwd) | ||
|
||
# Upstream and downstream repos | ||
[email protected]:keyporttech/k8sci.git | ||
[email protected]:keyporttech/k8sCI.git | ||
|
||
|
||
|
||
lint: | ||
@echo "linting..." | ||
helm lint | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,29 +8,19 @@ | |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
CHART=k8sci | ||
|
||
# PIN to TEKTON versions | ||
TEKTON_PIPELINE_VERSION=v0.18.1 | ||
TEKTON_TRIGGERS_VERISON=v0.9.1 | ||
TEKTON_DASHBOARD_VERSION=v0.11.1 | ||
|
||
init: | ||
mkdir -p .keyporttech && curl -o .keyporttech/Makefile.keyporttech https://raw.githubusercontent.com/keyporttech/helm-charts/master/Makefile.keyporttech | ||
.PHONY: init | ||
|
||
include ./.keyporttech/Makefile.keyporttech | ||
|
||
REGISTRY=registry.keyporttech.com | ||
DOCKERHUB_REGISTRY="keyporttech" | ||
CHART=k8sci | ||
VERSION = $(shell yq r Chart.yaml 'version') | ||
RELEASED_VERSION = $(shell helm repo add keyporttech https://keyporttech.github.io/helm-charts/ > /dev/null && helm repo update> /dev/null && helm show chart keyporttech/$(CHART) | yq - read 'version') | ||
REGISTRY_TAG=${REGISTRY}/${CHART}:${VERSION} | ||
CWD = $(shell pwd) | ||
|
||
# Upstream and downstream repos | ||
UPSTREAM_REPO[email protected]:keyporttech/k8sci.git | ||
DOWNSTREAM_REPO[email protected]:keyporttech/k8sCI.git | ||
|
||
# PIN to TEKTON versions | ||
TEKTON_PIPELINE_VERSION=v0.18.1 | ||
TEKTON_TRIGGERS_VERISON=v0.9.1 | ||
TEKTON_DASHBOARD_VERSION=v0.11.1 | ||
|
||
# Downloads the versioned tekton-releases and puts them in the crds folder | ||
download-tekton: | ||
|