-
Notifications
You must be signed in to change notification settings - Fork 5
/
releasePreparation.txt
89 lines (66 loc) · 3.27 KB
/
releasePreparation.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# Check that there isn't any open ticket assigned to the version (milestone) to be released
# If there is an open ticket, decide to postpone the release or move the ticket to the next release
#Create a new release branch
git flow release start v1.5.4
# Update the version
echo "version=1.5.4" > /tmp/release.areco.txt
find ./hybris/bin/custom/ -name "*build.number" -exec cp -v /tmp/release.areco.txt {} \;
find ./hybris/bin/custom/ -name "*build.number" -exec cat {} \;
# Commit the changes
git commit -am "New version"
# Go to local.properties and check that the default Hypersql is used.
# Run all the tests with HyperSQL on master tenant:
rm -rf hybris/data/* && ant clean all yunitinit qa
# Run all the tests with HyperSQL on junit tenant:
rm -rf hybris/data/* && ant clean all initialize yunitinit qa
# Go to local.properties and set up the MySQL database
db.url=jdbc:mysql://localhost/deploymentmanager?useConfigs=maxPerformance&characterEncoding=utf8
db.driver=com.mysql.jdbc.Driver
db.username=manager
db.password=<password>
db.tableprefix=
mysql.optional.tabledefs=CHARSET=utf8 COLLATE=utf8_bin
mysql.tabletype=InnoDB
## In case, you install mysql server again
## sudo su
## mysql
## Now you are logged as root
## Create an user for your local linux user with:
## CREATE USER 'arobirosa'@'localhost' IDENTIFIED WITH auth_socket;
## GRANT ALL PRIVILEGES ON *.* TO 'arobirosa'@'localhost' WITH GRANT OPTION;
##
## Now create an user for the areco deployment manager
## CREATE USER 'arecomanager'@'localhost' IDENTIFIED BY 'changeme';
# Remove the old database:
mysql -e "DROP DATABASE deploymentmanager; CREATE DATABASE deploymentmanager; grant all privileges on deploymentmanager.* to arecomanager@localhost" deploymentmanager
# Run all the tests with MySQL on master tenant:
rm -rf hybris/data/* && ant clean all yunitinit qa
# Remove the old database:
mysql -e "DROP DATABASE deploymentmanager; CREATE DATABASE deploymentmanager; grant all privileges on deploymentmanager.* to arecomanager@localhost" deploymentmanager
# Run all the tests with MySQL on junit tenant:
rm -rf hybris/data/* && ant clean all initialize yunitinit qa
# Go to local.properties and set up the Oracle database
# Run all the tests on master tenant:
rm -rf hybris/data/* && ant clean all yunitinit qa
# Run all the tests on junit tenant:
rm -rf hybris/data/* && ant clean all initialize yunitinit qa
db.url=jdbc:oracle:thin:@localhost:9521:XE?oracle.net.disableOob=true
db.driver=oracle.jdbc.driver.OracleDriver
db.username=SYSTEM
db.password=<password>
db.tableprefix=
# Remove the connection information, so the hybris intallation works again with the HyperSQL database
# If some tests were unsuccessful, solve the isssues and repeat the tests
git flow release finish v1.5.4
git push --all
git push --tags
git archive --output=deploymentScriptsManager_1.5.4_20230223.zip production hybris/bin/custom
# Prepare the release notes with the list of bugs and features
# Create release in Github from the latest tag
# Upload the zip to Github
# Close the milestone
# Communicate the release
#
# Prepare an email with the list of bugs and features
# Send an email from [email protected] to [email protected]
# Send the email to the developers who I know and are using the Areco Deployment Manager