## Description - Modularised the docker image building - Optimised the `install dependancies` step to reduce the time from 8 mins to 30-40 secs now - Removed unnecessary steps from the ci-dubugging.yml - Added ci-debug.sh file to ease the steps to run ngrok while running ci-debugging - Changes made to below files 1. integration-tests-command.yml 2. test-build-docker-image.yml 3. ci-test.yml 4. build-docker-image.yml ## Type of change - integration-tests-command.yml - test-build-docker-image.yml - ci-test.yml - build-docker-image.yml ## How Has This Been Tested? - Manual ## Checklist: ### QA activity: - [ ] Test plan has been approved by relevant developers - [ ] Test plan has been peer reviewed by QA - [ ] Cypress test cases have been added and approved by either SDET or manual QA - [ ] Organized project review call with relevant stakeholders after Round 1/2 of QA - [ ] Added Test Plan Approved label after reveiwing all Cypress test
19 lines
438 B
Bash
19 lines
438 B
Bash
#!/bin/bash
|
|
|
|
cd ~
|
|
if [ ! -f "ngrok-v3-stable-linux-amd64.tgz" ]; then
|
|
wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz
|
|
gunzip ngrok-v3-stable-linux-amd64.tgz
|
|
tar -xvf ngrok-v3-stable-linux-amd64.tar
|
|
else
|
|
echo "Starting ngrok"
|
|
fi
|
|
|
|
if [ -z "$1" ]; then
|
|
read -p "Please enter ngrok token: " value
|
|
else
|
|
value="$1"
|
|
fi
|
|
./ngrok config add-authtoken $value
|
|
./ngrok http 80
|