File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 3535# Run nightly backend tests
3636
3737
38- bootstrap (){
38+ buildImages (){
3939 echo " Building backend..."
4040 ./scripts/build-backend.sh
4141
42+ echo " Building emails..."
43+ ./scripts/build-emails.sh
44+
4245 echo " Building frontend..."
4346 ./scripts/build-frontend.sh
47+ }
48+
49+ bootstrap (){
50+ buildImages
4451
4552 echo " Installing..."
4653 helm upgrade --install -f ./chart/values.yaml -f ./chart/local.yaml btrix ./chart
4754}
4855
4956bootstrapMicrok8s (){
50- echo " Building backend..."
51- ./scripts/build-backend.sh
52-
53- echo " Building frontend..."
54- ./scripts/build-frontend.sh
57+ buildImages
5558
5659 echo " Installing..."
5760 microk8s helm3 upgrade --install -f ./chart/values.yaml -f ./chart/local.yaml btrix ./chart
@@ -97,17 +100,17 @@ resetMicrok8s(){
97100 microk8s kubectl delete configmap -n crawlers -l btrix.crawlconfig
98101}
99102
100- runTests () {
103+ runTests (){
101104 echo " Running backend tests..."
102105 python3 -m pytest backend/test/test_* .py
103106}
104107
105- runNightlyTests () {
108+ runNightlyTests (){
106109 echo " Running nightly backend tests..."
107110 python3 -m pytest backend/test_nightly/test_* .py
108111}
109112
110- setupLocalConfig () {
113+ setupLocalConfig (){
111114 if [ -f ./chart/local.yaml ]; then
112115 echo " Local config file already exists at ./chart/local.yaml"
113116 exit 1
You can’t perform that action at this time.
0 commit comments