Skip to content

Commit

Permalink
Merge pull request #1 from cloudhubs/1.0.1-release
Browse files Browse the repository at this point in the history
Prepare 1.0.1 release
  • Loading branch information
jyeros authored Jun 6, 2023
2 parents 313886e + db11215 commit 4ae02fe
Show file tree
Hide file tree
Showing 96 changed files with 1,372 additions and 216 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* text=auto
*.sh text eol=lf
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
.vscode
*.dat
*.original
*.lst
Expand Down Expand Up @@ -33,3 +34,6 @@ ENV/
env.bak/
venv.bak/

deployment/kubernetes-manifests/quickstart-k8s/yamls/deploy.yaml
deployment/kubernetes-manifests/quickstart-k8s/yamls/secret.yaml
deployment/kubernetes-manifests/quickstart-k8s/yamls/sw_deploy.yaml
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# Codewisdom Train-Ticket system

Repo=codewisdom
Tag=latest
Tag=1.0.1
Namespace="default"
DeployArgs=""


# build image
.PHONY: build
build: clean-image package build-image

.PHONY: package
package:
@mvn clean package -Dmaven.test.skip=true
build: clean-image build-image

.PHONY: build-image
build-image:
Expand All @@ -27,14 +23,18 @@ push-image:
publish-image:
@script/publish-docker-images.sh $(Repo) $(Tag)

# deploy from source
.PHONY: deploy
deploy: build deploy-no-build

# deploy
# DeployArgs "" : deploy train-ticket with all-in-one mysql cluster
# DeployArgs "--independent-db" : deploy train-ticket with mysql cluster each service
# DeployArgs "--with-monitoring" : deploy train-ticket with prometheus
# DeployArgs "--with-tracing" : deploy train-ticket with skywalking
# DeployArgs "--all" : deploy train-ticket with mysql cluster each service
.PHONY: deploy
deploy:
.PHONY: deploy-no-build
deploy-no-build:
@hack/deploy/deploy.sh $(Namespace) "$(DeployArgs)"

