Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
de5e036
First cut of the www-v3
rejith May 27, 2020
2871c44
Update appz.yml
rejith May 27, 2020
9bd18e8
Update appz.yml
pradeepchandran0 May 27, 2020
725c7d0
Update appz.yml
rejith May 27, 2020
0faee91
Update appz.yml
rejith May 27, 2020
8255197
Update appz.yml
rejith May 27, 2020
3a10b8e
Update appz.yml
rejith May 27, 2020
dbdcbea
Update appz.yml
rejith May 27, 2020
bfee7fd
First deployment
rejith May 27, 2020
b088326
Switched to a statefuleset
rejith May 27, 2020
39bf553
Redeploying
rejith May 28, 2020
63b8914
Update appz.yml
rejith May 28, 2020
482e02f
Update appz.yml
rejith May 31, 2020
0ff1634
Deploying to change the theme
rejith Jun 1, 2020
dcecbdf
Avada upgrade 6.2
rejith Jun 11, 2020
3e5f231
Dedeploying
rejith Jun 11, 2020
f8cc5ee
Switching theme to twentytwenty
rejith Jun 11, 2020
81ea67d
Update appz.yml
rejith Jun 11, 2020
be77bdd
Deploying after fix for no plugins
rejith Jun 11, 2020
8537cb8
Delete contents.yaml
rejith Jun 11, 2020
f351817
Regression testing after adding gforms support.
rejith Jun 12, 2020
78d2c1d
Redeploying to go live
rejith Jul 20, 2020
ed10467
Reverting back
rejith Jul 20, 2020
9ba9165
Update appz.yml
rejith Jul 20, 2020
f23a39d
Going live
rejith Jul 20, 2020
e377c39
Create contents.yaml
pradeepchandran0 Jul 21, 2020
4ad4da9
Update contents.yaml
pradeepchandran0 Jul 21, 2020
6fc643f
Update contents.yaml
pradeepchandran0 Jul 21, 2020
9bd96ff
Update contents.yaml
pradeepchandran0 Jul 21, 2020
25105e1
Merge pull request #1 from ecloudcontrol/contents
rejith Jul 21, 2020
3b2aeda
Redeploying with contents.yaml
rejith Jul 21, 2020
6c0abdc
Update contents.yaml
pradeepchandran0 Jul 21, 2020
3a310ae
Merge pull request #2 from ecloudcontrol/contents
rejith Jul 21, 2020
00acf82
Update contents.yaml
pradeepchandran0 Jul 22, 2020
934e531
Merge pull request #3 from ecloudcontrol/sitemap
rejith Jul 22, 2020
07d1345
Update README.md
rejith Jul 31, 2020
b535544
Update README.md
rejith Jul 31, 2020
912d7ec
Update README.md
rejith Jul 31, 2020
b872fc6
Update README.md
rejith Jul 31, 2020
ff7e2a3
Upgrading SiteKit and QueryMonitor
rejith Aug 1, 2020
b992b09
Upgrading SiteKit and QueryMonitor
rejith Aug 1, 2020
fd0100d
updated new plugins 1348
pradeepchandran0 Aug 3, 2020
de2d396
updated with WP mail plugin
pradeepchandran0 Aug 3, 2020
4fc4f8b
Merge pull request #4 from ecloudcontrol/1348
rejith Aug 3, 2020
80d654e
Updated the Yoast SEO to premium plugin.
rejith Aug 3, 2020
21111cf
Removing sitemap plugin because of Yoast SEO
rejith Aug 3, 2020
ea63d84
Redeploying after fixing acl
rejith Oct 15, 2020
86294b3
Triggering another deployment after fixing build number
rejith Oct 15, 2020
a5681af
Redeploying to refresh image
rejith Nov 3, 2020
fd048a0
theme updater
Jan 13, 2021
b127c47
Update contact7_download.php
pradeepchandran0 Jan 13, 2021
e798e13
Merge pull request #5 from ecloudcontrol/1616
rejith Jan 13, 2021
fb08936
Update appz.yml
pradeepchandran0 Jan 13, 2021
c099242
Enabling 1616
rejith Jan 13, 2021
f4ec280
added new contact form
SJ-CloudControl Mar 9, 2021
8c97ba6
Merge pull request #6 from ecloudcontrol/download_contact
rejith Mar 9, 2021
8a44050
Update appz.yml
rejith Apr 25, 2021
9d8064b
Create contact7_download_02.php
pradeepchandran0 May 14, 2021
fba1547
Update init.sh
pradeepchandran0 May 14, 2021
a9494af
Merge pull request #7 from ecloudcontrol/form7
rejith May 14, 2021
55412d3
Create contact7_download_03.php
pradeepchandran0 Oct 11, 2021
9f8d3ed
Update init.sh
pradeepchandran0 Oct 11, 2021
f499612
Update contact7_download_03.php
pradeepchandran0 Oct 11, 2021
c44d2a9
Update init.sh
pradeepchandran0 Oct 11, 2021
9b66d6d
Update init.sh
pradeepchandran0 Oct 11, 2021
93b264e
Merge pull request #8 from ecloudcontrol/contact_form
rejith Oct 13, 2021
3443df6
Update contents.yaml
pradeepchandran0 Mar 21, 2022
93119f9
Merge pull request #9 from ecloudcontrol/new_plugin
rejith Apr 5, 2022
cfdfd7b
Add files via upload
pradeepchandran0 May 18, 2022
653c755
Update init.sh
pradeepchandran0 May 18, 2022
e647ece
Delete contact7_download_04.php.pdf
pradeepchandran0 May 18, 2022
68e3121
Create contact7_download_04.php
pradeepchandran0 May 18, 2022
1c1bdb3
Update init.sh
pradeepchandran0 May 18, 2022
77df26e
Update contact7_download_04.php
pradeepchandran0 May 19, 2022
21fe24f
Merge pull request #10 from ecloudcontrol/new_post
rejith May 20, 2022
370d7eb
Create contact7_download_05.php
pradeepchandran0 Jun 15, 2022
aa76eeb
Update init.sh
pradeepchandran0 Jun 15, 2022
5cfbf41
Merge pull request #11 from ecloudcontrol/form_5
rejith Jun 15, 2022
1ee5675
Update appz.yml
rejith Nov 9, 2022
7fed163
Create contact7_download_06.php
pradeepchandran0 Dec 14, 2022
4b1a096
Update init.sh
pradeepchandran0 Dec 14, 2022
f187688
Merge pull request #12 from ecloudcontrol/new_form
rejith Dec 14, 2022
8c8bf52
Update appz.yml
anushab7 Jan 2, 2023
224c802
Update appz.yml
anushab7 Jan 2, 2023
d820e04
Update appz.yml
anushab7 Jan 2, 2023
22c0399
Update appz.yml
pradeepchandran0 Jan 3, 2023
4b0245d
Update contents.yaml
pradeepchandran0 Jan 3, 2023
3886af6
Rename contents.yaml to bkpcontents.yaml
pradeepchandran0 Jan 3, 2023
30d7ac0
Update appz.yml
pradeepchandran0 Jan 3, 2023
131af94
Update appz.yml
pradeepchandran0 Jan 3, 2023
6d4df85
Update appz.yml
pradeepchandran0 Jan 3, 2023
90fb479
Update appz.yml
pradeepchandran0 Jan 3, 2023
c0d7e75
Update appz.yml
pradeepchandran0 Jan 3, 2023
1ec4317
Update appz.yml
pradeepchandran0 Jan 3, 2023
07e526c
Update appz.yml
pradeepchandran0 Jan 3, 2023
e3d0c8e
Update appz.yml
pradeepchandran0 Jan 3, 2023
3910759
Rename init.sh to bkpinit.sh
pradeepchandran0 Jan 3, 2023
0f9dc9e
Update appz.yml
pradeepchandran0 Jan 3, 2023
57c3062
Update appz.yml
pradeepchandran0 Jan 3, 2023
8394345
Update appz.yml
pradeepchandran0 Jan 3, 2023
d8e2fb4
Update appz.yml
pradeepchandran0 Jan 3, 2023
1e004db
Update appz.yml
pradeepchandran0 Jan 3, 2023
28e85aa
Update appz.yml
pradeepchandran0 Jan 5, 2023
c56fa36
Update bkpcontents.yaml
pradeepchandran0 Jan 5, 2023
ecaaa64
Rename bkpcontents.yaml to contents.yaml
pradeepchandran0 Jan 5, 2023
817daf4
Rename bkpinit.sh to init.sh
pradeepchandran0 Jan 5, 2023
84e4a33
Update contents.yaml
pradeepchandran0 Jan 5, 2023
a683521
Update contents.yaml
pradeepchandran0 Jan 5, 2023
44db998
Update appz.yml
anushab7 Jan 5, 2023
0b28ad9
Update appz.yml
anushab7 Jan 5, 2023
51b5301
Update appz.yml
pradeepchandran0 Jan 5, 2023
2594662
Update appz.yml
pradeepchandran0 Jan 5, 2023
c56f3a7
Update appz.yml
anushab7 Jan 5, 2023
5bee3c0
Update appz.yml
pradeepchandran0 Jan 5, 2023
953a0c0
Rename contents.yaml to bkpcontents.yaml
pradeepchandran0 Jan 5, 2023
ffceddd
Update appz.yml
pradeepchandran0 Jan 5, 2023
3682a7e
Update and rename bkpcontents.yaml to contents.yaml
pradeepchandran0 Jan 5, 2023
f029ab0
Update appz.yml
pradeepchandran0 Jan 5, 2023
efa2d88
Update appz.yml
anushab7 Jan 6, 2023
48311eb
Update appz.yml
anushab7 Jan 6, 2023
4497476
Update appz.yml
mushraf6461 Jan 21, 2023
6817733
Update appz.yml to renew the cert
anushab7 Jun 8, 2023
9f421f7
Update appz.yml
mushraf6461 Aug 5, 2023
51e3de7
Merge pull request #14 from ecloudcontrol/mushraf6461-patch-1
pradeepchandran0 Aug 5, 2023
07c7e1a
Update appz.yml
mushraf6461 Aug 5, 2023
8e25d69
Merge pull request #15 from ecloudcontrol/mushraf6461-patch-2
pradeepchandran0 Aug 5, 2023
310736c
Update appz.yml
pradeepchandran0 Nov 21, 2023
5017557
Update contents.yaml
pradeepchandran0 Nov 21, 2023
41e7bb0
Merge pull request #17 from ecloudcontrol/4109/new_site
pradeepchandran0 Nov 21, 2023
1fa90c8
Update contents.yaml
pradeepchandran0 Nov 23, 2023
58c3169
Merge pull request #18 from ecloudcontrol/4109/new-plugins
rejith Nov 23, 2023
b0fe17d
Update contents.yaml
pradeepchandran0 Nov 23, 2023
1942e6b
Merge pull request #19 from ecloudcontrol/4109/new-plugins
rejith Nov 24, 2023
bfef36d
Update appz.yml
pradeepchandran0 Nov 27, 2023
3c7d62c
Update appz.yml
pradeepchandran0 Nov 27, 2023
37bbc87
Update appz.yml
rejith Nov 27, 2023
2a159ca
Update appz.yml
rejith Nov 27, 2023
fe54018
Merge pull request #20 from ecloudcontrol/rejith-patch-1
rejith Nov 27, 2023
8716dfe
Update appz.yml
mushraf6461 Nov 29, 2023
5a45cf9
Create contact7_download_07.php
pradeepchandran0 Dec 13, 2023
c4b13c1
Update init.sh
pradeepchandran0 Dec 13, 2023
b277f3e
Merge pull request #21 from ecloudcontrol/pdf
pradeepchandran0 Dec 13, 2023
35e18f8
Update appz.yml
mushraf6461 Dec 28, 2023
d4fb5e3
Update appz.yml
mushraf6461 Feb 10, 2024
39ee272
Update appz.yml
mushraf6461 Feb 10, 2024
3246203
Update appz.yml
mushraf6461 Feb 10, 2024
5bb4d72
Update appz.yml
mushraf6461 Feb 10, 2024
603b59a
Update appz.yml
mushraf6461 Feb 10, 2024
92a86e5
Update appz.yml
mushraf6461 Feb 10, 2024
8cb2376
Update appz.yml
mushraf6461 Feb 10, 2024
8486a50
Update appz.yml
mushraf6461 May 11, 2024
d43eed0
Update contents.yaml
mushraf6461 Jul 9, 2024
fbbeebb
Update appz.yml
mushraf6461 Jul 9, 2024
6eb145f
Update appz.yml
anandp0 Apr 4, 2025
3a3ce56
Update appz.yml
anandp0 Apr 4, 2025
0285c0f
Merge pull request #36 from ecloudcontrol/anandp0-patch-2
anandp0 Apr 4, 2025
6d43cc0
Update appz.yml
anandp0 Apr 4, 2025
ef17f34
Merge pull request #37 from ecloudcontrol/anandp0-patch-3
anandp0 Apr 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Website
Cloudbourne Website deployment though AppZ
# Wordpress on Google Cloud

