Healthwatch, bake tile and create exporter - pivotal-cf/TAS-LTS GitHub Wiki
- Clone denver-bash-it project in ~/workspace directory
git clone [email protected]:pivotal-cf/denver-bash-it - Need to make some changes before running ./install.sh healthwatch
- It is running commands of
denver-bash-it/install/healthwatch.shfile. - On this file you should change ruby version
ruby_version=$(cat $HOME/workspace/pcf-tile-pipeline/.ruby-version)insteadruby_version=2.6.8 - You can get an error if the projects exist in your workspace dir, check projects, and comment on the lines
- Also I got a error for last line, but it wasn't necessary for me.
cf install-plugin -f "$(cd $(dirname $0); pwd -P)/pcf-event-alerts-cli-plugin-macosx64-1.1.1" - Check Java version, should be
openjdk version "17.0.2", download openjdk Java and set on this commandexport JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-17.jdk/Contents/Home
- Run:
cd ~/workspace/denver-bash-it ./install.sh healthwatch - Check if do you have google cloud (
gsutil version). - Check if do you have CF-Denver project in gcloud (https://console.cloud.google.com/)
- RUN:
~/workspace/healthwatch/scripts/bake.sh ~/workspace/healthwatch/ - For creating exporter to RUN commands:
cd ~/workspace/healthwatch RELEASE_VERSION=2.2.1-build.11 METADATA_FILE_NAME=healthwatch-pas-exporter.yml PREBUILT_RELEASE_DIR=~/workspace/healthwatch/releases/release-tarballs TILE_NAME=p-healthwatch2-pas-exporter ./scripts/bake.sh