This is an automated email from the ASF dual-hosted git repository.
tokers pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new bd60007 chore: add changelog && add release-src cmd in makefile (#164)
bd60007 is described below
commit bd600074249c18f26b6d6ff9157b3fc962573531
Author: kv <[email protected]>
AuthorDate: Wed Jan 13 16:40:37 2021 +0800
chore: add changelog && add release-src cmd in makefile (#164)
---
.gitignore | 1 +
.markdownlint.yml | 4 ++++
CHANGELOG.md | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
Makefile | 27 +++++++++++++++++++++-
4 files changed, 98 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 384d362..61ba3f1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
+release
.idea
.DS_Store
diff --git a/.markdownlint.yml b/.markdownlint.yml
index 4a744e9..e5787a4 100644
--- a/.markdownlint.yml
+++ b/.markdownlint.yml
@@ -29,3 +29,7 @@ MD033: false
# MD036/no-emphasis-as-heading/no-emphasis-as-header Emphasis used instead of
a heading
MD036: false
+
+# MD024
+no-duplicate-heading:
+ siblings_only: true
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..a947b9b
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,67 @@
+<!--
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# 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.
+#
+-->
+
+# Table of Contents
+
+- [0.2.0](#020)
+- [0.1.0](#010)
+
+# 0.2.0
+
+This release mainly improve basic features, bugfix and adds test cases.
+
+## Core
+
+- Enhanced documentation, easier to read and execute
[#129](https://github.com/apache/apisix-ingress-controller/pull/129)
+- API specification for CRDs
[#151](https://github.com/apache/apisix-ingress-controller/pull/151)
+- Support Canary plugin (Base on the
[feature](https://github.com/apache/apisix/pull/2935) in Apache APISIX)
[#13](https://github.com/apache/apisix-ingress-controller/issues/13)
+- Support prometheus metrics
[#143](https://github.com/apache/apisix-ingress-controller/pull/143)
+- Support install ingress controller by Helm Chart
[#153](https://github.com/apache/apisix-ingress-controller/pull/153)
+- Support reconcile loop.
[#149](https://github.com/apache/apisix-ingress-controller/pull/149)
[#157](https://github.com/apache/apisix-ingress-controller/pull/157)
[#163](https://github.com/apache/apisix-ingress-controller/pull/163)
+- Support namespaces filtering.
[#162](https://github.com/apache/apisix-ingress-controller/pull/162)
+- Some Refactor.
[#147](https://github.com/apache/apisix-ingress-controller/pull/147)
[#155](https://github.com/apache/apisix-ingress-controller/pull/155)
[#134](https://github.com/apache/apisix-ingress-controller/pull/134)
+
+## Test case
+
+more e2e case
[#156](https://github.com/apache/apisix-ingress-controller/pull/156)
[#142](https://github.com/apache/apisix-ingress-controller/pull/142)
+
+[Back to TOC](#table-of-contents)
+
+# 0.1.0
+
+This release mainly improve basic features, bugfix and adds test cases.
+
+## Core
+
+- Enriched documentation.
+- CI Integration.
[#75](https://github.com/apache/apisix-ingress-controller/pull/75)
[#80](https://github.com/apache/apisix-ingress-controller/pull/80)
[#84](https://github.com/apache/apisix-ingress-controller/pull/84)
[#87](https://github.com/apache/apisix-ingress-controller/pull/87)
[#89](https://github.com/apache/apisix-ingress-controller/pull/89)
[#97](https://github.com/apache/apisix-ingress-controller/pull/97)
+- Support retry when sync failed.
[#103](https://github.com/apache/apisix-ingress-controller/pull/103)
+- Support using kustomize install all resources.
[#72](https://github.com/apache/apisix-ingress-controller/pull/72)
+- Support command line configuration.
[#61](https://github.com/apache/apisix-ingress-controller/pull/61)
+- Support to define SSL by CRD.
[#95](https://github.com/apache/apisix-ingress-controller/pull/95)
+
+## Test case
+
+- Add E2E test enviroment.
[#101](https://github.com/apache/apisix-ingress-controller/pull/101)
+
+## Bugfix
+
+- invalid memory address or nil pointer dereference.
[#9](https://github.com/api7/seven/pull/9)
+
+[Back to TOC](#table-of-contents)
diff --git a/Makefile b/Makefile
index 6915411..0737005 100644
--- a/Makefile
+++ b/Makefile
@@ -16,8 +16,10 @@
#
default: help
-VERSION ?= 0.1.0
+VERSION ?= 0.2.0
+RELEASE_SRC = apache-apisix-ingress-controller-${VERSION}-src
IMAGE_TAG ?= "dev"
+
GITSHA ?= $(shell git rev-parse --short=7 HEAD)
OSNAME ?= $(shell uname -s | tr A-Z a-z)
OSARCH ?= $(shell uname -m | tr A-Z a-z)
@@ -84,4 +86,27 @@ help:
@echo
@grep -E '^### [-A-Za-z0-9_]+:' Makefile | sed 's/###/ /'
+### release-src: Release source
+release-src:
+ tar -zcvf $(RELEASE_SRC).tgz \
+ --exclude .github \
+ --exclude .git \
+ --exclude .idea \
+ --exclude .gitignore \
+ --exclude .DS_Store \
+ --exclude docs \
+ --exclude samples \
+ --exclude test \
+ --exclude release \
+ --exclude $(RELEASE_SRC).tgz \
+ .
+
+ gpg --batch --yes --armor --detach-sig $(RELEASE_SRC).tgz
+ shasum -a 512 $(RELEASE_SRC).tgz > $(RELEASE_SRC).tgz.sha512
+
+ mkdir -p release
+ mv $(RELEASE_SRC).tgz release/$(RELEASE_SRC).tgz
+ mv $(RELEASE_SRC).tgz.asc release/$(RELEASE_SRC).tgz.asc
+ mv $(RELEASE_SRC).tgz.sha512 release/$(RELEASE_SRC).tgz.sha512
+
.PHONY: build lint help