snapshot of https://github.com/cortezaproject/corteza.git (2024.9.x, 2026-09-18; blobs > 131072B omitted)
Some checks failed
SonarQube / SonarQube (push) Failing after 5m28s
E2e test on main branch push / server and client test (map[name:admin port:8080]) (push) Failing after 3m33s
Server and lib tests / Library test (js) (push) Failing after 1m36s
Server and lib tests / Library test (vue) (push) Successful in 2m24s
Server and lib tests / Web client test (admin) (push) Successful in 2m52s
Server and lib tests / Web client test (compose) (push) Successful in 3m23s
Server and lib tests / Web client test (discovery) (push) Successful in 2m49s
Server and lib tests / Web client test (one) (push) Successful in 2m52s
Server and lib tests / Web client test (privacy) (push) Successful in 2m44s
Server and lib tests / Web client test (reporter) (push) Successful in 2m56s
Server and lib tests / Web client test (workflow) (push) Successful in 3m0s
Server and lib tests / Server tests (push) Failing after 4m55s
E2e test on main branch push / notify-failure (push) Failing after 9s
Server and lib tests / Send matrix testing notification (push) Successful in 2s
Mark stale issues and pull requests / stale (push) Successful in 40s
Some checks failed
SonarQube / SonarQube (push) Failing after 5m28s
E2e test on main branch push / server and client test (map[name:admin port:8080]) (push) Failing after 3m33s
Server and lib tests / Library test (js) (push) Failing after 1m36s
Server and lib tests / Library test (vue) (push) Successful in 2m24s
Server and lib tests / Web client test (admin) (push) Successful in 2m52s
Server and lib tests / Web client test (compose) (push) Successful in 3m23s
Server and lib tests / Web client test (discovery) (push) Successful in 2m49s
Server and lib tests / Web client test (one) (push) Successful in 2m52s
Server and lib tests / Web client test (privacy) (push) Successful in 2m44s
Server and lib tests / Web client test (reporter) (push) Successful in 2m56s
Server and lib tests / Web client test (workflow) (push) Successful in 3m0s
Server and lib tests / Server tests (push) Failing after 4m55s
E2e test on main branch push / notify-failure (push) Failing after 9s
Server and lib tests / Send matrix testing notification (push) Successful in 2s
Mark stale issues and pull requests / stale (push) Successful in 40s
This commit is contained in:
52
server/provision/update.sh
Executable file
52
server/provision/update.sh
Executable file
@@ -0,0 +1,52 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eu
|
||||
|
||||
cd "$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||
|
||||
BRANCH=${BRANCH:-"2022.3.x"}
|
||||
ZIP="${BRANCH}.zip"
|
||||
URL=${URL:-"https://github.com/cortezaproject/corteza-ext/archive/${ZIP}"}
|
||||
DIR="corteza-ext-${BRANCH}"
|
||||
|
||||
function download {
|
||||
echo -ne "\033[32mDownloading ${URL}\033[39m ... "
|
||||
|
||||
curl -s --location "${URL}" > "${ZIP}"
|
||||
unzip -qq "${ZIP}"
|
||||
|
||||
echo "done"
|
||||
}
|
||||
|
||||
function copyExtConfig {
|
||||
echo -e "\033[32mCopying ${3} ${2}\033[39m ... "
|
||||
mkdir -p "./${1}_${2}"
|
||||
cp -f "${DIR}/${2}/config/${3}.yaml" "./${1}_${2}/${3}.yaml"
|
||||
}
|
||||
|
||||
function cleanup {
|
||||
echo -ne "\033[32mCleaning up\033[39m ... "
|
||||
rm -rf "${ZIP}" "${DIR}"
|
||||
echo "done"
|
||||
}
|
||||
|
||||
download
|
||||
|
||||
copyExtConfig 700 crm 0001_templates
|
||||
copyExtConfig 700 crm 1000_namespace
|
||||
copyExtConfig 700 crm 1100_modules
|
||||
copyExtConfig 700 crm 1200_charts
|
||||
copyExtConfig 700 crm 1400_pages
|
||||
copyExtConfig 700 crm 1500_record_settings
|
||||
copyExtConfig 700 crm 1600_workflows
|
||||
|
||||
copyExtConfig 701 service-solution 0001_templates
|
||||
copyExtConfig 701 service-solution 1000_namespace
|
||||
copyExtConfig 701 service-solution 1100_modules
|
||||
copyExtConfig 701 service-solution 1200_charts
|
||||
copyExtConfig 701 service-solution 1400_pages
|
||||
copyExtConfig 701 service-solution 1500_record_settings
|
||||
copyExtConfig 701 service-solution 1600_workflows
|
||||
|
||||
cleanup
|
||||
|
||||
Reference in New Issue
Block a user