├── utils ├── .gitignore ├── build-deps-for-ubuntu.sh ├── README.md ├── mk_rocky9_hyrax_builder ├── mk_ubuntu_hyrax_builder ├── mk_rocky8_hyrax_builder └── build-bes-for-ubuntu.sh ├── retired ├── travis-ci │ └── centos8 │ │ └── .dockerignore ├── hyrax-snapshot │ ├── get_snaphots.sh │ ├── site.conf │ ├── local.env.orig │ ├── snapshot.time │ ├── mkNgap │ ├── hyrax.yml │ ├── playbook.yml │ ├── hyrax_wms.yml │ ├── developer.yml │ ├── hyrax │ │ └── ncWMS_config.xml │ └── ngap │ │ ├── ncWMS_config.xml │ │ └── tomcat.conf ├── shutdown.sh ├── template │ ├── local.env.orig │ ├── hyrax.yml │ ├── playbook.yml │ ├── hyrax_wms.yml │ ├── developer.yml │ ├── ncWMS │ │ ├── ncWMS_config.xml │ │ ├── ncwms.policy │ │ └── entrypoint.sh │ ├── hyrax │ │ ├── ncWMS_config.xml │ │ └── cleanup_files.sh │ ├── ngap │ │ ├── ncWMS_config.xml │ │ └── cleanup_files.sh │ └── hyrax-rh8 │ │ ├── ncWMS_config.xml │ │ └── cleanup_files.sh ├── buildit.sh ├── releases │ ├── hyrax-1.13.5 │ │ ├── local.env.orig │ │ ├── hyrax.yml │ │ ├── playbook.yml │ │ ├── hyrax_wms.yml │ │ ├── developer.yml │ │ ├── ncWMS │ │ │ ├── ncWMS_config.xml │ │ │ ├── Dockerfile │ │ │ └── entrypoint.sh │ │ └── hyrax │ │ │ └── ncWMS_config.xml │ ├── hyrax-1.14.0 │ │ ├── local.env.orig │ │ ├── hyrax.yml │ │ ├── playbook.yml │ │ ├── hyrax_wms.yml │ │ ├── developer.yml │ │ ├── ncWMS │ │ │ ├── ncWMS_config.xml │ │ │ ├── Dockerfile │ │ │ └── entrypoint.sh │ │ └── hyrax │ │ │ └── ncWMS_config.xml │ ├── hyrax-1.15.1 │ │ ├── local.env.orig │ │ ├── hyrax.yml │ │ ├── playbook.yml │ │ ├── hyrax_wms.yml │ │ ├── developer.yml │ │ ├── ncWMS │ │ │ ├── ncWMS_config.xml │ │ │ ├── Dockerfile │ │ │ └── entrypoint.sh │ │ └── hyrax │ │ │ └── ncWMS_config.xml │ ├── hyrax-1.15.2 │ │ ├── local.env.orig │ │ ├── hyrax.yml │ │ ├── playbook.yml │ │ ├── hyrax_wms.yml │ │ ├── developer.yml │ │ ├── ncWMS │ │ │ ├── ncWMS_config.xml │ │ │ ├── Dockerfile │ │ │ └── entrypoint.sh │ │ └── hyrax │ │ │ └── ncWMS_config.xml │ ├── hyrax-1.15.3 │ │ ├── local.env.orig │ │ ├── hyrax.yml │ │ ├── playbook.yml │ │ ├── hyrax_wms.yml │ │ ├── developer.yml │ │ ├── ncWMS │ │ │ ├── ncWMS_config.xml │ │ │ ├── ncwms.policy │ │ │ └── entrypoint.sh │ │ └── hyrax │ │ │ └── ncWMS_config.xml │ ├── hyrax-1.15.4 │ │ ├── local.env.orig │ │ ├── hyrax.yml │ │ ├── playbook.yml │ │ ├── hyrax_wms.yml │ │ ├── developer.yml │ │ ├── ncWMS │ │ │ ├── ncWMS_config.xml │ │ │ ├── ncwms.policy │ │ │ └── entrypoint.sh │ │ └── hyrax │ │ │ └── ncWMS_config.xml │ ├── hyrax-1.16.0 │ │ ├── local.env.orig │ │ ├── hyrax.yml │ │ ├── playbook.yml │ │ ├── hyrax_wms.yml │ │ ├── developer.yml │ │ ├── ncWMS │ │ │ ├── ncWMS_config.xml │ │ │ └── ncwms.policy │ │ └── hyrax │ │ │ └── ncWMS_config.xml │ ├── hyrax-1.16.1 │ │ ├── local.env.orig │ │ ├── hyrax.yml │ │ ├── playbook.yml │ │ ├── hyrax_wms.yml │ │ ├── developer.yml │ │ ├── ncWMS │ │ │ ├── ncWMS_config.xml │ │ │ └── ncwms.policy │ │ └── hyrax │ │ │ └── ncWMS_config.xml │ ├── hyrax-1.16.2 │ │ ├── local.env.orig │ │ ├── hyrax.yml │ │ ├── playbook.yml │ │ ├── hyrax_wms.yml │ │ ├── developer.yml │ │ ├── ncWMS │ │ │ ├── ncWMS_config.xml │ │ │ └── ncwms.policy │ │ ├── hyrax │ │ │ └── ncWMS_config.xml │ │ └── ngap │ │ │ └── ncWMS_config.xml │ ├── hyrax-1.16.3 │ │ ├── local.env.orig │ │ ├── hyrax.yml │ │ ├── playbook.yml │ │ ├── hyrax_wms.yml │ │ ├── developer.yml │ │ ├── ncWMS │ │ │ ├── ncWMS_config.xml │ │ │ └── ncwms.policy │ │ ├── hyrax │ │ │ └── ncWMS_config.xml │ │ └── ngap │ │ │ └── ncWMS_config.xml │ ├── hyrax-1.16.5 │ │ ├── local.env.orig │ │ ├── hyrax.yml │ │ ├── playbook.yml │ │ ├── hyrax_wms.yml │ │ ├── developer.yml │ │ ├── ncWMS │ │ │ ├── ncWMS_config.xml │ │ │ └── ncwms.policy │ │ ├── hyrax │ │ │ ├── ncWMS_config.xml │ │ │ └── cleanup_files.sh │ │ ├── ngap │ │ │ ├── ncWMS_config.xml │ │ │ └── cleanup_files.sh │ │ └── hyrax-rh8 │ │ │ ├── ncWMS_config.xml │ │ │ └── cleanup_files.sh │ └── hyrax-1.16.6 │ │ ├── local.env.orig │ │ ├── hyrax.yml │ │ ├── playbook.yml │ │ ├── hyrax_wms.yml │ │ ├── developer.yml │ │ ├── ncWMS │ │ ├── ncWMS_config.xml │ │ └── ncwms.policy │ │ ├── hyrax │ │ └── ncWMS_config.xml │ │ └── ngap │ │ └── ncWMS_config.xml ├── logging_config.policy ├── startup.sh ├── hyrax-builds │ ├── ngap-c7 │ │ ├── ncWMS_config.xml │ │ ├── cleanup_files.sh │ │ └── tomcat.conf │ └── hyrax-c7 │ │ ├── ncWMS_config.xml │ │ └── cleanup_files.sh └── hyrax-gitbuild │ ├── centos7 │ └── ncWMS_config.xml │ └── centos8 │ └── ncWMS_config.xml ├── mkTest ├── .gitignore ├── releases ├── hyrax-1.16.6-build-recipe ├── hyrax-1.16.7-build-recipe ├── hyrax-1.16.8-build-recipe ├── hyrax-1.17.0-build-recipe └── hyrax-1.17.1-build-recipe ├── snapshot.time ├── acknowledgements ├── README.md └── thredds-docker-LICENSE.txt ├── deploy_to_docker_hub.sh └── docker_handy.sh /utils/.gitignore: -------------------------------------------------------------------------------- 1 | /hyrax-dependencies 2 | /bes -------------------------------------------------------------------------------- /retired/travis-ci/centos8/.dockerignore: -------------------------------------------------------------------------------- 1 | NOTES 2 | README 3 | Dockerfile.template 4 | -------------------------------------------------------------------------------- /mkTest: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | docker exec -it hyrax bash -c "cd hyrax_regression_tests; ./testsuite" -------------------------------------------------------------------------------- /retired/hyrax-snapshot/get_snaphots.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | docker-compose -f ./hyrax.yml pull olfs besd -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | local.env 2 | logs 3 | */.DS_Store 4 | .DS_Store 5 | .idea 6 | *.iml 7 | *.log 8 | /.project 9 | -------------------------------------------------------------------------------- /retired/shutdown.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | # Stop the server 5 | docker container stop olfs besd 6 | 7 | # Cleanup the containers 8 | docker container rm olfs besd 9 | -------------------------------------------------------------------------------- /retired/hyrax-snapshot/site.conf: -------------------------------------------------------------------------------- 1 | BES.modules+=httpd 2 | Httpd_Catalog.Collections=test_opendap_org:http://test.opendap.org/data/ 3 | AllowedHosts += ^http:\/\/test\.opendap\.org\/.*$ -------------------------------------------------------------------------------- /retired/template/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /releases/hyrax-1.16.6-build-recipe: -------------------------------------------------------------------------------- 1 | libdap4-3.20.10-0 2022-07-01T21:19:53+0000 2 | bes-3.20.11-0 2022-07-05T17:58:43+0000 3 | olfs-1.18.11-0 2022-07-05T19:57:25+0000 4 | hyrax-1.16.6-0 2022-07-05T19:57:25+0000 5 | -------------------------------------------------------------------------------- /releases/hyrax-1.16.7-build-recipe: -------------------------------------------------------------------------------- 1 | libdap4-3.20.10-0 2022-07-01T21:19:53+0000 2 | bes-3.20.12-0 2022-07-06T18:20:59+0000 3 | olfs-1.18.12-0 2022-07-06T20:26:23+0000 4 | hyrax-1.16.7-0 2022-07-06T20:26:23+0000 5 | -------------------------------------------------------------------------------- /releases/hyrax-1.16.8-build-recipe: -------------------------------------------------------------------------------- 1 | libdap4-3.20.11-0 2022-07-21T23:48:51+0000 2 | bes-3.20.13-0 2022-07-22T14:41:58+0000 3 | olfs-1.18.13-0 2022-07-22T16:36:38+0000 4 | hyrax-1.16.8-0 2022-07-22T16:36:38+0000 5 | -------------------------------------------------------------------------------- /retired/hyrax-snapshot/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /snapshot.time: -------------------------------------------------------------------------------- 1 | libdap4-3.21.1-332 2025-12-02T00:11:15+0000 2 | bes-3.21.1-879 2025-12-18T17:59:03+0000 test-deploy 3 | olfs-1.18.15-550 2025-12-19T16:46:52+0000 4 | hyrax-1.17.1-550 2025-12-19T16:46:52+0000 5 | -------------------------------------------------------------------------------- /retired/buildit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Simple build script that has back in versioning - We can improve this but it works for now. 3 | # 4 | docker build -t bes-3.18.0-static besd 5 | docker build -t olfs-1.16.3 olfs 6 | -------------------------------------------------------------------------------- /retired/hyrax-snapshot/snapshot.time: -------------------------------------------------------------------------------- 1 | libdap4-3.20.7-21 2021-03-29T22:14:58+0000 2 | bes-3.20.8-62 2021-04-02T00:57:08+0000 3 | olfs-1.18.8-80 2021-04-02T01:07:03+0000 4 | hyrax-1.16.3-50 2021-04-02T01:07:03+0000 5 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.13.5/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /retired/releases/hyrax-1.14.0/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.1/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.2/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.3/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.4/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.0/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.1/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.2/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.3/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.6/local.env.orig: -------------------------------------------------------------------------------- 1 | # 2 | # Template for runtime setable Hyrax configuration properties 3 | # 4 | #SERVER_HELP_EMAIL=myhelp@myorg 5 | #FOLLOW_SYMLINKS=Yes 6 | #NCWMS_BASE=http://test.opendap.org/ -------------------------------------------------------------------------------- /acknowledgements/README.md: -------------------------------------------------------------------------------- 1 | This directory contains licensing information of projects that this 2 | project acknowledges. 3 | 4 | thredds-docker-LICENSE.txt is taken from: 5 | https://github.com/Unidata/thredds-docker/blob/master/LICENSE.txt 6 | -------------------------------------------------------------------------------- /retired/logging_config.policy: -------------------------------------------------------------------------------- 1 | 2 | permission java.io.FilePermission 3 | "${catalina.base}${file.separator} webapps${file.separator}opendap${file.separator}WEB-INF${file.separator}classes${file.separator}logging.properties", "read"; 4 | 5 | -------------------------------------------------------------------------------- /releases/hyrax-1.17.0-build-recipe: -------------------------------------------------------------------------------- 1 | libdap4-3.21.0-27 2024-01-23T23:04:18+0000 2 | bes-3.21.0-46 2024-01-24T00:22:06+0000 3 | build_dmrpp-3.21.0-46 2024-01-24T00:22:06+0000 4 | olfs-1.18.14-1 2024-01-24T22:24:04+0000 5 | hyrax-1.17.0-1 2024-01-24T22:24:04+0000 6 | -------------------------------------------------------------------------------- /releases/hyrax-1.17.1-build-recipe: -------------------------------------------------------------------------------- 1 | libdap4-3.21.1-0 2025-01-13T22:50:55+0000 2 | bes-3.21.1-0 2025-01-15T17:49:45+0000 3 | build_dmrpp-3.21.1-0 2025-01-15T17:49:45+0000 4 | olfs-1.18.15-0 2025-01-15T20:22:49+0000 5 | hyrax-1.17.1-0 2025-01-15T20:22:49+0000 6 | -------------------------------------------------------------------------------- /retired/hyrax-snapshot/mkNgap: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | docker rm -f $(docker ps -aq); 4 | 5 | docker build ngap -t opendap/hyrax:ngap-snapshot \ 6 | --build-arg AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} \ 7 | --build-arg AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} 8 | 9 | docker run -d -h ngap -p 8080:8080 --name=ngap opendap/hyrax:ngap-snapshot -------------------------------------------------------------------------------- /retired/startup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # 4 | # Super simple launcher script for hyrax-docker that relies on the "prefix" environment variable 5 | # to locate log file output and data inputs for the BES. 6 | # 7 | 8 | # Run the besd container 9 | docker run -itd -p 10022:10022 -v $prefix/share/hyrax:/usr/share/hyrax --name=besd bes-3.18.0-static 10 | 11 | # Run the OLFS container and "link" it to the besd container this allows the OLFS to make a network connection 12 | # to the besd container 13 | mkdir -p $prefix/var/olfs_logs 14 | docker run -itd -p 8080:8080 -v $prefix/var/olfs_logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs --link besd --name=olfs olfs-1.16.3 15 | 16 | -------------------------------------------------------------------------------- /retired/template/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: ./olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: ./besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.13.5/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.14.0/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.1/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.2/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.3/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.4/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.0/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.1/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.2/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.3/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.6/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | env_file: ${PWD}/local.env 7 | image: olfs:latest 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | build: besd 16 | env_file: ${PWD}/local.env 17 | image: besd:latest 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/hyrax-snapshot/hyrax.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | # build: ./olfs 6 | env_file: ${PWD}/local.env 7 | image: opendap/olfs:snapshot 8 | ports: 9 | - "8080:8080" 10 | tty: true 11 | volumes: 12 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 13 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 14 | besd: 15 | # build: ./besd 16 | env_file: ${PWD}/local.env 17 | image: opendap/besd:snapshot 18 | ports: 19 | - "10022:10022" 20 | volumes: 21 | - ./logs:/var/log/bes/ 22 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 23 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 24 | # command: -e admin_contact@email.org -s 25 | -------------------------------------------------------------------------------- /retired/template/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/hyrax-snapshot/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: snapshot 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: snapshot 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.13.5/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.14.0/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.1/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.2/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.3/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.4/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.0/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.1/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.2/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.3/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.6/playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - hosts: localhost 3 | tasks: 4 | - name: build olfs 5 | docker_image: 6 | name: olfs 7 | tag: latest 8 | path: olfs 9 | state: present 10 | force: yes 11 | - name: build besd 12 | docker_image: 13 | name: besd 14 | tag: latest 15 | path: besd 16 | state: present 17 | force: yes 18 | - name: run hyrax 19 | docker_service: 20 | project_name: hyrax 21 | definition: 22 | version: '2' 23 | services: 24 | besd: 25 | image: besd 26 | env_file: ${PWD}/local.env 27 | olfs: 28 | image: olfs 29 | env_file: ${PWD}/local.env 30 | ports: 31 | - "8080:8080" 32 | depends_on: 33 | - besd 34 | 35 | -------------------------------------------------------------------------------- /deploy_to_docker_hub.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Called from the travis.yml. This depends on env vars set by the 4 | # travis yaml. jhrg 3/31/21 5 | set -e 6 | 7 | OPENDAP_AWS_ACCOUNT=747931985039 8 | 9 | echo "Logging into Docker Hub" 10 | echo $DOCKER_HUB_PSWD | docker login -u $DOCKER_HUB_UID --password-stdin 11 | 12 | echo "Deploying ${SNAPSHOT_IMAGE_TAG} to Docker Hub" 13 | docker push ${SNAPSHOT_IMAGE_TAG} 14 | echo "Deploying ${BUILD_VERSION_TAG} to Docker Hub" 15 | docker push ${BUILD_VERSION_TAG} 16 | 17 | echo "Docker Hub deployment complete." 18 | 19 | echo "AWS configuration: " 20 | aws configure list 21 | 22 | echo "Deploying ${SNAPSHOT_IMAGE_TAG} to AWS ECR" 23 | docker tag ${SNAPSHOT_IMAGE_TAG} ${OPENDAP_AWS_ACCOUNT}.dkr.ecr.us-east-1.amazonaws.com/${SNAPSHOT_IMAGE_TAG} 24 | docker push ${OPENDAP_AWS_ACCOUNT}.dkr.ecr.us-east-1.amazonaws.com/${SNAPSHOT_IMAGE_TAG} 25 | 26 | echo "AWS ECR deployment complete." -------------------------------------------------------------------------------- /utils/build-deps-for-ubuntu.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | HR="#######################################################################" 4 | ########################################################################### 5 | # loggy() 6 | function loggy(){ 7 | echo "$@" | awk '{ print "# "$0;}' >&2 8 | } 9 | loggy "$HR" 10 | loggy "$0 - BEGIN" 11 | loggy "" 12 | loggy " prefix: $prefix" 13 | 14 | extra_targets="${extra_targets:-"aws_s2n_tls"}" 15 | loggy "extra_targets: $extra_targets" 16 | loggy "" 17 | 18 | make_target="${make_target:-"for-travis"}" 19 | loggy " make_target: $make_target" 20 | loggy "" 21 | repo_dir="/root/hyrax-dependencies" 22 | loggy " repo_dir: $repo_dir" 23 | loggy "Changing to repo_dir: $repo_dir" 24 | cd "$repo_dir" || exit $? 25 | loggy "" 26 | 27 | loggy "" 28 | loggy "Running make $make_target" 29 | loggy "" 30 | make -j16 for-travis 2>&1 | tee "$prefix/build.log"; 31 | 32 | loggy "$0 - END" 33 | loggy "$HR" 34 | -------------------------------------------------------------------------------- /utils/README.md: -------------------------------------------------------------------------------- 1 | 2 | # RH-9 Build 3 | 4 | ## Build RH9 Docker Image 5 | 6 | The script `hyrax-docker/utils/dckrbld` will build the Docker image using the Dockerfile in `hyrax-docker/utils/build-rhel9` 7 | 8 | The directory `hyrax-docker/utils/build-rhel9` has the Dockerfile used 9 | by `mk_rocky9_hyrax_builder` to create the docker image for build libdap4 on rh9 10 | 11 | ``` 12 | cd hyrax-docker/utils 13 | sudo ./mk_rocky9_hyrax_builder 14 | ``` 15 | ## Build Libdap4 RPMs using the Docker image 16 | 17 | The script `./test-rh9` will attempt to build libdap4 using the 18 | Docker image built by `dckrbld`. 19 | 20 | The script `hyrax-docker/utils/test-rh9` will: 21 | - Remove the current libdap4 directory 22 | - Clone a fresh libdap4 and checkout the branch RHEL9 23 | - Start the docker image built by dckrbld mounting the freshly cloned libdap4 to /root/libdap4 24 | - Run the libdap4 build script `hyrax-docker/utils/libdap4/travis/build-rpm-9.sh` which will be mounted to: `/root/libdap4/travis/build-rpm-9.sh` 25 | 26 | ``` 27 | sudo ./test-rh9 28 | ``` 29 | **NOTE**: The list of things that are `yum` installed on the Rocky9 machine in `us-west-2` (named `rocky9`) that Dan used to build the stuff for our RH9 assessment is located in 30 | `hyrax-docker/utils/build-rhel9/aws-ecs-rocky9-yum-inventory.txt` -------------------------------------------------------------------------------- /retired/template/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: ./olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: ./besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ./ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.13.5/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.14.0/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.1/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.2/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.3/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.4/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.0/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.1/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.2/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.3/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.6/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:latest 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: besd 20 | env_file: ${PWD}/local.env 21 | image: besd:latest 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/hyrax-snapshot/hyrax_wms.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: 6 | context: ./olfs 7 | args: 8 | USE_NCWMS: "true" 9 | env_file: ${PWD}/local.env 10 | image: olfs:snapshot 11 | ports: 12 | - "80:8080" 13 | tty: true 14 | volumes: 15 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 16 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 17 | # command: -n http://localhost:8080 # This will be the publicly accessible host for ncWMS 18 | besd: 19 | build: ./besd 20 | env_file: ${PWD}/local.env 21 | image: besd:snapshot 22 | ports: 23 | - "10022:10022" 24 | volumes: 25 | - ./logs:/var/log/bes/ 26 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 27 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 28 | # command: -e admin_contact@email.org -s 29 | ncwms: 30 | build: 31 | context: ./ncWMS 32 | args: 33 | DEVELOPER_MODE: "true" 34 | env_file: ${PWD}/local.env 35 | image: ncwms:latest 36 | ports: 37 | - "8080:8080" 38 | tty: true 39 | volumes: 40 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 41 | - ./logs/ncwms:/root/.ncWMS2/logs 42 | -------------------------------------------------------------------------------- /retired/template/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: ./olfs 6 | build: 7 | context: ./olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: ./besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ./ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.13.5/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | build: 7 | context: olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.14.0/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | build: 7 | context: olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.1/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | build: 7 | context: olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.2/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | build: 7 | context: olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.3/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | build: 7 | context: olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.4/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | build: 7 | context: olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.0/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | build: 7 | context: olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.1/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | build: 7 | context: olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.2/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | build: 7 | context: olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.3/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | build: 7 | context: olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | build: 7 | context: olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.6/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: olfs 6 | build: 7 | context: olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:latest 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: besd 22 | env_file: ${PWD}/local.env 23 | image: besd:latest 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /retired/hyrax-snapshot/developer.yml: -------------------------------------------------------------------------------- 1 | --- 2 | version: '3' 3 | services: 4 | olfs: 5 | build: ./olfs 6 | build: 7 | context: ./olfs 8 | args: 9 | DEVELOPER_MODE: "true" 10 | USE_NCWMS: "true" 11 | env_file: ${PWD}/local.env 12 | image: olfs:snapshot 13 | ports: 14 | - "80:8080" 15 | tty: true 16 | volumes: 17 | - ./logs/olfs_tomcat:/usr/local/tomcat/logs 18 | - ./logs:/usr/local/tomcat/webapps/opendap/WEB-INF/conf/logs 19 | # command: -n http://localhost:8080 # This is the publicly accessible host for ncWMS 20 | besd: 21 | build: ./besd 22 | env_file: ${PWD}/local.env 23 | image: besd:snapshot 24 | ports: 25 | - "10022:10022" 26 | volumes: 27 | - ./logs:/var/log/bes/ 28 | # - ./cache:/var/cache/bes # maps the BES cache directory to the local filesystem 29 | # - ./conf:/etc/bes # Maps a local BES configuration directory onto the bes in docker. 30 | # command: -e admin_contact@email.org -s 31 | ncwms: 32 | build: 33 | context: ./ncWMS 34 | args: 35 | DEVELOPER_MODE: "true" 36 | env_file: ${PWD}/local.env 37 | image: ncwms:latest 38 | ports: 39 | - "8080:8080" 40 | tty: true 41 | volumes: 42 | - ./logs/ncwms_tomcat:/usr/local/tomcat/logs 43 | - ./logs/ncwms:/root/.ncWMS2/logs 44 | -------------------------------------------------------------------------------- /utils/mk_rocky9_hyrax_builder: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | HR="#######################################################################" 4 | 5 | 6 | ########################################################################### 7 | # loggy() 8 | function loggy(){ 9 | echo "$@" | awk '{ print "# "$0;}' >&2 10 | } 11 | 12 | loggy "$HR" 13 | 14 | loggy "$0 - BEGIN" 15 | 16 | uid="${1:-""}" 17 | pwrd="${2:-""}" 18 | if test -n "$uid" && test -n "$pwrd" 19 | then 20 | loggy "Found uid and password values." 21 | loggy "Will use to authenticate with docker.io and upload image." 22 | fi 23 | 24 | image_tag="opendap/rocky9_hyrax_builder:latest" 25 | loggy " image_tag: $image_tag" 26 | 27 | docker_repo="docker.io" 28 | loggy "docker_repo: $docker_repo" 29 | 30 | no_cache= 31 | if test -n "$3" 32 | then 33 | no_cache="--no-cache" 34 | fi 35 | loggy " no_cache: '$no_cache'" 36 | 37 | sudo docker build $no_cache \ 38 | --platform "linux/amd64" \ 39 | --tag "$image_tag" \ 40 | rocky9-hyrax-builder 41 | status=$? 42 | if test $status -ne 0 43 | then 44 | echo "ERROR: docker build command exited with status: $status" >&2 45 | exit $status 46 | fi 47 | 48 | if test -n "$uid" && test -n "$pwrd" 49 | then 50 | loggy "Pushing image to: $docker_repo" 51 | docker login -u "$uid" -p "$pwrd" "$docker_repo" 52 | docker push "$image_tag" 53 | fi 54 | 55 | loggy "$0 - END" 56 | loggy "$HR" 57 | -------------------------------------------------------------------------------- /utils/mk_ubuntu_hyrax_builder: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | HR="#######################################################################" 4 | 5 | 6 | ########################################################################### 7 | # loggy() 8 | function loggy(){ 9 | echo "$@" | awk '{ print "# "$0;}' >&2 10 | } 11 | 12 | loggy "$HR" 13 | 14 | loggy "$0 - BEGIN" 15 | 16 | uid="${1:-""}" 17 | pwrd="${2:-""}" 18 | if test -n "$uid" && test -n "$pwrd" 19 | then 20 | loggy "Found uid and password values." 21 | loggy "Will use to authenticate with docker.io and upload image." 22 | fi 23 | 24 | image_tag="opendap/ubuntu_hyrax_builder:latest" 25 | loggy " image_tag: $image_tag" 26 | 27 | docker_repo="docker.io" 28 | loggy "docker_repo: $docker_repo" 29 | 30 | no_cache= 31 | if test -n "$3" 32 | then 33 | no_cache="--no-cache" 34 | fi 35 | loggy " no_cache: '$no_cache'" 36 | 37 | sudo docker build $no_cache \ 38 | --platform "linux/amd64" \ 39 | --tag "$image_tag" \ 40 | ubuntu-hyrax-builder 41 | status=$? 42 | if test $status -ne 0 43 | then 44 | echo "ERROR: docker build command exited with status: $status" >&2 45 | exit $status 46 | fi 47 | 48 | if test -n "$uid" && test -n "$pwrd" 49 | then 50 | loggy "Pushing image to: $docker_repo" 51 | docker login -u "$uid" -p "$pwrd" "$docker_repo" 52 | docker push "$image_tag" 53 | fi 54 | 55 | loggy "$0 - END" 56 | loggy "$HR" 57 | -------------------------------------------------------------------------------- /utils/mk_rocky8_hyrax_builder: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | HR="#######################################################################" 4 | 5 | 6 | ########################################################################### 7 | # loggy() 8 | function loggy(){ 9 | echo "$@" | awk '{ print "# "$0;}' >&2 10 | } 11 | 12 | loggy "$HR" 13 | loggy "$0 - BEGIN" 14 | 15 | uid="${1:-""}" 16 | pwrd="${2:-""}" 17 | cache_flag="${3:-""}" 18 | 19 | if test -n "$uid" && test -n "$pwrd" 20 | then 21 | loggy "Found uid and password values." 22 | loggy "Will use to authenticate with docker.io and upload image." 23 | fi 24 | 25 | image_tag="opendap/rocky8_hyrax_builder:latest" 26 | loggy " image_tag: $image_tag" 27 | 28 | docker_repo="docker.io" 29 | loggy "docker_repo: $docker_repo" 30 | 31 | no_cache= 32 | if test -n "$cache_flag" 33 | then 34 | no_cache="--no-cache" 35 | fi 36 | loggy " no_cache: '$no_cache'" 37 | 38 | sudo docker build $no_cache \ 39 | --platform "linux/amd64" \ 40 | --tag "$image_tag" \ 41 | rocky8-hyrax-builder 42 | 43 | status=$? 44 | if test $status -ne 0 45 | then 46 | echo "ERROR: docker build command exited with status: $status" >&2 47 | exit $status 48 | fi 49 | 50 | if test -n "$uid" && test -n "$pwrd" 51 | then 52 | loggy "Pushing image to: $docker_repo" 53 | docker login -u "$uid" -p "$pwrd" "$docker_repo" 54 | docker push "$image_tag" 55 | fi 56 | 57 | loggy "$0 - END" 58 | loggy "$HR" 59 | -------------------------------------------------------------------------------- /retired/template/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/template/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/template/ngap/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/hyrax-builds/ngap-c7/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/hyrax-snapshot/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/hyrax-snapshot/ngap/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.13.5/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.14.0/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.1/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.2/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.3/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.4/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.0/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.1/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.2/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.3/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.6/ncWMS/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/template/hyrax-rh8/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/hyrax-builds/hyrax-c7/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/hyrax-gitbuild/centos7/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/hyrax-gitbuild/centos8/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.13.5/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.14.0/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.1/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.2/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.3/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.4/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.0/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.1/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.2/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.2/ngap/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.3/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.3/ngap/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/ngap/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.6/hyrax/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.6/ngap/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/hyrax-rh8/ncWMS_config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | 256 10 | 10.0 11 | 12 | 13 | 14 | 15 | 16 | OPeNDAP Docker 17 | OPeNDAP 18 | 19 | support@opendap.og 20 | 21 | 22 | ncWMS Server 23 | true 24 | 1024 25 | 1024 26 | 27 | 28 | http://@COMMAND_LINE_STUFF@ 29 | true 30 | 31 | 32 | -------------------------------------------------------------------------------- /acknowledgements/thredds-docker-LICENSE.txt: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2016, University Corporation for Atmospheric Research/Unidata 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | * Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | * Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | * Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /docker_handy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ################################################################################ 3 | # 4 | # Handy Little Docker shortcuts. 5 | # 6 | # This file contains a collection of bash functions that can be used to 7 | # reduce the typing associated with controlling Docker operations. 8 | # For example drmac (docker rm all containers) will remove all of the 9 | # dontainer in the docker engine. 10 | # 11 | # - Source this file into your working shell 12 | # - Read this file to see the commands 13 | # - And then use the functions defined herein 14 | # do the Docker things in your working shell. 15 | # 16 | #------------------------------------------------------------------------------ 17 | 18 | 19 | # - - - - - - - - - - - - - - - - - - - - 20 | # Stop all running containers 21 | # 22 | function dhalt() { 23 | docker stop $(docker ps -aq); 24 | } 25 | 26 | # - - - - - - - - - - - - - - - - - - - - 27 | # Remove all containers 28 | # 29 | function drmac(){ 30 | docker rm -f $(docker ps -aq); 31 | } 32 | 33 | # - - - - - - - - - - - - - - - - - - - - 34 | # Remove all images 35 | # 36 | function drmai(){ 37 | docker rmi -f $(docker images -q); 38 | } 39 | 40 | # - - - - - - - - - - - - - - - - - - - - 41 | # List all containers (only IDs) 42 | # 43 | function dlist(){ 44 | docker ps -aq; 45 | } 46 | 47 | # - - - - - - - - - - - - - - - - - - - - 48 | # Interactive Login Shell 49 | # 50 | # Uses the first argument as the id of the running container. 51 | # 52 | function dlogin(){ 53 | docker exec -ti $1 bash; 54 | } 55 | 56 | # - - - - - - - - - - - - - - - - - - - - 57 | # stop, cleanup container and image, build, run, login interactive shell 58 | # 59 | function dscbrl() { 60 | package=$1; 61 | tag=`echo "${package}" | tr '[:upper:]' '[:lower:]'` 62 | docker container stop ${tag} 63 | docker rm $(docker ps -aq) 64 | docker rmi ${tag} 65 | docker build -t ${tag} ${package} 66 | docker run --name ${tag} -d -p 8080:8080 ${tag} 67 | docker exec -ti ${tag} bash 68 | } 69 | -------------------------------------------------------------------------------- /retired/template/hyrax/cleanup_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This script is meant as a temporary patch to the problem of the 4 | # fileout_netcdf handler leaving behind orphaned temporary files 5 | # that clog the deployments disk. When we understand and repair 6 | # the issue with fileout_netcdf this script can be removed 7 | # from the distributions. 8 | # 9 | # 10 | verbose= 11 | default_dir="/tmp/hyrax_fonc" 12 | default_interval="60" # minutes 13 | default_log="/var/log/bes/nc_cleanup.log" 14 | 15 | if test -n "${verbose}"; then echo "##########################################################" >&2 ; fi 16 | if test -n "${verbose}"; then echo "# $0" >&2; echo "#" >&2; fi 17 | 18 | TARGET_DIR="${1:-$default_dir}" 19 | if test -n "${verbose}"; then echo "# TARGET_DIR: ${TARGET_DIR}" >&2; fi 20 | 21 | INTERVAL="${2:-$default_interval}" # minutes 22 | if test -n "${verbose}"; then echo "# INTERVAL: ${INTERVAL}m" >&2; fi 23 | 24 | CLEANUP_LOG="${3:-$default_log}" 25 | if test -n "${verbose}"; then echo "# CLEANUP_LOG: ${CLEANUP_LOG}" >&2; fi 26 | 27 | SLEEP_TIME=$(echo "${INTERVAL}*60/2" | bc) 28 | if test -n "${verbose}"; then echo "# SLEEP_TIME: ${SLEEP_TIME}s" >&2; fi 29 | if test -n "${verbose}"; then echo "#" >&2; fi 30 | 31 | 32 | while true 33 | do 34 | if test -d ${TARGET_DIR}; 35 | then 36 | orphaned_files=$(find ${TARGET_DIR} -type f -mmin +${INTERVAL}) 37 | if test -n "${verbose}"; then echo "orphaned_files: "${orphaned_files} >&2; fi 38 | 39 | if test -n "${orphaned_files}"; 40 | then 41 | echo "########################################################################################" >> "${CLEANUP_LOG}" 42 | echo "# "$(date)" BEGIN File Cleanup of ${TARGET_DIR} " >> "${CLEANUP_LOG}" 43 | for file in ${orphaned_files} 44 | do 45 | target=$(ls -l "${file}") 46 | rm -f "${file}" 47 | echo $(date)" removed: ${target}" 2>&1 >> "${CLEANUP_LOG}" 48 | done 49 | echo "#" >> "${CLEANUP_LOG}" 50 | fi 51 | fi 52 | sleep "${SLEEP_TIME}" 53 | 54 | done 55 | 56 | -------------------------------------------------------------------------------- /retired/template/ngap/cleanup_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This script is meant as a temporary patch to the problem of the 4 | # fileout_netcdf handler leaving behind orphaned temporary files 5 | # that clog the deployments disk. When we understand and repair 6 | # the issue with fileout_netcdf this script can be removed 7 | # from the distributions. 8 | # 9 | # 10 | verbose= 11 | default_dir="/tmp/hyrax_fonc" 12 | default_interval="60" # minutes 13 | default_log="/var/log/bes/nc_cleanup.log" 14 | 15 | if test -n "${verbose}"; then echo "##########################################################" >&2 ; fi 16 | if test -n "${verbose}"; then echo "# $0" >&2; echo "#" >&2; fi 17 | 18 | TARGET_DIR="${1:-$default_dir}" 19 | if test -n "${verbose}"; then echo "# TARGET_DIR: ${TARGET_DIR}" >&2; fi 20 | 21 | INTERVAL="${2:-$default_interval}" # minutes 22 | if test -n "${verbose}"; then echo "# INTERVAL: ${INTERVAL}m" >&2; fi 23 | 24 | CLEANUP_LOG="${3:-$default_log}" 25 | if test -n "${verbose}"; then echo "# CLEANUP_LOG: ${CLEANUP_LOG}" >&2; fi 26 | 27 | SLEEP_TIME=$(echo "${INTERVAL}*60/2" | bc) 28 | if test -n "${verbose}"; then echo "# SLEEP_TIME: ${SLEEP_TIME}s" >&2; fi 29 | if test -n "${verbose}"; then echo "#" >&2; fi 30 | 31 | 32 | while true 33 | do 34 | if test -d ${TARGET_DIR}; 35 | then 36 | orphaned_files=$(find ${TARGET_DIR} -type f -mmin +${INTERVAL}) 37 | if test -n "${verbose}"; then echo "orphaned_files: "${orphaned_files} >&2; fi 38 | 39 | if test -n "${orphaned_files}"; 40 | then 41 | echo "########################################################################################" >> "${CLEANUP_LOG}" 42 | echo "# "$(date)" BEGIN File Cleanup of ${TARGET_DIR} " >> "${CLEANUP_LOG}" 43 | for file in ${orphaned_files} 44 | do 45 | target=$(ls -l "${file}") 46 | rm -f "${file}" 47 | echo $(date)" removed: ${target}" 2>&1 >> "${CLEANUP_LOG}" 48 | done 49 | echo "#" >> "${CLEANUP_LOG}" 50 | fi 51 | fi 52 | sleep "${SLEEP_TIME}" 53 | 54 | done 55 | 56 | -------------------------------------------------------------------------------- /retired/hyrax-builds/ngap-c7/cleanup_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This script is meant as a temporary patch to the problem of the 4 | # fileout_netcdf handler leaving behind orphaned temporary files 5 | # that clog the deployments disk. When we understand and repair 6 | # the issue with fileout_netcdf this script can be removed 7 | # from the distributions. 8 | # 9 | # 10 | verbose= 11 | default_dir="/tmp/hyrax_fonc" 12 | default_interval="60" # minutes 13 | default_log="/var/log/bes/nc_cleanup.log" 14 | 15 | if test -n "${verbose}"; then echo "##########################################################" >&2 ; fi 16 | if test -n "${verbose}"; then echo "# $0" >&2; echo "#" >&2; fi 17 | 18 | TARGET_DIR="${1:-$default_dir}" 19 | if test -n "${verbose}"; then echo "# TARGET_DIR: ${TARGET_DIR}" >&2; fi 20 | 21 | INTERVAL="${2:-$default_interval}" # minutes 22 | if test -n "${verbose}"; then echo "# INTERVAL: ${INTERVAL}m" >&2; fi 23 | 24 | CLEANUP_LOG="${3:-$default_log}" 25 | if test -n "${verbose}"; then echo "# CLEANUP_LOG: ${CLEANUP_LOG}" >&2; fi 26 | 27 | SLEEP_TIME=$(echo "${INTERVAL}*60/2" | bc) 28 | if test -n "${verbose}"; then echo "# SLEEP_TIME: ${SLEEP_TIME}s" >&2; fi 29 | if test -n "${verbose}"; then echo "#" >&2; fi 30 | 31 | 32 | while true 33 | do 34 | if test -d ${TARGET_DIR}; 35 | then 36 | orphaned_files=$(find ${TARGET_DIR} -type f -mmin +${INTERVAL}) 37 | if test -n "${verbose}"; then echo "orphaned_files: "${orphaned_files} >&2; fi 38 | 39 | if test -n "${orphaned_files}"; 40 | then 41 | echo "########################################################################################" >> "${CLEANUP_LOG}" 42 | echo "# "$(date)" BEGIN File Cleanup of ${TARGET_DIR} " >> "${CLEANUP_LOG}" 43 | for file in ${orphaned_files} 44 | do 45 | target=$(ls -l "${file}") 46 | rm -f "${file}" 47 | echo $(date)" removed: ${target}" 2>&1 >> "${CLEANUP_LOG}" 48 | done 49 | echo "#" >> "${CLEANUP_LOG}" 50 | fi 51 | fi 52 | sleep "${SLEEP_TIME}" 53 | 54 | done 55 | 56 | -------------------------------------------------------------------------------- /retired/template/hyrax-rh8/cleanup_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This script is meant as a temporary patch to the problem of the 4 | # fileout_netcdf handler leaving behind orphaned temporary files 5 | # that clog the deployments disk. When we understand and repair 6 | # the issue with fileout_netcdf this script can be removed 7 | # from the distributions. 8 | # 9 | # 10 | verbose= 11 | default_dir="/tmp/hyrax_fonc" 12 | default_interval="60" # minutes 13 | default_log="/var/log/bes/nc_cleanup.log" 14 | 15 | if test -n "${verbose}"; then echo "##########################################################" >&2 ; fi 16 | if test -n "${verbose}"; then echo "# $0" >&2; echo "#" >&2; fi 17 | 18 | TARGET_DIR="${1:-$default_dir}" 19 | if test -n "${verbose}"; then echo "# TARGET_DIR: ${TARGET_DIR}" >&2; fi 20 | 21 | INTERVAL="${2:-$default_interval}" # minutes 22 | if test -n "${verbose}"; then echo "# INTERVAL: ${INTERVAL}m" >&2; fi 23 | 24 | CLEANUP_LOG="${3:-$default_log}" 25 | if test -n "${verbose}"; then echo "# CLEANUP_LOG: ${CLEANUP_LOG}" >&2; fi 26 | 27 | SLEEP_TIME=$(echo "${INTERVAL}*60/2" | bc) 28 | if test -n "${verbose}"; then echo "# SLEEP_TIME: ${SLEEP_TIME}s" >&2; fi 29 | if test -n "${verbose}"; then echo "#" >&2; fi 30 | 31 | 32 | while true 33 | do 34 | if test -d ${TARGET_DIR}; 35 | then 36 | orphaned_files=$(find ${TARGET_DIR} -type f -mmin +${INTERVAL}) 37 | if test -n "${verbose}"; then echo "orphaned_files: "${orphaned_files} >&2; fi 38 | 39 | if test -n "${orphaned_files}"; 40 | then 41 | echo "########################################################################################" >> "${CLEANUP_LOG}" 42 | echo "# "$(date)" BEGIN File Cleanup of ${TARGET_DIR} " >> "${CLEANUP_LOG}" 43 | for file in ${orphaned_files} 44 | do 45 | target=$(ls -l "${file}") 46 | rm -f "${file}" 47 | echo $(date)" removed: ${target}" 2>&1 >> "${CLEANUP_LOG}" 48 | done 49 | echo "#" >> "${CLEANUP_LOG}" 50 | fi 51 | fi 52 | sleep "${SLEEP_TIME}" 53 | 54 | done 55 | 56 | -------------------------------------------------------------------------------- /retired/hyrax-builds/hyrax-c7/cleanup_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This script is meant as a temporary patch to the problem of the 4 | # fileout_netcdf handler leaving behind orphaned temporary files 5 | # that clog the deployments disk. When we understand and repair 6 | # the issue with fileout_netcdf this script can be removed 7 | # from the distributions. 8 | # 9 | # 10 | verbose= 11 | default_dir="/tmp/hyrax_fonc" 12 | default_interval="60" # minutes 13 | default_log="/var/log/bes/nc_cleanup.log" 14 | 15 | if test -n "${verbose}"; then echo "##########################################################" >&2 ; fi 16 | if test -n "${verbose}"; then echo "# $0" >&2; echo "#" >&2; fi 17 | 18 | TARGET_DIR="${1:-$default_dir}" 19 | if test -n "${verbose}"; then echo "# TARGET_DIR: ${TARGET_DIR}" >&2; fi 20 | 21 | INTERVAL="${2:-$default_interval}" # minutes 22 | if test -n "${verbose}"; then echo "# INTERVAL: ${INTERVAL}m" >&2; fi 23 | 24 | CLEANUP_LOG="${3:-$default_log}" 25 | if test -n "${verbose}"; then echo "# CLEANUP_LOG: ${CLEANUP_LOG}" >&2; fi 26 | 27 | SLEEP_TIME=$(echo "${INTERVAL}*60/2" | bc) 28 | if test -n "${verbose}"; then echo "# SLEEP_TIME: ${SLEEP_TIME}s" >&2; fi 29 | if test -n "${verbose}"; then echo "#" >&2; fi 30 | 31 | 32 | while true 33 | do 34 | if test -d ${TARGET_DIR}; 35 | then 36 | orphaned_files=$(find ${TARGET_DIR} -type f -mmin +${INTERVAL}) 37 | if test -n "${verbose}"; then echo "orphaned_files: "${orphaned_files} >&2; fi 38 | 39 | if test -n "${orphaned_files}"; 40 | then 41 | echo "########################################################################################" >> "${CLEANUP_LOG}" 42 | echo "# "$(date)" BEGIN File Cleanup of ${TARGET_DIR} " >> "${CLEANUP_LOG}" 43 | for file in ${orphaned_files} 44 | do 45 | target=$(ls -l "${file}") 46 | rm -f "${file}" 47 | echo $(date)" removed: ${target}" 2>&1 >> "${CLEANUP_LOG}" 48 | done 49 | echo "#" >> "${CLEANUP_LOG}" 50 | fi 51 | fi 52 | sleep "${SLEEP_TIME}" 53 | 54 | done 55 | 56 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/hyrax/cleanup_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This script is meant as a temporary patch to the problem of the 4 | # fileout_netcdf handler leaving behind orphaned temporary files 5 | # that clog the deployments disk. When we understand and repair 6 | # the issue with fileout_netcdf this script can be removed 7 | # from the distributions. 8 | # 9 | # 10 | verbose= 11 | default_dir="/tmp/hyrax_fonc" 12 | default_interval="60" # minutes 13 | default_log="/var/log/bes/nc_cleanup.log" 14 | 15 | if test -n "${verbose}"; then echo "##########################################################" >&2 ; fi 16 | if test -n "${verbose}"; then echo "# $0" >&2; echo "#" >&2; fi 17 | 18 | TARGET_DIR="${1:-$default_dir}" 19 | if test -n "${verbose}"; then echo "# TARGET_DIR: ${TARGET_DIR}" >&2; fi 20 | 21 | INTERVAL="${2:-$default_interval}" # minutes 22 | if test -n "${verbose}"; then echo "# INTERVAL: ${INTERVAL}m" >&2; fi 23 | 24 | CLEANUP_LOG="${3:-$default_log}" 25 | if test -n "${verbose}"; then echo "# CLEANUP_LOG: ${CLEANUP_LOG}" >&2; fi 26 | 27 | SLEEP_TIME=$(echo "${INTERVAL}*60/2" | bc) 28 | if test -n "${verbose}"; then echo "# SLEEP_TIME: ${SLEEP_TIME}s" >&2; fi 29 | if test -n "${verbose}"; then echo "#" >&2; fi 30 | 31 | 32 | while true 33 | do 34 | if test -d ${TARGET_DIR}; 35 | then 36 | orphaned_files=$(find ${TARGET_DIR} -type f -mmin +${INTERVAL}) 37 | if test -n "${verbose}"; then echo "orphaned_files: "${orphaned_files} >&2; fi 38 | 39 | if test -n "${orphaned_files}"; 40 | then 41 | echo "########################################################################################" >> "${CLEANUP_LOG}" 42 | echo "# "$(date)" BEGIN File Cleanup of ${TARGET_DIR} " >> "${CLEANUP_LOG}" 43 | for file in ${orphaned_files} 44 | do 45 | target=$(ls -l "${file}") 46 | rm -f "${file}" 47 | echo $(date)" removed: ${target}" 2>&1 >> "${CLEANUP_LOG}" 48 | done 49 | echo "#" >> "${CLEANUP_LOG}" 50 | fi 51 | fi 52 | sleep "${SLEEP_TIME}" 53 | 54 | done 55 | 56 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/ngap/cleanup_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This script is meant as a temporary patch to the problem of the 4 | # fileout_netcdf handler leaving behind orphaned temporary files 5 | # that clog the deployments disk. When we understand and repair 6 | # the issue with fileout_netcdf this script can be removed 7 | # from the distributions. 8 | # 9 | # 10 | verbose= 11 | default_dir="/tmp/hyrax_fonc" 12 | default_interval="60" # minutes 13 | default_log="/var/log/bes/nc_cleanup.log" 14 | 15 | if test -n "${verbose}"; then echo "##########################################################" >&2 ; fi 16 | if test -n "${verbose}"; then echo "# $0" >&2; echo "#" >&2; fi 17 | 18 | TARGET_DIR="${1:-$default_dir}" 19 | if test -n "${verbose}"; then echo "# TARGET_DIR: ${TARGET_DIR}" >&2; fi 20 | 21 | INTERVAL="${2:-$default_interval}" # minutes 22 | if test -n "${verbose}"; then echo "# INTERVAL: ${INTERVAL}m" >&2; fi 23 | 24 | CLEANUP_LOG="${3:-$default_log}" 25 | if test -n "${verbose}"; then echo "# CLEANUP_LOG: ${CLEANUP_LOG}" >&2; fi 26 | 27 | SLEEP_TIME=$(echo "${INTERVAL}*60/2" | bc) 28 | if test -n "${verbose}"; then echo "# SLEEP_TIME: ${SLEEP_TIME}s" >&2; fi 29 | if test -n "${verbose}"; then echo "#" >&2; fi 30 | 31 | 32 | while true 33 | do 34 | if test -d ${TARGET_DIR}; 35 | then 36 | orphaned_files=$(find ${TARGET_DIR} -type f -mmin +${INTERVAL}) 37 | if test -n "${verbose}"; then echo "orphaned_files: "${orphaned_files} >&2; fi 38 | 39 | if test -n "${orphaned_files}"; 40 | then 41 | echo "########################################################################################" >> "${CLEANUP_LOG}" 42 | echo "# "$(date)" BEGIN File Cleanup of ${TARGET_DIR} " >> "${CLEANUP_LOG}" 43 | for file in ${orphaned_files} 44 | do 45 | target=$(ls -l "${file}") 46 | rm -f "${file}" 47 | echo $(date)" removed: ${target}" 2>&1 >> "${CLEANUP_LOG}" 48 | done 49 | echo "#" >> "${CLEANUP_LOG}" 50 | fi 51 | fi 52 | sleep "${SLEEP_TIME}" 53 | 54 | done 55 | 56 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/hyrax-rh8/cleanup_files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This script is meant as a temporary patch to the problem of the 4 | # fileout_netcdf handler leaving behind orphaned temporary files 5 | # that clog the deployments disk. When we understand and repair 6 | # the issue with fileout_netcdf this script can be removed 7 | # from the distributions. 8 | # 9 | # 10 | verbose= 11 | default_dir="/tmp/hyrax_fonc" 12 | default_interval="60" # minutes 13 | default_log="/var/log/bes/nc_cleanup.log" 14 | 15 | if test -n "${verbose}"; then echo "##########################################################" >&2 ; fi 16 | if test -n "${verbose}"; then echo "# $0" >&2; echo "#" >&2; fi 17 | 18 | TARGET_DIR="${1:-$default_dir}" 19 | if test -n "${verbose}"; then echo "# TARGET_DIR: ${TARGET_DIR}" >&2; fi 20 | 21 | INTERVAL="${2:-$default_interval}" # minutes 22 | if test -n "${verbose}"; then echo "# INTERVAL: ${INTERVAL}m" >&2; fi 23 | 24 | CLEANUP_LOG="${3:-$default_log}" 25 | if test -n "${verbose}"; then echo "# CLEANUP_LOG: ${CLEANUP_LOG}" >&2; fi 26 | 27 | SLEEP_TIME=$(echo "${INTERVAL}*60/2" | bc) 28 | if test -n "${verbose}"; then echo "# SLEEP_TIME: ${SLEEP_TIME}s" >&2; fi 29 | if test -n "${verbose}"; then echo "#" >&2; fi 30 | 31 | 32 | while true 33 | do 34 | if test -d ${TARGET_DIR}; 35 | then 36 | orphaned_files=$(find ${TARGET_DIR} -type f -mmin +${INTERVAL}) 37 | if test -n "${verbose}"; then echo "orphaned_files: "${orphaned_files} >&2; fi 38 | 39 | if test -n "${orphaned_files}"; 40 | then 41 | echo "########################################################################################" >> "${CLEANUP_LOG}" 42 | echo "# "$(date)" BEGIN File Cleanup of ${TARGET_DIR} " >> "${CLEANUP_LOG}" 43 | for file in ${orphaned_files} 44 | do 45 | target=$(ls -l "${file}") 46 | rm -f "${file}" 47 | echo $(date)" removed: ${target}" 2>&1 >> "${CLEANUP_LOG}" 48 | done 49 | echo "#" >> "${CLEANUP_LOG}" 50 | fi 51 | fi 52 | sleep "${SLEEP_TIME}" 53 | 54 | done 55 | 56 | -------------------------------------------------------------------------------- /retired/template/ncWMS/ncwms.policy: -------------------------------------------------------------------------------- 1 | 2 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3 | // ncWMS2 SECURITY POLICY 4 | // 5 | // CORS Filter 6 | // class: com.thetransactioncompany.cors.CORSFilter 7 | // jar file: cors-filter-1.8.jar 8 | // 9 | // Error encountered at launch: 10 | // 11 | // java.security.AccessControlException: access denied ("java.util.PropertyPermission" "cors.configurationFile" "read") 12 | // 13 | // Example from catalina.policy: 14 | // 15 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { ... }; 16 | // 17 | // The sledgehammer (don't do it dude...) 18 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { 19 | // permission java.security.AllPermission; 20 | // }; 21 | // 22 | grant codeBase "file:${catalina.base}/webapps/ncWMS2/-" { 23 | permission java.util.PropertyPermission "cors.configurationFile", "read"; 24 | permission java.util.PropertyPermission "user.home", "read"; 25 | permission java.io.FilePermission "${user.home}${/}.ncWMS2", "read"; 26 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}-", "read"; 27 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.palettes", "write"; 28 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.styles", "write"; 29 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs", "write"; 30 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs${/}-", "write"; 31 | 32 | permission java.lang.RuntimePermission "accessDeclaredMembers"; 33 | permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; 34 | permission java.lang.RuntimePermission "createClassLoader"; 35 | 36 | permission java.util.PropertyPermission "net.sf.ehcache.CacheManager.statisticsExecutor.poolSize", "read"; 37 | permission java.lang.RuntimePermission "modifyThread"; 38 | 39 | }; 40 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.3/ncWMS/ncwms.policy: -------------------------------------------------------------------------------- 1 | 2 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3 | // ncWMS2 SECURITY POLICY 4 | // 5 | // CORS Filter 6 | // class: com.thetransactioncompany.cors.CORSFilter 7 | // jar file: cors-filter-1.8.jar 8 | // 9 | // Error encountered at launch: 10 | // 11 | // java.security.AccessControlException: access denied ("java.util.PropertyPermission" "cors.configurationFile" "read") 12 | // 13 | // Example from catalina.policy: 14 | // 15 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { ... }; 16 | // 17 | // The sledgehammer (don't do it dude...) 18 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { 19 | // permission java.security.AllPermission; 20 | // }; 21 | // 22 | grant codeBase "file:${catalina.base}/webapps/ncWMS2/-" { 23 | permission java.util.PropertyPermission "cors.configurationFile", "read"; 24 | permission java.util.PropertyPermission "user.home", "read"; 25 | permission java.io.FilePermission "${user.home}${/}.ncWMS2", "read"; 26 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}-", "read"; 27 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.palettes", "write"; 28 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.styles", "write"; 29 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs", "write"; 30 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs${/}-", "write"; 31 | 32 | permission java.lang.RuntimePermission "accessDeclaredMembers"; 33 | permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; 34 | permission java.lang.RuntimePermission "createClassLoader"; 35 | 36 | permission java.util.PropertyPermission "net.sf.ehcache.CacheManager.statisticsExecutor.poolSize", "read"; 37 | permission java.lang.RuntimePermission "modifyThread"; 38 | 39 | }; 40 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.4/ncWMS/ncwms.policy: -------------------------------------------------------------------------------- 1 | 2 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3 | // ncWMS2 SECURITY POLICY 4 | // 5 | // CORS Filter 6 | // class: com.thetransactioncompany.cors.CORSFilter 7 | // jar file: cors-filter-1.8.jar 8 | // 9 | // Error encountered at launch: 10 | // 11 | // java.security.AccessControlException: access denied ("java.util.PropertyPermission" "cors.configurationFile" "read") 12 | // 13 | // Example from catalina.policy: 14 | // 15 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { ... }; 16 | // 17 | // The sledgehammer (don't do it dude...) 18 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { 19 | // permission java.security.AllPermission; 20 | // }; 21 | // 22 | grant codeBase "file:${catalina.base}/webapps/ncWMS2/-" { 23 | permission java.util.PropertyPermission "cors.configurationFile", "read"; 24 | permission java.util.PropertyPermission "user.home", "read"; 25 | permission java.io.FilePermission "${user.home}${/}.ncWMS2", "read"; 26 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}-", "read"; 27 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.palettes", "write"; 28 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.styles", "write"; 29 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs", "write"; 30 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs${/}-", "write"; 31 | 32 | permission java.lang.RuntimePermission "accessDeclaredMembers"; 33 | permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; 34 | permission java.lang.RuntimePermission "createClassLoader"; 35 | 36 | permission java.util.PropertyPermission "net.sf.ehcache.CacheManager.statisticsExecutor.poolSize", "read"; 37 | permission java.lang.RuntimePermission "modifyThread"; 38 | 39 | }; 40 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.0/ncWMS/ncwms.policy: -------------------------------------------------------------------------------- 1 | 2 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3 | // ncWMS2 SECURITY POLICY 4 | // 5 | // CORS Filter 6 | // class: com.thetransactioncompany.cors.CORSFilter 7 | // jar file: cors-filter-1.8.jar 8 | // 9 | // Error encountered at launch: 10 | // 11 | // java.security.AccessControlException: access denied ("java.util.PropertyPermission" "cors.configurationFile" "read") 12 | // 13 | // Example from catalina.policy: 14 | // 15 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { ... }; 16 | // 17 | // The sledgehammer (don't do it dude...) 18 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { 19 | // permission java.security.AllPermission; 20 | // }; 21 | // 22 | grant codeBase "file:${catalina.base}/webapps/ncWMS2/-" { 23 | permission java.util.PropertyPermission "cors.configurationFile", "read"; 24 | permission java.util.PropertyPermission "user.home", "read"; 25 | permission java.io.FilePermission "${user.home}${/}.ncWMS2", "read"; 26 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}-", "read"; 27 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.palettes", "write"; 28 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.styles", "write"; 29 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs", "write"; 30 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs${/}-", "write"; 31 | 32 | permission java.lang.RuntimePermission "accessDeclaredMembers"; 33 | permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; 34 | permission java.lang.RuntimePermission "createClassLoader"; 35 | 36 | permission java.util.PropertyPermission "net.sf.ehcache.CacheManager.statisticsExecutor.poolSize", "read"; 37 | permission java.lang.RuntimePermission "modifyThread"; 38 | 39 | }; 40 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.1/ncWMS/ncwms.policy: -------------------------------------------------------------------------------- 1 | 2 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3 | // ncWMS2 SECURITY POLICY 4 | // 5 | // CORS Filter 6 | // class: com.thetransactioncompany.cors.CORSFilter 7 | // jar file: cors-filter-1.8.jar 8 | // 9 | // Error encountered at launch: 10 | // 11 | // java.security.AccessControlException: access denied ("java.util.PropertyPermission" "cors.configurationFile" "read") 12 | // 13 | // Example from catalina.policy: 14 | // 15 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { ... }; 16 | // 17 | // The sledgehammer (don't do it dude...) 18 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { 19 | // permission java.security.AllPermission; 20 | // }; 21 | // 22 | grant codeBase "file:${catalina.base}/webapps/ncWMS2/-" { 23 | permission java.util.PropertyPermission "cors.configurationFile", "read"; 24 | permission java.util.PropertyPermission "user.home", "read"; 25 | permission java.io.FilePermission "${user.home}${/}.ncWMS2", "read"; 26 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}-", "read"; 27 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.palettes", "write"; 28 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.styles", "write"; 29 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs", "write"; 30 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs${/}-", "write"; 31 | 32 | permission java.lang.RuntimePermission "accessDeclaredMembers"; 33 | permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; 34 | permission java.lang.RuntimePermission "createClassLoader"; 35 | 36 | permission java.util.PropertyPermission "net.sf.ehcache.CacheManager.statisticsExecutor.poolSize", "read"; 37 | permission java.lang.RuntimePermission "modifyThread"; 38 | 39 | }; 40 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.2/ncWMS/ncwms.policy: -------------------------------------------------------------------------------- 1 | 2 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3 | // ncWMS2 SECURITY POLICY 4 | // 5 | // CORS Filter 6 | // class: com.thetransactioncompany.cors.CORSFilter 7 | // jar file: cors-filter-1.8.jar 8 | // 9 | // Error encountered at launch: 10 | // 11 | // java.security.AccessControlException: access denied ("java.util.PropertyPermission" "cors.configurationFile" "read") 12 | // 13 | // Example from catalina.policy: 14 | // 15 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { ... }; 16 | // 17 | // The sledgehammer (don't do it dude...) 18 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { 19 | // permission java.security.AllPermission; 20 | // }; 21 | // 22 | grant codeBase "file:${catalina.base}/webapps/ncWMS2/-" { 23 | permission java.util.PropertyPermission "cors.configurationFile", "read"; 24 | permission java.util.PropertyPermission "user.home", "read"; 25 | permission java.io.FilePermission "${user.home}${/}.ncWMS2", "read"; 26 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}-", "read"; 27 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.palettes", "write"; 28 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.styles", "write"; 29 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs", "write"; 30 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs${/}-", "write"; 31 | 32 | permission java.lang.RuntimePermission "accessDeclaredMembers"; 33 | permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; 34 | permission java.lang.RuntimePermission "createClassLoader"; 35 | 36 | permission java.util.PropertyPermission "net.sf.ehcache.CacheManager.statisticsExecutor.poolSize", "read"; 37 | permission java.lang.RuntimePermission "modifyThread"; 38 | 39 | }; 40 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.3/ncWMS/ncwms.policy: -------------------------------------------------------------------------------- 1 | 2 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3 | // ncWMS2 SECURITY POLICY 4 | // 5 | // CORS Filter 6 | // class: com.thetransactioncompany.cors.CORSFilter 7 | // jar file: cors-filter-1.8.jar 8 | // 9 | // Error encountered at launch: 10 | // 11 | // java.security.AccessControlException: access denied ("java.util.PropertyPermission" "cors.configurationFile" "read") 12 | // 13 | // Example from catalina.policy: 14 | // 15 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { ... }; 16 | // 17 | // The sledgehammer (don't do it dude...) 18 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { 19 | // permission java.security.AllPermission; 20 | // }; 21 | // 22 | grant codeBase "file:${catalina.base}/webapps/ncWMS2/-" { 23 | permission java.util.PropertyPermission "cors.configurationFile", "read"; 24 | permission java.util.PropertyPermission "user.home", "read"; 25 | permission java.io.FilePermission "${user.home}${/}.ncWMS2", "read"; 26 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}-", "read"; 27 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.palettes", "write"; 28 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.styles", "write"; 29 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs", "write"; 30 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs${/}-", "write"; 31 | 32 | permission java.lang.RuntimePermission "accessDeclaredMembers"; 33 | permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; 34 | permission java.lang.RuntimePermission "createClassLoader"; 35 | 36 | permission java.util.PropertyPermission "net.sf.ehcache.CacheManager.statisticsExecutor.poolSize", "read"; 37 | permission java.lang.RuntimePermission "modifyThread"; 38 | 39 | }; 40 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.5/ncWMS/ncwms.policy: -------------------------------------------------------------------------------- 1 | 2 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3 | // ncWMS2 SECURITY POLICY 4 | // 5 | // CORS Filter 6 | // class: com.thetransactioncompany.cors.CORSFilter 7 | // jar file: cors-filter-1.8.jar 8 | // 9 | // Error encountered at launch: 10 | // 11 | // java.security.AccessControlException: access denied ("java.util.PropertyPermission" "cors.configurationFile" "read") 12 | // 13 | // Example from catalina.policy: 14 | // 15 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { ... }; 16 | // 17 | // The sledgehammer (don't do it dude...) 18 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { 19 | // permission java.security.AllPermission; 20 | // }; 21 | // 22 | grant codeBase "file:${catalina.base}/webapps/ncWMS2/-" { 23 | permission java.util.PropertyPermission "cors.configurationFile", "read"; 24 | permission java.util.PropertyPermission "user.home", "read"; 25 | permission java.io.FilePermission "${user.home}${/}.ncWMS2", "read"; 26 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}-", "read"; 27 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.palettes", "write"; 28 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.styles", "write"; 29 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs", "write"; 30 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs${/}-", "write"; 31 | 32 | permission java.lang.RuntimePermission "accessDeclaredMembers"; 33 | permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; 34 | permission java.lang.RuntimePermission "createClassLoader"; 35 | 36 | permission java.util.PropertyPermission "net.sf.ehcache.CacheManager.statisticsExecutor.poolSize", "read"; 37 | permission java.lang.RuntimePermission "modifyThread"; 38 | 39 | }; 40 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.16.6/ncWMS/ncwms.policy: -------------------------------------------------------------------------------- 1 | 2 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 3 | // ncWMS2 SECURITY POLICY 4 | // 5 | // CORS Filter 6 | // class: com.thetransactioncompany.cors.CORSFilter 7 | // jar file: cors-filter-1.8.jar 8 | // 9 | // Error encountered at launch: 10 | // 11 | // java.security.AccessControlException: access denied ("java.util.PropertyPermission" "cors.configurationFile" "read") 12 | // 13 | // Example from catalina.policy: 14 | // 15 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { ... }; 16 | // 17 | // The sledgehammer (don't do it dude...) 18 | // grant codeBase "war:file:${catalina.base}/webapps/examples.war*/WEB-INF/lib/foo.jar" { 19 | // permission java.security.AllPermission; 20 | // }; 21 | // 22 | grant codeBase "file:${catalina.base}/webapps/ncWMS2/-" { 23 | permission java.util.PropertyPermission "cors.configurationFile", "read"; 24 | permission java.util.PropertyPermission "user.home", "read"; 25 | permission java.io.FilePermission "${user.home}${/}.ncWMS2", "read"; 26 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}-", "read"; 27 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.palettes", "write"; 28 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}.styles", "write"; 29 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs", "write"; 30 | permission java.io.FilePermission "${user.home}${/}.ncWMS2${/}logs${/}-", "write"; 31 | 32 | permission java.lang.RuntimePermission "accessDeclaredMembers"; 33 | permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; 34 | permission java.lang.RuntimePermission "createClassLoader"; 35 | 36 | permission java.util.PropertyPermission "net.sf.ehcache.CacheManager.statisticsExecutor.poolSize", "read"; 37 | permission java.lang.RuntimePermission "modifyThread"; 38 | 39 | }; 40 | // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /retired/hyrax-builds/ngap-c7/tomcat.conf: -------------------------------------------------------------------------------- 1 | # System-wide configuration file for tomcat services 2 | # This will be loaded by systemd as an environment file, 3 | # so please keep the syntax. For shell expansion support 4 | # place your custom files as /etc/tomcat/conf.d/*.conf 5 | # 6 | # There are 2 "classes" of startup behavior in this package. 7 | # The old one, the default service named tomcat.service. 8 | # The new named instances are called tomcat@instance.service. 9 | # 10 | # Use this file to change default values for all services. 11 | # Change the service specific ones to affect only one service. 12 | # For tomcat.service it's /etc/sysconfig/tomcat, for 13 | # tomcat@instance it's /etc/sysconfig/tomcat@instance. 14 | 15 | # This variable is used to figure out if config is loaded or not. 16 | TOMCAT_CFG_LOADED="1" 17 | 18 | # In new-style instances, if CATALINA_BASE isn't specified, it will 19 | # be constructed by joining TOMCATS_BASE and NAME. 20 | TOMCATS_BASE="/var/lib/tomcats/" 21 | 22 | # Where your java installation lives 23 | JAVA_HOME="/usr/lib/jvm/jre" 24 | 25 | # Where your tomcat installation lives 26 | CATALINA_HOME="/usr/share/tomcat" 27 | 28 | # System-wide tmp 29 | CATALINA_TMPDIR="/var/cache/tomcat/temp" 30 | 31 | # You can pass some parameters to java here if you wish to 32 | #JAVA_OPTS="-Xminf0.1 -Xmaxf0.3" 33 | 34 | # Use JAVA_OPTS to set java.library.path for libtcnative.so 35 | #JAVA_OPTS="-Djava.library.path=/usr/lib" 36 | 37 | # You can change your tomcat locale here 38 | #LANG="en_US" 39 | 40 | # Run tomcat under the Java Security Manager 41 | SECURITY_MANAGER="false" 42 | 43 | # SHUTDOWN_WAIT has been deprecated. To change the shutdown wait time, set 44 | # TimeoutStopSec in tomcat.service. 45 | 46 | # If you wish to further customize your tomcat environment, 47 | # put your own definitions here 48 | # (i.e. LD_LIBRARY_PATH for some jdbc drivers) 49 | 50 | ################################################################################ 51 | # NGAP Configuration 52 | # 53 | # Memory 54 | # 55 | JAVA_OPTS="-Xms512M -Xmx2048M" 56 | # 57 | # Allow URL encoded slash and backslash in URL paths 58 | # 59 | JAVA_OPTS="${JAVA_OPTS} -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true" 60 | JAVA_OPTS="${JAVA_OPTS} -Dorg.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true" 61 | # 62 | # -------------------------------------------------------------------------------- /retired/hyrax-snapshot/ngap/tomcat.conf: -------------------------------------------------------------------------------- 1 | # System-wide configuration file for tomcat services 2 | # This will be loaded by systemd as an environment file, 3 | # so please keep the syntax. For shell expansion support 4 | # place your custom files as /etc/tomcat/conf.d/*.conf 5 | # 6 | # There are 2 "classes" of startup behavior in this package. 7 | # The old one, the default service named tomcat.service. 8 | # The new named instances are called tomcat@instance.service. 9 | # 10 | # Use this file to change default values for all services. 11 | # Change the service specific ones to affect only one service. 12 | # For tomcat.service it's /etc/sysconfig/tomcat, for 13 | # tomcat@instance it's /etc/sysconfig/tomcat@instance. 14 | 15 | # This variable is used to figure out if config is loaded or not. 16 | TOMCAT_CFG_LOADED="1" 17 | 18 | # In new-style instances, if CATALINA_BASE isn't specified, it will 19 | # be constructed by joining TOMCATS_BASE and NAME. 20 | TOMCATS_BASE="/var/lib/tomcats/" 21 | 22 | # Where your java installation lives 23 | JAVA_HOME="/usr/lib/jvm/jre" 24 | 25 | # Where your tomcat installation lives 26 | CATALINA_HOME="/usr/share/tomcat" 27 | 28 | # System-wide tmp 29 | CATALINA_TMPDIR="/var/cache/tomcat/temp" 30 | 31 | # You can pass some parameters to java here if you wish to 32 | #JAVA_OPTS="-Xminf0.1 -Xmaxf0.3" 33 | 34 | # Use JAVA_OPTS to set java.library.path for libtcnative.so 35 | #JAVA_OPTS="-Djava.library.path=/usr/lib" 36 | 37 | # You can change your tomcat locale here 38 | #LANG="en_US" 39 | 40 | # Run tomcat under the Java Security Manager 41 | SECURITY_MANAGER="false" 42 | 43 | # SHUTDOWN_WAIT has been deprecated. To change the shutdown wait time, set 44 | # TimeoutStopSec in tomcat.service. 45 | 46 | # If you wish to further customize your tomcat environment, 47 | # put your own definitions here 48 | # (i.e. LD_LIBRARY_PATH for some jdbc drivers) 49 | 50 | ################################################################################ 51 | # NGAP Configuration 52 | # 53 | # Memory 54 | # 55 | JAVA_OPTS="-Xms512M -Xmx2048M" 56 | # 57 | # Allow URL encoded slash and backslash in URL paths 58 | # 59 | JAVA_OPTS="${JAVA_OPTS} -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true" 60 | JAVA_OPTS="${JAVA_OPTS} -Dorg.apache.catalina.connector.CoyoteAdapter.ALLOW_BACKSLASH=true" 61 | # 62 | # -------------------------------------------------------------------------------- /utils/build-bes-for-ubuntu.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # From bes/.travis.yml 4 | # 5 | # - autoreconf --force --install --verbose 6 | # - ./configure --disable-dependency-tracking --prefix=$prefix --with-dependencies=$prefix/deps --enable-developer 7 | # - export LD_LIBRARY_PATH="/home/travis/install/deps/lib:$LD_LIBRARY_PATH" 8 | # - echo "LD_LIBRARY_PATH - $LD_LIBRARY_PATH" >&2 9 | # - make -j16 && make install && besctl start && make check -j16 && besctl stop 10 | # - 11 | # 12 | # 13 | # 14 | # 15 | echo "LD_LIBRARY_PATH - $LD_LIBRARY_PATH" >&2 16 | 17 | HR="#######################################################################" 18 | ########################################################################### 19 | # loggy() 20 | function loggy() { 21 | echo "$@" | awk '{ print "# "$0;}' >&2 22 | } 23 | loggy "$HR" 24 | loggy "$0 - BEGIN" 25 | loggy "" 26 | loggy " prefix: $prefix" 27 | loggy " PWD: $PWD" 28 | export LD_LIBRARY_PATH="$prefix/deps/lib:$LD_LIBRARY_PATH" 29 | loggy "LD_LIBRARY_PATH:$LD_LIBRARY_PATH" 30 | 31 | export PKG_CONFIG_PATH="$prefix/deps/lib/pkgconfig"; 32 | loggy "PKG_CONFIG_PATH:$PKG_CONFIG_PATH" 33 | 34 | export PATH="$prefix/bin:$prefix/deps/bin:$PATH"; 35 | loggy "PATH:$PATH" 36 | 37 | export CPPFLAGS="${CPPFLAGS:-""} -I$prefix/include "; 38 | loggy "CPPFLAGS:$CPPFLAGS" 39 | 40 | proj_prefix="$prefix/deps/proj/" 41 | export LDFLAGS="${LDFLAGS:-""} -L$prefix/lib -lpthread -lm "; 42 | export proj_libdir="$proj_prefix/lib64" ; 43 | export deps_libdir="$prefix/deps/lib64"; 44 | if ! test -d "$proj_libdir" 45 | then 46 | proj_libdir="$proj_prefix/lib" 47 | fi 48 | LDFLAGS="${LDFLAGS:-""} -L$proj_libdir " 49 | 50 | if ! test -d "$deps_libdir" 51 | then 52 | export deps_libdir="$prefix/deps/lib" 53 | fi 54 | LDFLAGS="${LDFLAGS:-""} -L$deps_libdir " 55 | loggy "LDFLAGS: $LDFLAGS" 56 | 57 | ln -s /root/bes /root/travis 58 | 59 | repo_dir="/root/bes" 60 | loggy " repo_dir: $repo_dir" 61 | loggy "Changing to repo_dir: $repo_dir" 62 | cd "$repo_dir" || exit $? 63 | loggy "" 64 | 65 | autoreconf --force --install --verbose 66 | ./configure \ 67 | --disable-dependency-tracking \ 68 | --prefix=$prefix \ 69 | --with-dependencies=$prefix/deps \ 70 | --without-gdal #\ 71 | # --enable-developer 72 | 73 | make -j16 \ 74 | && make install \ 75 | && echo "BES.User=daemon" > "$prefix/etc/bes/site.conf" \ 76 | && echo "BES.Group=staff" >> "$prefix/etc/bes/site.conf" \ 77 | && besctl start \ 78 | && make check -j16 \ 79 | && besctl stop 80 | 81 | loggy "$0 - END" 82 | loggy "$HR" 83 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.13.5/ncWMS/Dockerfile: -------------------------------------------------------------------------------- 1 | ### 2 | # Dockerfile for ncWMS-2.2.2 3 | ### 4 | 5 | 6 | #FROM unidata/tomcat-docker:8 7 | FROM tomcat:8-jre8 8 | MAINTAINER support@opendap.org 9 | 10 | USER root 11 | 12 | ARG DEVELOPER_MODE 13 | ENV DEVELOPER_MODE ${DEVELOPER_MODE:-"false"} 14 | RUN set -e && \ 15 | if [ $DEVELOPER_MODE = "true" ];then echo "DEVELOPER_MODE: ENABLED"; else echo "DEVELOPER_MODE: DISABLED"; fi 16 | 17 | 18 | # underlying debian container instructions recommend not updating 19 | #RUN \ 20 | # apt-get install -y unzip && \ 21 | # apt-get clean && \ 22 | # rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 23 | 24 | ### 25 | # Grab and unzip ncWMS 26 | ### 27 | ENV NCWMS_WAR_URL=http://search.maven.org/remotecontent?filepath=uk/ac/rdg/resc/ncWMS/2.2.2/ncWMS-2.2.2.war 28 | # or get from https://github.com/Reading-eScience-Centre/edal-java/releases 29 | 30 | ############################################################### 31 | # retrieve and install the ncWMS web application 32 | # 33 | RUN curl -sfSL ${NCWMS_WAR_URL} -o /dev/shm/ncWMS.war && \ 34 | unzip -o /dev/shm/ncWMS.war -d ${CATALINA_HOME}/webapps/ncWMS2/ && \ 35 | rm -rf /dev/shm/* 36 | # 37 | # set an ncWMS admin even though it is not needed given a custom config.xml will be used 38 | RUN if [ ${DEVELOPER_MODE} = "true" ]; then \ 39 | echo "DEVELOPER MODE: Adding ncWMS admin credentials"; \ 40 | sed -i 'sXX X' ${CATALINA_HOME}/conf/tomcat-users.xml; \ 41 | else \ 42 | echo "No ncWMS admin credentials installed."; \ 43 | fi 44 | 45 | 46 | # 47 | 48 | # 49 | # make ncWMS work without further configuration 50 | # @TODO We will need to adjust this target if we 51 | # decide to run as a different (not root) user. 52 | COPY ncWMS_config.xml /root/.ncWMS2/config.xml 53 | RUN chmod +r /root/.ncWMS2/config.xml 54 | # 55 | #COPY cors.properties ${CATALINA_HOME}/webapps/ncWMS/WEB-INF/classes 56 | #RUN chmod +r ${CATALINA_HOME}/webapps/ncWMS/WEB-INF/classes 57 | 58 | 59 | ### 60 | # Expose ports 61 | ### 62 | 63 | EXPOSE 8080 64 | EXPOSE 8443 65 | 66 | # Fix ownership and access permissions 67 | # RUN chown -R tomcat:tomcat ${CATALINA_HOME}/.ncWMS2 /etc/.java && \ 68 | # chmod 700 ${CATALINA_HOME}/.ncWMS2 /etc/.java 69 | 70 | 71 | COPY entrypoint.sh / 72 | RUN chmod +x /entrypoint.sh 73 | ENTRYPOINT ["/entrypoint.sh"] 74 | 75 | # leave setting ser to gosu 76 | #USER tomcat 77 | 78 | CMD ["-"] 79 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.14.0/ncWMS/Dockerfile: -------------------------------------------------------------------------------- 1 | ### 2 | # Dockerfile for ncWMS-2.2.2 3 | ### 4 | 5 | 6 | #FROM unidata/tomcat-docker:8 7 | FROM tomcat:8-jre8 8 | MAINTAINER support@opendap.org 9 | 10 | USER root 11 | 12 | ARG DEVELOPER_MODE 13 | ENV DEVELOPER_MODE ${DEVELOPER_MODE:-"false"} 14 | RUN set -e && \ 15 | if [ $DEVELOPER_MODE = "true" ];then echo "DEVELOPER_MODE: ENABLED"; else echo "DEVELOPER_MODE: DISABLED"; fi 16 | 17 | 18 | # underlying debian container instructions recommend not updating 19 | #RUN \ 20 | # apt-get install -y unzip && \ 21 | # apt-get clean && \ 22 | # rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 23 | 24 | ### 25 | # Grab and unzip ncWMS 26 | ### 27 | ENV NCWMS_WAR_URL=http://search.maven.org/remotecontent?filepath=uk/ac/rdg/resc/ncWMS/2.2.2/ncWMS-2.2.2.war 28 | # or get from https://github.com/Reading-eScience-Centre/edal-java/releases 29 | 30 | ############################################################### 31 | # retrieve and install the ncWMS web application 32 | # 33 | RUN curl -sfSL ${NCWMS_WAR_URL} -o /dev/shm/ncWMS.war && \ 34 | unzip -o /dev/shm/ncWMS.war -d ${CATALINA_HOME}/webapps/ncWMS2/ && \ 35 | rm -rf /dev/shm/* 36 | # 37 | # set an ncWMS admin even though it is not needed given a custom config.xml will be used 38 | RUN if [ ${DEVELOPER_MODE} = "true" ]; then \ 39 | echo "DEVELOPER MODE: Adding ncWMS admin credentials"; \ 40 | sed -i 'sXX X' ${CATALINA_HOME}/conf/tomcat-users.xml; \ 41 | else \ 42 | echo "No ncWMS admin credentials installed."; \ 43 | fi 44 | 45 | 46 | # 47 | 48 | # 49 | # make ncWMS work without further configuration 50 | # @TODO We will need to adjust this target if we 51 | # decide to run as a different (not root) user. 52 | COPY ncWMS_config.xml /root/.ncWMS2/config.xml 53 | RUN chmod +r /root/.ncWMS2/config.xml 54 | # 55 | #COPY cors.properties ${CATALINA_HOME}/webapps/ncWMS/WEB-INF/classes 56 | #RUN chmod +r ${CATALINA_HOME}/webapps/ncWMS/WEB-INF/classes 57 | 58 | 59 | ### 60 | # Expose ports 61 | ### 62 | 63 | EXPOSE 8080 64 | EXPOSE 8443 65 | 66 | # Fix ownership and access permissions 67 | # RUN chown -R tomcat:tomcat ${CATALINA_HOME}/.ncWMS2 /etc/.java && \ 68 | # chmod 700 ${CATALINA_HOME}/.ncWMS2 /etc/.java 69 | 70 | 71 | COPY entrypoint.sh / 72 | RUN chmod +x /entrypoint.sh 73 | ENTRYPOINT ["/entrypoint.sh"] 74 | 75 | # leave setting ser to gosu 76 | #USER tomcat 77 | 78 | CMD ["-"] 79 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.1/ncWMS/Dockerfile: -------------------------------------------------------------------------------- 1 | ### 2 | # Dockerfile for ncWMS-2.2.2 3 | ### 4 | 5 | 6 | #FROM unidata/tomcat-docker:8 7 | FROM tomcat:8-jre8 8 | MAINTAINER support@opendap.org 9 | 10 | USER root 11 | 12 | ARG DEVELOPER_MODE 13 | ENV DEVELOPER_MODE ${DEVELOPER_MODE:-"false"} 14 | RUN set -e && \ 15 | if [ $DEVELOPER_MODE = "true" ];then echo "DEVELOPER_MODE: ENABLED"; else echo "DEVELOPER_MODE: DISABLED"; fi 16 | 17 | 18 | # underlying debian container instructions recommend not updating 19 | #RUN \ 20 | # apt-get install -y unzip && \ 21 | # apt-get clean && \ 22 | # rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 23 | 24 | ### 25 | # Grab and unzip ncWMS 26 | ### 27 | ENV NCWMS_WAR_URL=http://search.maven.org/remotecontent?filepath=uk/ac/rdg/resc/ncWMS/2.2.2/ncWMS-2.2.2.war 28 | # or get from https://github.com/Reading-eScience-Centre/edal-java/releases 29 | 30 | ############################################################### 31 | # retrieve and install the ncWMS web application 32 | # 33 | RUN curl -sfSL ${NCWMS_WAR_URL} -o /dev/shm/ncWMS.war && \ 34 | unzip -o /dev/shm/ncWMS.war -d ${CATALINA_HOME}/webapps/ncWMS2/ && \ 35 | rm -rf /dev/shm/* 36 | # 37 | # set an ncWMS admin even though it is not needed given a custom config.xml will be used 38 | RUN if [ ${DEVELOPER_MODE} = "true" ]; then \ 39 | echo "DEVELOPER MODE: Adding ncWMS admin credentials"; \ 40 | sed -i 'sXX X' ${CATALINA_HOME}/conf/tomcat-users.xml; \ 41 | else \ 42 | echo "No ncWMS admin credentials installed."; \ 43 | fi 44 | 45 | 46 | # 47 | 48 | # 49 | # make ncWMS work without further configuration 50 | # @TODO We will need to adjust this target if we 51 | # decide to run as a different (not root) user. 52 | COPY ncWMS_config.xml /root/.ncWMS2/config.xml 53 | RUN chmod +r /root/.ncWMS2/config.xml 54 | # 55 | #COPY cors.properties ${CATALINA_HOME}/webapps/ncWMS/WEB-INF/classes 56 | #RUN chmod +r ${CATALINA_HOME}/webapps/ncWMS/WEB-INF/classes 57 | 58 | 59 | ### 60 | # Expose ports 61 | ### 62 | 63 | EXPOSE 8080 64 | EXPOSE 8443 65 | 66 | # Fix ownership and access permissions 67 | # RUN chown -R tomcat:tomcat ${CATALINA_HOME}/.ncWMS2 /etc/.java && \ 68 | # chmod 700 ${CATALINA_HOME}/.ncWMS2 /etc/.java 69 | 70 | 71 | COPY entrypoint.sh / 72 | RUN chmod +x /entrypoint.sh 73 | ENTRYPOINT ["/entrypoint.sh"] 74 | 75 | # leave setting ser to gosu 76 | #USER tomcat 77 | 78 | CMD ["-"] 79 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.2/ncWMS/Dockerfile: -------------------------------------------------------------------------------- 1 | ### 2 | # Dockerfile for ncWMS-2.2.2 3 | ### 4 | 5 | 6 | #FROM unidata/tomcat-docker:8 7 | FROM tomcat:8-jre8 8 | MAINTAINER support@opendap.org 9 | 10 | USER root 11 | 12 | ARG DEVELOPER_MODE 13 | ENV DEVELOPER_MODE ${DEVELOPER_MODE:-"false"} 14 | RUN set -e && \ 15 | if [ $DEVELOPER_MODE = "true" ];then echo "DEVELOPER_MODE: ENABLED"; else echo "DEVELOPER_MODE: DISABLED"; fi 16 | 17 | 18 | # underlying debian container instructions recommend not updating 19 | #RUN \ 20 | # apt-get install -y unzip && \ 21 | # apt-get clean && \ 22 | # rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 23 | 24 | ### 25 | # Grab and unzip ncWMS 26 | ### 27 | ENV NCWMS_WAR_URL=http://search.maven.org/remotecontent?filepath=uk/ac/rdg/resc/ncWMS/2.2.2/ncWMS-2.2.2.war 28 | # or get from https://github.com/Reading-eScience-Centre/edal-java/releases 29 | 30 | ############################################################### 31 | # retrieve and install the ncWMS web application 32 | # 33 | RUN curl -sfSL ${NCWMS_WAR_URL} -o /dev/shm/ncWMS.war && \ 34 | unzip -o /dev/shm/ncWMS.war -d ${CATALINA_HOME}/webapps/ncWMS2/ && \ 35 | rm -rf /dev/shm/* 36 | # 37 | # set an ncWMS admin even though it is not needed given a custom config.xml will be used 38 | RUN if [ ${DEVELOPER_MODE} = "true" ]; then \ 39 | echo "DEVELOPER MODE: Adding ncWMS admin credentials"; \ 40 | sed -i 'sXX X' ${CATALINA_HOME}/conf/tomcat-users.xml; \ 41 | else \ 42 | echo "No ncWMS admin credentials installed."; \ 43 | fi 44 | 45 | 46 | # 47 | 48 | # 49 | # make ncWMS work without further configuration 50 | # @TODO We will need to adjust this target if we 51 | # decide to run as a different (not root) user. 52 | COPY ncWMS_config.xml /root/.ncWMS2/config.xml 53 | RUN chmod +r /root/.ncWMS2/config.xml 54 | # 55 | #COPY cors.properties ${CATALINA_HOME}/webapps/ncWMS/WEB-INF/classes 56 | #RUN chmod +r ${CATALINA_HOME}/webapps/ncWMS/WEB-INF/classes 57 | 58 | 59 | ### 60 | # Expose ports 61 | ### 62 | 63 | EXPOSE 8080 64 | EXPOSE 8443 65 | 66 | # Fix ownership and access permissions 67 | # RUN chown -R tomcat:tomcat ${CATALINA_HOME}/.ncWMS2 /etc/.java && \ 68 | # chmod 700 ${CATALINA_HOME}/.ncWMS2 /etc/.java 69 | 70 | 71 | COPY entrypoint.sh / 72 | RUN chmod +x /entrypoint.sh 73 | ENTRYPOINT ["/entrypoint.sh"] 74 | 75 | # leave setting ser to gosu 76 | #USER tomcat 77 | 78 | CMD ["-"] 79 | -------------------------------------------------------------------------------- /retired/template/ncWMS/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # This is the entrypoint.sh file for the ncWMS container. 3 | # 4 | # 5 | # set -f # "set -o noglob" Disable file name generation using metacharacters (globbing). 6 | # set -v # "set -o verbose" Prints shell input lines as they are read. 7 | # set -x # "set -o xtrace" Print command traces before executing command. 8 | # set -e # Exit on error. 9 | 10 | #echo "entrypoint.sh command line: \"$@\"" 11 | echo "############################## ncWMS ##################################"; >&2 12 | echo "Greetings, I am "`whoami`"."; >&2 13 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 14 | set -e 15 | #set -x 16 | 17 | debug=false; 18 | 19 | while getopts "d" opt; do 20 | case $opt in 21 | d) 22 | debug=true; 23 | echo "Debug is enabled" >&2; 24 | ;; 25 | \?) 26 | echo "Invalid option: -$OPTARG" >&2 27 | echo "options: [-d] " >&2 28 | echo " -d Enables debugging output for this script." >&2 29 | echo "EXITING NOW" >&2 30 | exit 2; 31 | ;; 32 | esac 33 | done 34 | if [ $debug = true ];then 35 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 36 | ls -l "$CATALINA_HOME" "$CATALINA_HOME/bin" >&2 37 | fi 38 | 39 | 40 | trap "echo TRAPed signal" HUP INT QUIT KILL TERM 41 | 42 | # startup.sh -security 43 | startup.sh -security # Without --security makes ncWMS work because the CORS filter get's tangled up with the security manager. 44 | 45 | tomcat_info=`ps -f | grep ${tomcat_key} - `; 46 | status=$? 47 | echo "tomcat_info: $tomcat_info status: $status" >&2 48 | 49 | if [ $status != "0" ];then 50 | echo "Unable to detect Tomcat process. status: ${status} EXITING!"; >&2 51 | exit 2; 52 | fi 53 | 54 | tomcat_pid=`echo $tomcat_info | awk '{print $2}' -` 55 | 56 | echo "Tomcat Has Arrived. (pid: $tomcat_pid)" >&2 57 | 58 | # tail -f /usr/local/tomcat/logs/catalina.out 59 | # never exit 60 | while true; do 61 | sleep 60; 62 | tomcat_ps=`ps -f $tomcat_pid`; 63 | TOMCAT_STATUS=$? 64 | if [ $TOMCAT_STATUS -ne 0 ]; then 65 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" >&2 66 | echo "Tomcat appears to have died! Exiting." >&2 67 | echo "Tomcat Console Log [BEGIN]" >&2 68 | cat /usr/local/tomcat/logs/catalina.out >&2 69 | echo "Tomcat Console Log [END]" >&2 70 | exit -2; 71 | fi 72 | if [ $debug = true ];then 73 | echo "-------------------------------------------------------------------" 74 | date 75 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" 76 | fi 77 | done 78 | 79 | 80 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.13.5/ncWMS/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # This is the entrypoint.sh file for the ncWMS container. 3 | # 4 | # 5 | # set -f # "set -o noglob" Disable file name generation using metacharacters (globbing). 6 | # set -v # "set -o verbose" Prints shell input lines as they are read. 7 | # set -x # "set -o xtrace" Print command traces before executing command. 8 | # set -e # Exit on error. 9 | 10 | #echo "entrypoint.sh command line: \"$@\"" 11 | echo "############################## ncWMS ##################################"; >&2 12 | echo "Greetings, I am "`whoami`"."; >&2 13 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 14 | set -e 15 | #set -x 16 | 17 | debug=false; 18 | 19 | while getopts "d" opt; do 20 | case $opt in 21 | d) 22 | debug=true; 23 | echo "Debug is enabled" >&2; 24 | ;; 25 | \?) 26 | echo "Invalid option: -$OPTARG" >&2 27 | echo "options: [-d] " >&2 28 | echo " -d Enables debugging output for this script." >&2 29 | echo "EXITING NOW" >&2 30 | exit 2; 31 | ;; 32 | esac 33 | done 34 | if [ $debug = true ];then 35 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 36 | ls -l "$CATALINA_HOME" "$CATALINA_HOME/bin" >&2 37 | fi 38 | 39 | 40 | trap "echo TRAPed signal" HUP INT QUIT KILL TERM 41 | 42 | # startup.sh -security 43 | startup.sh -security # Without --security makes ncWMS work because the CORS filter get's tangled up with the security manager. 44 | 45 | tomcat_info=`ps -f | grep ${tomcat_key} - `; 46 | status=$? 47 | echo "tomcat_info: $tomcat_info status: $status" >&2 48 | 49 | if [ $status != "0" ];then 50 | echo "Unable to detect Tomcat process. status: ${status} EXITING!"; >&2 51 | exit 2; 52 | fi 53 | 54 | tomcat_pid=`echo $tomcat_info | awk '{print $2}' -` 55 | 56 | echo "Tomcat Has Arrived. (pid: $tomcat_pid)" >&2 57 | 58 | # tail -f /usr/local/tomcat/logs/catalina.out 59 | # never exit 60 | while true; do 61 | sleep 60; 62 | tomcat_ps=`ps -f $tomcat_pid`; 63 | TOMCAT_STATUS=$? 64 | if [ $TOMCAT_STATUS -ne 0 ]; then 65 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" >&2 66 | echo "Tomcat appears to have died! Exiting." >&2 67 | echo "Tomcat Console Log [BEGIN]" >&2 68 | cat /usr/local/tomcat/logs/catalina.out >&2 69 | echo "Tomcat Console Log [END]" >&2 70 | exit -2; 71 | fi 72 | if [ $debug = true ];then 73 | echo "-------------------------------------------------------------------" 74 | date 75 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" 76 | fi 77 | done 78 | 79 | 80 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.14.0/ncWMS/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # This is the entrypoint.sh file for the ncWMS container. 3 | # 4 | # 5 | # set -f # "set -o noglob" Disable file name generation using metacharacters (globbing). 6 | # set -v # "set -o verbose" Prints shell input lines as they are read. 7 | # set -x # "set -o xtrace" Print command traces before executing command. 8 | # set -e # Exit on error. 9 | 10 | #echo "entrypoint.sh command line: \"$@\"" 11 | echo "############################## ncWMS ##################################"; >&2 12 | echo "Greetings, I am "`whoami`"."; >&2 13 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 14 | set -e 15 | #set -x 16 | 17 | debug=false; 18 | 19 | while getopts "d" opt; do 20 | case $opt in 21 | d) 22 | debug=true; 23 | echo "Debug is enabled" >&2; 24 | ;; 25 | \?) 26 | echo "Invalid option: -$OPTARG" >&2 27 | echo "options: [-d] " >&2 28 | echo " -d Enables debugging output for this script." >&2 29 | echo "EXITING NOW" >&2 30 | exit 2; 31 | ;; 32 | esac 33 | done 34 | if [ $debug = true ];then 35 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 36 | ls -l "$CATALINA_HOME" "$CATALINA_HOME/bin" >&2 37 | fi 38 | 39 | 40 | trap "echo TRAPed signal" HUP INT QUIT KILL TERM 41 | 42 | # startup.sh -security 43 | startup.sh -security # Without --security makes ncWMS work because the CORS filter get's tangled up with the security manager. 44 | 45 | tomcat_info=`ps -f | grep ${tomcat_key} - `; 46 | status=$? 47 | echo "tomcat_info: $tomcat_info status: $status" >&2 48 | 49 | if [ $status != "0" ];then 50 | echo "Unable to detect Tomcat process. status: ${status} EXITING!"; >&2 51 | exit 2; 52 | fi 53 | 54 | tomcat_pid=`echo $tomcat_info | awk '{print $2}' -` 55 | 56 | echo "Tomcat Has Arrived. (pid: $tomcat_pid)" >&2 57 | 58 | # tail -f /usr/local/tomcat/logs/catalina.out 59 | # never exit 60 | while true; do 61 | sleep 60; 62 | tomcat_ps=`ps -f $tomcat_pid`; 63 | TOMCAT_STATUS=$? 64 | if [ $TOMCAT_STATUS -ne 0 ]; then 65 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" >&2 66 | echo "Tomcat appears to have died! Exiting." >&2 67 | echo "Tomcat Console Log [BEGIN]" >&2 68 | cat /usr/local/tomcat/logs/catalina.out >&2 69 | echo "Tomcat Console Log [END]" >&2 70 | exit -2; 71 | fi 72 | if [ $debug = true ];then 73 | echo "-------------------------------------------------------------------" 74 | date 75 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" 76 | fi 77 | done 78 | 79 | 80 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.1/ncWMS/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # This is the entrypoint.sh file for the ncWMS container. 3 | # 4 | # 5 | # set -f # "set -o noglob" Disable file name generation using metacharacters (globbing). 6 | # set -v # "set -o verbose" Prints shell input lines as they are read. 7 | # set -x # "set -o xtrace" Print command traces before executing command. 8 | # set -e # Exit on error. 9 | 10 | #echo "entrypoint.sh command line: \"$@\"" 11 | echo "############################## ncWMS ##################################"; >&2 12 | echo "Greetings, I am "`whoami`"."; >&2 13 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 14 | set -e 15 | #set -x 16 | 17 | debug=false; 18 | 19 | while getopts "d" opt; do 20 | case $opt in 21 | d) 22 | debug=true; 23 | echo "Debug is enabled" >&2; 24 | ;; 25 | \?) 26 | echo "Invalid option: -$OPTARG" >&2 27 | echo "options: [-d] " >&2 28 | echo " -d Enables debugging output for this script." >&2 29 | echo "EXITING NOW" >&2 30 | exit 2; 31 | ;; 32 | esac 33 | done 34 | if [ $debug = true ];then 35 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 36 | ls -l "$CATALINA_HOME" "$CATALINA_HOME/bin" >&2 37 | fi 38 | 39 | 40 | trap "echo TRAPed signal" HUP INT QUIT KILL TERM 41 | 42 | # startup.sh -security 43 | startup.sh -security # Without --security makes ncWMS work because the CORS filter get's tangled up with the security manager. 44 | 45 | tomcat_info=`ps -f | grep ${tomcat_key} - `; 46 | status=$? 47 | echo "tomcat_info: $tomcat_info status: $status" >&2 48 | 49 | if [ $status != "0" ];then 50 | echo "Unable to detect Tomcat process. status: ${status} EXITING!"; >&2 51 | exit 2; 52 | fi 53 | 54 | tomcat_pid=`echo $tomcat_info | awk '{print $2}' -` 55 | 56 | echo "Tomcat Has Arrived. (pid: $tomcat_pid)" >&2 57 | 58 | # tail -f /usr/local/tomcat/logs/catalina.out 59 | # never exit 60 | while true; do 61 | sleep 60; 62 | tomcat_ps=`ps -f $tomcat_pid`; 63 | TOMCAT_STATUS=$? 64 | if [ $TOMCAT_STATUS -ne 0 ]; then 65 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" >&2 66 | echo "Tomcat appears to have died! Exiting." >&2 67 | echo "Tomcat Console Log [BEGIN]" >&2 68 | cat /usr/local/tomcat/logs/catalina.out >&2 69 | echo "Tomcat Console Log [END]" >&2 70 | exit -2; 71 | fi 72 | if [ $debug = true ];then 73 | echo "-------------------------------------------------------------------" 74 | date 75 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" 76 | fi 77 | done 78 | 79 | 80 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.2/ncWMS/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # This is the entrypoint.sh file for the ncWMS container. 3 | # 4 | # 5 | # set -f # "set -o noglob" Disable file name generation using metacharacters (globbing). 6 | # set -v # "set -o verbose" Prints shell input lines as they are read. 7 | # set -x # "set -o xtrace" Print command traces before executing command. 8 | # set -e # Exit on error. 9 | 10 | #echo "entrypoint.sh command line: \"$@\"" 11 | echo "############################## ncWMS ##################################"; >&2 12 | echo "Greetings, I am "`whoami`"."; >&2 13 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 14 | set -e 15 | #set -x 16 | 17 | debug=false; 18 | 19 | while getopts "d" opt; do 20 | case $opt in 21 | d) 22 | debug=true; 23 | echo "Debug is enabled" >&2; 24 | ;; 25 | \?) 26 | echo "Invalid option: -$OPTARG" >&2 27 | echo "options: [-d] " >&2 28 | echo " -d Enables debugging output for this script." >&2 29 | echo "EXITING NOW" >&2 30 | exit 2; 31 | ;; 32 | esac 33 | done 34 | if [ $debug = true ];then 35 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 36 | ls -l "$CATALINA_HOME" "$CATALINA_HOME/bin" >&2 37 | fi 38 | 39 | 40 | trap "echo TRAPed signal" HUP INT QUIT KILL TERM 41 | 42 | # startup.sh -security 43 | startup.sh -security # Without --security makes ncWMS work because the CORS filter get's tangled up with the security manager. 44 | 45 | tomcat_info=`ps -f | grep ${tomcat_key} - `; 46 | status=$? 47 | echo "tomcat_info: $tomcat_info status: $status" >&2 48 | 49 | if [ $status != "0" ];then 50 | echo "Unable to detect Tomcat process. status: ${status} EXITING!"; >&2 51 | exit 2; 52 | fi 53 | 54 | tomcat_pid=`echo $tomcat_info | awk '{print $2}' -` 55 | 56 | echo "Tomcat Has Arrived. (pid: $tomcat_pid)" >&2 57 | 58 | # tail -f /usr/local/tomcat/logs/catalina.out 59 | # never exit 60 | while true; do 61 | sleep 60; 62 | tomcat_ps=`ps -f $tomcat_pid`; 63 | TOMCAT_STATUS=$? 64 | if [ $TOMCAT_STATUS -ne 0 ]; then 65 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" >&2 66 | echo "Tomcat appears to have died! Exiting." >&2 67 | echo "Tomcat Console Log [BEGIN]" >&2 68 | cat /usr/local/tomcat/logs/catalina.out >&2 69 | echo "Tomcat Console Log [END]" >&2 70 | exit -2; 71 | fi 72 | if [ $debug = true ];then 73 | echo "-------------------------------------------------------------------" 74 | date 75 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" 76 | fi 77 | done 78 | 79 | 80 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.3/ncWMS/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # This is the entrypoint.sh file for the ncWMS container. 3 | # 4 | # 5 | # set -f # "set -o noglob" Disable file name generation using metacharacters (globbing). 6 | # set -v # "set -o verbose" Prints shell input lines as they are read. 7 | # set -x # "set -o xtrace" Print command traces before executing command. 8 | # set -e # Exit on error. 9 | 10 | #echo "entrypoint.sh command line: \"$@\"" 11 | echo "############################## ncWMS ##################################"; >&2 12 | echo "Greetings, I am "`whoami`"."; >&2 13 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 14 | set -e 15 | #set -x 16 | 17 | debug=false; 18 | 19 | while getopts "d" opt; do 20 | case $opt in 21 | d) 22 | debug=true; 23 | echo "Debug is enabled" >&2; 24 | ;; 25 | \?) 26 | echo "Invalid option: -$OPTARG" >&2 27 | echo "options: [-d] " >&2 28 | echo " -d Enables debugging output for this script." >&2 29 | echo "EXITING NOW" >&2 30 | exit 2; 31 | ;; 32 | esac 33 | done 34 | if [ $debug = true ];then 35 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 36 | ls -l "$CATALINA_HOME" "$CATALINA_HOME/bin" >&2 37 | fi 38 | 39 | 40 | trap "echo TRAPed signal" HUP INT QUIT KILL TERM 41 | 42 | # startup.sh -security 43 | startup.sh -security # Without --security makes ncWMS work because the CORS filter get's tangled up with the security manager. 44 | 45 | tomcat_info=`ps -f | grep ${tomcat_key} - `; 46 | status=$? 47 | echo "tomcat_info: $tomcat_info status: $status" >&2 48 | 49 | if [ $status != "0" ];then 50 | echo "Unable to detect Tomcat process. status: ${status} EXITING!"; >&2 51 | exit 2; 52 | fi 53 | 54 | tomcat_pid=`echo $tomcat_info | awk '{print $2}' -` 55 | 56 | echo "Tomcat Has Arrived. (pid: $tomcat_pid)" >&2 57 | 58 | # tail -f /usr/local/tomcat/logs/catalina.out 59 | # never exit 60 | while true; do 61 | sleep 60; 62 | tomcat_ps=`ps -f $tomcat_pid`; 63 | TOMCAT_STATUS=$? 64 | if [ $TOMCAT_STATUS -ne 0 ]; then 65 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" >&2 66 | echo "Tomcat appears to have died! Exiting." >&2 67 | echo "Tomcat Console Log [BEGIN]" >&2 68 | cat /usr/local/tomcat/logs/catalina.out >&2 69 | echo "Tomcat Console Log [END]" >&2 70 | exit -2; 71 | fi 72 | if [ $debug = true ];then 73 | echo "-------------------------------------------------------------------" 74 | date 75 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" 76 | fi 77 | done 78 | 79 | 80 | -------------------------------------------------------------------------------- /retired/releases/hyrax-1.15.4/ncWMS/entrypoint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # This is the entrypoint.sh file for the ncWMS container. 3 | # 4 | # 5 | # set -f # "set -o noglob" Disable file name generation using metacharacters (globbing). 6 | # set -v # "set -o verbose" Prints shell input lines as they are read. 7 | # set -x # "set -o xtrace" Print command traces before executing command. 8 | # set -e # Exit on error. 9 | 10 | #echo "entrypoint.sh command line: \"$@\"" 11 | echo "############################## ncWMS ##################################"; >&2 12 | echo "Greetings, I am "`whoami`"."; >&2 13 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 14 | set -e 15 | #set -x 16 | 17 | debug=false; 18 | 19 | while getopts "d" opt; do 20 | case $opt in 21 | d) 22 | debug=true; 23 | echo "Debug is enabled" >&2; 24 | ;; 25 | \?) 26 | echo "Invalid option: -$OPTARG" >&2 27 | echo "options: [-d] " >&2 28 | echo " -d Enables debugging output for this script." >&2 29 | echo "EXITING NOW" >&2 30 | exit 2; 31 | ;; 32 | esac 33 | done 34 | if [ $debug = true ];then 35 | echo "CATALINA_HOME: ${CATALINA_HOME}"; >&2 36 | ls -l "$CATALINA_HOME" "$CATALINA_HOME/bin" >&2 37 | fi 38 | 39 | 40 | trap "echo TRAPed signal" HUP INT QUIT KILL TERM 41 | 42 | # startup.sh -security 43 | startup.sh -security # Without --security makes ncWMS work because the CORS filter get's tangled up with the security manager. 44 | 45 | tomcat_info=`ps -f | grep ${tomcat_key} - `; 46 | status=$? 47 | echo "tomcat_info: $tomcat_info status: $status" >&2 48 | 49 | if [ $status != "0" ];then 50 | echo "Unable to detect Tomcat process. status: ${status} EXITING!"; >&2 51 | exit 2; 52 | fi 53 | 54 | tomcat_pid=`echo $tomcat_info | awk '{print $2}' -` 55 | 56 | echo "Tomcat Has Arrived. (pid: $tomcat_pid)" >&2 57 | 58 | # tail -f /usr/local/tomcat/logs/catalina.out 59 | # never exit 60 | while true; do 61 | sleep 60; 62 | tomcat_ps=`ps -f $tomcat_pid`; 63 | TOMCAT_STATUS=$? 64 | if [ $TOMCAT_STATUS -ne 0 ]; then 65 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" >&2 66 | echo "Tomcat appears to have died! Exiting." >&2 67 | echo "Tomcat Console Log [BEGIN]" >&2 68 | cat /usr/local/tomcat/logs/catalina.out >&2 69 | echo "Tomcat Console Log [END]" >&2 70 | exit -2; 71 | fi 72 | if [ $debug = true ];then 73 | echo "-------------------------------------------------------------------" 74 | date 75 | echo "TOMCAT_STATUS: $TOMCAT_STATUS tomcat_pid:$tomcat_pid" 76 | fi 77 | done 78 | 79 | 80 | --------------------------------------------------------------------------------