This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # This script is used as internalCustomStartupScript to setup the VM of the Azure Scale Set. | |
| # This setup is for Centos 7.2 VM only, and involves: | |
| # - setting up Docker and Docker-Compose | |
| # - setting up ProActive Node service with PNP | |
| # - starting the ProActive Node service | |
| set -x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -x | |
| set -e | |
| set -o pipefail | |
| umask 0022 | |
| JSONCONFIG=`base64 -d /var/lib/waagent/CustomData` | |
| echo $JSONCONFIG |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -x | |
| SSH_USERNAME="hpcpeps" | |
| SSH_PORT=22 | |
| function debug { | |
| DEBUGCONTENT=`echo $1 | base64 -w 0` | |
| DEBUGMESSAGE="<QueueMessage><MessageText>$DEBUGCONTENT</MessageText></QueueMessage>" | |
| curl -X POST -d "$DEBUGMESSAGE" "https://$STORAGEACCOUNT.queue.core.windows.net/debug/messages?$SASKEY" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -x | |
| SSH_USERNAME="michael" | |
| SSH_PORT=22224 | |
| function debug { | |
| DEBUGCONTENT=`echo $1 | base64 -w 0` | |
| DEBUGMESSAGE="<QueueMessage><MessageText>$DEBUGCONTENT</MessageText></QueueMessage>" | |
| curl -X POST -d "$DEBUGMESSAGE" "https://$STORAGEACCOUNT.queue.core.windows.net/debug/messages?$SASKEY" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <job | |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xmlns="urn:proactive:jobdescriptor:3.10" | |
| xsi:schemaLocation="urn:proactive:jobdescriptor:3.10 http://www.activeeon.com/public_content/schemas/proactive/jobdescriptor/3.10/schedulerjob.xsd" | |
| name="EscapeDeath" projectName="Epoch${COUNTER}" | |
| priority="normal" | |
| onTaskError="continueJobExecution" | |
| maxNumberOfExecution="2" | |
| > |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| run-shell "powerline-daemon -q" | |
| source "/usr/local/lib/python3.7/site-packages/powerline/bindings/tmux/powerline.conf" | |
| # Automatically set window title | |
| #set-window-option -g automatic-rename on | |
| set-option -g set-titles on | |
| setw -g mode-keys vi | |
| bind-key -T edit-mode-vi Up send-keys -X history-up |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tests: | |
| - name: "MySql" | |
| schedulerConfFileName: "database.mysql.properties" | |
| rmConfFileName: "database.mysql.properties" | |
| JDBCDriverUrl: "http://central.maven.org/maven2/mysql/mysql-connector-java/6.0.6/mysql-connector-java-6.0.6.jar" | |
| dockerfile: "mysql" | |
| postRunScript: "" | |
| - name: "Postgresql" | |
| schedulerConfFileName: "database.postgresql.properties" | |
| rmConfFileName: "database.postgresql.properties" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Don't forget to provide the (relative) path to the release folder to encapsulate | |
| FROM openjdk:9 | |
| MAINTAINER WOHLER Paraita <paraita.wohler@activeeon.com> | |
| ARG schedulerDirPath=schedulerRelease | |
| ENV PA_HOME /data/scheduling | |
| RUN mkdir -p /data/tmp && mkdir -p $PA_HOME | |
| COPY $schedulerDirPath $PA_HOME | |
| WORKDIR $PA_HOME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # #### pre-requisites #### | |
| # I use the following Dockerfile for Squid: | |
| # https://hub.docker.com/r/jamesyale/squid-sslbump/ to deploy the proxy | |
| # Replace the existing /etc/squid/squid.ssl.conf with this file | |
| # Create the users credentials with htpasswd (yum install httpd-tools) | |
| # htpasswd [-c] /etc/squid/squidusers username | |
| # -с is to create a new file, not to change the existing file | |
| # Use the following command to test the user/pass: | |
| # /usr/lib64/squid3/basic_ncsa_auth /etc/squid/squidusers | |
| # provide <user> <password> at the prompt, for example: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # #### pre-requisites #### | |
| # I use the following Dockerfile for Squid: | |
| # https://hub.docker.com/r/minimum2scp/squid/~/dockerfile/ to deploy the proxy | |
| # Replace the existing /etc/squid/squid.conf with this file | |
| # Create the users credentials with htpasswd (apt-get install apache2-utils) | |
| # htpasswd [-c] /etc/squid/squidusers username | |
| # -с is to create a new file, not to change the existing file | |
| # Use the following command to test the user/pass: | |
| # /usr/lib/squid3/basic_ncsa_auth /etc/squid/squidusers | |
| # provide <user> <password> at the prompt, for example: |