We at [CloudControl](https://www.ecloudcontrol.com) decided to give our webiste a facelift. The site is using Wordpress with Avada theme. This repo is used for our GitOps based deployment using our flagship [GitOps platform AppZ](https://www.ecloudcontrol.com/achieving-infrastructure-agility-with-cloud-controls-appz/).

Learn more about our GitOps platform and watch the video of the deployment at [Wordpress on Google Cloud](https://www.ecloudcontrol.com/wordpress-on-google-cloud/)
49 changes: 31 additions & 18 deletions appz.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,50 @@
app:
name: eCloudControl.com
name: v4.eCloudControl.com
code: ECSWEB
notify: appzdev@cloudbourne.co

build:
version: 2.0
env: DEV
version: 4.0
env: PROD
build_file: none
output_files: output/*.zip
image_template: wordpress-5.2_avada5.9
image_name: myco/website
image_template: wordpress-6.5

deploy:
context: myco/DEV
context: ecloudcontrol/PROD
type: statefulset
ingress: none
replicas: 1
resources: x-large
port:
- 80
- 443

volumes:
- claim: ecs-website-uploads-pvc
mount: /var/www/html/wp-content/uploads
name: uploads
- claim: ecs-website-uploads-backup-pvc
- claim: wp-content
mount: /var/www/html/wp-content
name: wp-content
size: 250Gi
- claim: wp-backup
mount: /appz/backup
name: backup

monitor:
notify: appzops@cloudbourne.co
size: 250Gi

properties:
revision : 24
MYSQL_HOST : "mysql-5-7:3306"
MYSQL_DATABASE : "ecloudcontrol_com"
MYSQL_DATABASE : "ecloudcontrol_com_v4"
MYSQL_USER : "ecloudcontrol_com"
SITE_URL : "https://ecloudcontrol.com"
SITE_TITLE : "eCloudControl.com"
ENABLE_HA : "no"
WP_BACKUP_VERBOSE : 0
MYSQL_PASSWORD:
vault: MYSQL_PASSWORD
SITE_URL : "https://www.v4.ecloudcontrol.com"
SITE_TITLE : "CLOUDCONTROL"
ADMIN_USER : webmaster
ADMIN_EMAIL : webmaster@ecloudcontrol.com
ADMIN_PASSWORD:
vault: ADMIN_PASSWORD
SITE_PRIVATE_KEY:
vault: SITE_PRIVATE_KEY
SITE_CERT:
vault: SITE_CERT
revision : 83
7 changes: 7 additions & 0 deletions contents.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
theme:
- name: Avada
url: https://www.ecloudcontrol.com/wp-content/uploads/2024/07/Avada-7.11.zip
- name: Avada-Child-Theme
url: https://www.ecloudcontrol.com/wp-content/uploads/2024/07/Avada-Child-Theme-7.11.zip

109 changes: 109 additions & 0 deletions init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
#!/bin/bash
filename="AppZ-Healthcare-Case-Study-Oct-2020-v2-1"
if grep $filename -q /var/www/html/wp-content/themes/Avada/header.php ;then
echo "theme change already exist..."
else
sed -n -i -e '/<?php wp_head(); ?>/r /wp-contents/plugin-customization/contact7_download.php' -e 1x -e '2,${x;p}' -e '${x;p}' /var/www/html/wp-content/themes/Avada/header.php 2>error.txt
if [ -s error.txt ];then
rm error.txt
echo "failed to update header.php"
else
echo "header.php successfully updated"
fi
rm error.txt
fi
filename1="CloudControl-Approach-Database-Migration-and-Management-V1"
if grep $filename1 -q /var/www/html/wp-content/themes/Avada/header.php ;then
echo "theme change already exist..."
else
sed -n -i -e '/<?php wp_head(); ?>/r /wp-contents/plugin-customization/contact7_download_01.php' -e 1x -e '2,${x;p}' -e '${x;p}' /var/www/html/wp-content/themes/Avada/header.php 2>error.txt
if [ -s error.txt ];then
rm error.txt
echo "failed to update header.php"
else
echo "header.php successfully updated"
fi
rm error.txt
fi
filename2="CC_Brochure_May2021-1"
if grep $filename2 -q /var/www/html/wp-content/themes/Avada/header.php ;then
echo "theme change already exist..."
else
sed -n -i -e '/<?php wp_head(); ?>/r /wp-contents/plugin-customization/contact7_download_02.php' -e 1x -e '2,${x;p}' -e '${x;p}' /var/www/html/wp-content/themes/Avada/header.php 2>error.txt
if [ -s error.txt ];then
rm error.txt
echo "failed to update header.php"
else
echo "header.php successfully updated"
fi
rm error.txt
fi

filename3="AppZ-CloudControl-brochure-Oct-21"
if grep $filename3 -q /var/www/html/wp-content/themes/Avada/header.php ;then
echo "theme change already exist..."
else
sed -n -i -e '/<?php wp_head(); ?>/r /wp-contents/plugin-customization/contact7_download_03.php' -e 1x -e '2,${x;p}' -e '${x;p}' /var/www/html/wp-content/themes/Avada/header.php 2>error.txt
if [ -s error.txt ];then
rm error.txt
echo "failed to update header.php"
else
echo "header.php successfully updated"
fi
rm error.txt
fi

filename4="Case-Study-EdTech-Cloud-Native-v05"
if grep $filename4 -q /var/www/html/wp-content/themes/Avada/header.php ;then
echo "theme change already exist..."
else
sed -n -i -e '/<?php wp_head(); ?>/r /wp-contents/plugin-customization/contact7_download_04.php' -e 1x -e '2,${x;p}' -e '${x;p}' /var/www/html/wp-content/themes/Avada/header.php 2>error.txt
if [ -s error.txt ];then
rm error.txt
echo "failed to update header.php"
else
echo "header.php successfully updated"
fi
rm error.txt
fi

filename5="CCS-AppZ-for-AutoMobile-Company-V01"
if grep $filename5 -q /var/www/html/wp-content/themes/Avada/header.php ;then
echo "theme change already exist..."
else
sed -n -i -e '/<?php wp_head(); ?>/r /wp-contents/plugin-customization/contact7_download_05.php' -e 1x -e '2,${x;p}' -e '${x;p}' /var/www/html/wp-content/themes/Avada/header.php 2>error.txt
if [ -s error.txt ];then
rm error.txt
echo "failed to update header.php"
else
echo "header.php successfully updated"
fi
rm error.txt
fi

filename6="Signature-SRE-Dec2022-v8"
if grep $filename6 -q /var/www/html/wp-content/themes/Avada/header.php ;then
echo "theme change already exist..."
else
sed -n -i -e '/<?php wp_head(); ?>/r /wp-contents/plugin-customization/contact7_download_06.php' -e 1x -e '2,${x;p}' -e '${x;p}' /var/www/html/wp-content/themes/Avada/header.php 2>error.txt
if [ -s error.txt ];then
rm error.txt
echo "failed to update header.php"
else
echo "header.php successfully updated"
fi
rm error.txt
fi
filename7="White-Paper_-Migrating-Data-from-Sybase-to-Azure-SQL-Server-v7"
if grep $filename6 -q /var/www/html/wp-content/themes/Avada/header.php ;then
echo "theme change already exist..."
else
sed -n -i -e '/<?php wp_head(); ?>/r /wp-contents/plugin-customization/contact7_download_07.php' -e 1x -e '2,${x;p}' -e '${x;p}' /var/www/html/wp-content/themes/Avada/header.php 2>error.txt
if [ -s error.txt ];then
rm error.txt
echo "failed to update header.php"
else
echo "header.php successfully updated"
fi
rm error.txt
fi
9 changes: 9 additions & 0 deletions plugin-customization/contact7_download.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<script>
document.addEventListener( 'wpcf7mailsent', function( event ) {
if ( '2485' == event.detail.contactFormId ) {
location = 'https://www.ecloudcontrol.com/wp-content/uploads/2021/01/AppZ-Healthcare-Case-Study-Oct-2020-v2-1.pdf';
}
}, false );
</script>


7 changes: 7 additions & 0 deletions plugin-customization/contact7_download_01.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script>
document.addEventListener( 'wpcf7mailsent', function( event ) {
if ( '3064' == event.detail.contactFormId ) {
location = 'https://www.ecloudcontrol.com/wp-content/uploads/2021/03/CloudControl-Approach-Database-Migration-and-Management-V1.pdf';
}
}, false );
</script>
7 changes: 7 additions & 0 deletions plugin-customization/contact7_download_02.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script>
document.addEventListener( 'wpcf7mailsent', function( event ) {
if ( '3342' == event.detail.contactFormId ) {
location = 'https://www.ecloudcontrol.com/wp-content/uploads/2021/05/CC_Brochure_May2021-1.pdf';
}
}, false );
</script>
7 changes: 7 additions & 0 deletions plugin-customization/contact7_download_03.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script>
document.addEventListener( 'wpcf7mailsent', function( event ) {
if ( '4186' == event.detail.contactFormId ) {
location = 'https://www.ecloudcontrol.com/wp-content/uploads/2021/10/AppZ-CloudControl-brochure-Oct-21.pdf';
}
}, false );
</script>
7 changes: 7 additions & 0 deletions plugin-customization/contact7_download_04.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script>
document.addEventListener( 'wpcf7mailsent', function( event ) {
if ( '4732' == event.detail.contactFormId ) {
location = 'https://www.ecloudcontrol.com/wp-content/uploads/2022/05/Case-Study-EdTech-Cloud-Native-v05.pdf';
}
}, false );
</script>
7 changes: 7 additions & 0 deletions plugin-customization/contact7_download_05.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script>
document.addEventListener( 'wpcf7mailsent', function( event ) {
if ( '4768' == event.detail.contactFormId ) {
location = 'https://www.ecloudcontrol.com/wp-content/uploads/2022/06/CCS-AppZ-for-AutoMobile-Company-V01.pdf';
}
}, false );
</script>
7 changes: 7 additions & 0 deletions plugin-customization/contact7_download_06.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script>
document.addEventListener( 'wpcf7mailsent', function( event ) {
if ( '5458' == event.detail.contactFormId ) {
location = 'https://www.ecloudcontrol.com/wp-content/uploads/2022/12/Signature-SRE-Dec2022-v8.pdf';
}
}, false );
</script>
7 changes: 7 additions & 0 deletions plugin-customization/contact7_download_07.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script>
document.addEventListener( 'wpcf7mailsent', function( event ) {
if ( '8315' == event.detail.contactFormId ) {
location = 'https://www.ecloudcontrol.com/wp-content/uploads/2023/12/White-Paper_-Migrating-Data-from-Sybase-to-Azure-SQL-Server-v7.pdf';
}
}, false );
</script>