# deploy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.0.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: ts-admin-basic-info-service
image: codewisdom/ts-admin-basic-info-service:1.0.0
image: codewisdom/ts-admin-basic-info-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -98,7 +98,7 @@ spec:
spec:
containers:
- name: ts-admin-route-service
image: codewisdom/ts-admin-route-service:1.0.0
image: codewisdom/ts-admin-route-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -140,7 +140,7 @@ spec:
spec:
containers:
- name: ts-admin-travel-service
image: codewisdom/ts-admin-travel-service:1.0.0
image: codewisdom/ts-admin-travel-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -224,7 +224,7 @@ spec:
spec:
containers:
- name: ts-assurance-service
image: codewisdom/ts-assurance-service:1.0.0
image: codewisdom/ts-assurance-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -268,7 +268,7 @@ spec:
spec:
containers:
- name: ts-auth-service
image: codewisdom/ts-auth-service:1.0.0
image: codewisdom/ts-auth-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -354,7 +354,7 @@ spec:
spec:
containers:
- name: ts-basic-service
image: codewisdom/ts-basic-service:1.0.0
image: codewisdom/ts-basic-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -396,7 +396,7 @@ spec:
spec:
containers:
- name: ts-cancel-service
image: codewisdom/ts-cancel-service:1.0.0
image: codewisdom/ts-cancel-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -438,7 +438,7 @@ spec:
spec:
containers:
- name: ts-config-service
image: codewisdom/ts-config-service:1.0.0
image: codewisdom/ts-config-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -482,7 +482,7 @@ spec:
spec:
containers:
- name: ts-consign-price-service
image: codewisdom/ts-consign-price-service:1.0.0
image: codewisdom/ts-consign-price-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -570,7 +570,7 @@ spec:
spec:
containers:
- name: ts-contacts-service
image: codewisdom/ts-contacts-service:1.0.0
image: codewisdom/ts-contacts-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -614,7 +614,7 @@ spec:
spec:
containers:
- name: ts-delivery-service
image: codewisdom/ts-delivery-service:1.0.0
image: codewisdom/ts-delivery-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -660,7 +660,7 @@ spec:
spec:
containers:
- name: ts-execute-service
image: codewisdom/ts-execute-service:1.0.0
image: codewisdom/ts-execute-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -702,7 +702,7 @@ spec:
spec:
containers:
- name: ts-food-service
image: codewisdom/ts-food-service:1.0.0
image: codewisdom/ts-food-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -748,7 +748,7 @@ spec:
spec:
containers:
- name: ts-food-delivery-service
image: codewisdom/ts-food-delivery-service:1.0.0
image: codewisdom/ts-food-delivery-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -792,7 +792,7 @@ spec:
spec:
containers:
- name: ts-gateway-service
image: codewisdom/ts-gateway-service:1.0.0
image: codewisdom/ts-gateway-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -834,7 +834,7 @@ spec:
spec:
containers:
- name: ts-inside-payment-service
image: codewisdom/ts-inside-payment-service:1.0.0
image: codewisdom/ts-inside-payment-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -878,7 +878,7 @@ spec:
spec:
containers:
- name: ts-news-service
image: codewisdom/ts-news-service:1.0.0
image: codewisdom/ts-news-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -920,7 +920,7 @@ spec:
spec:
containers:
- name: ts-notification-service
image: codewisdom/ts-notification-service:1.0.0
image: codewisdom/ts-notification-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1058,7 +1058,7 @@ spec:
spec:
containers:
- name: ts-payment-service
image: codewisdom/ts-payment-service:1.0.0
image: codewisdom/ts-payment-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1102,7 +1102,7 @@ spec:
spec:
containers:
- name: ts-preserve-other-service
image: codewisdom/ts-preserve-other-service:1.0.0
image: codewisdom/ts-preserve-other-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1146,7 +1146,7 @@ spec:
spec:
containers:
- name: ts-preserve-service
image: codewisdom/ts-preserve-service:1.0.0
image: codewisdom/ts-preserve-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1190,7 +1190,7 @@ spec:
spec:
containers:
- name: ts-price-service
image: codewisdom/ts-price-service:1.0.0
image: codewisdom/ts-price-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1278,7 +1278,7 @@ spec:
spec:
containers:
- name: ts-route-plan-service
image: codewisdom/ts-route-plan-service:1.0.0
image: codewisdom/ts-route-plan-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1320,7 +1320,7 @@ spec:
spec:
containers:
- name: ts-route-service
image: codewisdom/ts-route-service:1.0.0
image: codewisdom/ts-route-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1364,7 +1364,7 @@ spec:
spec:
containers:
- name: ts-seat-service
image: codewisdom/ts-seat-service:1.0.0
image: codewisdom/ts-seat-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1406,7 +1406,7 @@ spec:
spec:
containers:
- name: ts-security-service
image: codewisdom/ts-security-service:1.0.0
image: codewisdom/ts-security-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1450,7 +1450,7 @@ spec:
spec:
containers:
- name: ts-station-food-service
image: codewisdom/ts-station-food-service:1.0.0
image: codewisdom/ts-station-food-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1538,7 +1538,7 @@ spec:
spec:
containers:
- name: ts-ticket-office-service
image: codewisdom/ts-ticket-office-service:1.0.0
image: codewisdom/ts-ticket-office-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1582,7 +1582,7 @@ spec:
spec:
containers:
- name: ts-train-food-service
image: codewisdom/ts-train-food-service:1.0.0
image: codewisdom/ts-train-food-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1626,7 +1626,7 @@ spec:
spec:
containers:
- name: ts-train-service
image: codewisdom/ts-train-service:1.0.0
image: codewisdom/ts-train-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1670,7 +1670,7 @@ spec:
spec:
containers:
- name: ts-travel-plan-service
image: codewisdom/ts-travel-plan-service:1.0.0
image: codewisdom/ts-travel-plan-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1712,7 +1712,7 @@ spec:
spec:
containers:
- name: ts-travel-service
image: codewisdom/ts-travel-service:1.0.0
image: codewisdom/ts-travel-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1756,7 +1756,7 @@ spec:
spec:
containers:
- name: ts-travel2-service
image: codewisdom/ts-travel2-service:1.0.0
image: codewisdom/ts-travel2-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1844,7 +1844,7 @@ spec:
spec:
containers:
- name: ts-verification-code-service
image: codewisdom/ts-verification-code-service:1.0.0
image: codewisdom/ts-verification-code-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down Expand Up @@ -1886,7 +1886,7 @@ spec:
spec:
containers:
- name: ts-voucher-service
image: codewisdom/ts-voucher-service:1.0.0
image: codewisdom/ts-voucher-service:1.0.1
imagePullPolicy: IfNotPresent
env:
- name: NODE_IP
Expand Down
Loading

0 comments on commit 4ae02fe

Please sign in to comment.