Skip to content

Commit

Permalink
fix import order
Browse files Browse the repository at this point in the history
  • Loading branch information
keyporttech-bot committed Nov 23, 2020
1 parent ec83fca commit 4ef55f0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
11 changes: 11 additions & 0 deletions .keyporttech/Makefile.keyporttech
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 6 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4ef55f0

Please sign in to comment.