One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| [profile abc-automation] | |
| region = ap-southeast-1 | |
| role_arn = arn:aws:iam::123456789012:role/OrganizationAccountAccessRole | |
| source_profile = abc-master |
| curl --digest -L -D - http://localhost:9990/management --header "Content-Type: application/json"-d '{"operation":"read-attribute","name":"server-state","json.pretty":1}' -u root:password |
| app.version=@project.version@ | |
| app.name=@project.name@ | |
| app.description=@project.description@ |
| Repo file : /etc/yum.repos.d/nginx.repo | |
| [nginx] | |
| name=nginx repo | |
| baseurl=http://nginx.org/packages/mainline/rhel/7/$basearch/ | |
| gpgcheck=0 | |
| enabled=1 | |
| Command : | |
| yum -y install nginx ; service nginx start ; chkconfig nginx on |
| # Idempotent way to build a /etc/hosts file with Ansible using your Ansible hosts inventory for a source. | |
| # Will include all hosts the playbook is run on. | |
| # Inspired from http://xmeblog.blogspot.com/2013/06/ansible-dynamicaly-update-etchosts.html | |
| - name: "Build hosts file" | |
| lineinfile: dest=/etc/hosts regexp='.*{{ item }}$' line="{{ hostvars[item].ansible_default_ipv4.address }} {{item}}" state=present | |
| when: hostvars[item].ansible_default_ipv4.address is defined | |
| with_items: groups['all'] |
| sudo dpkg-reconfigure tzdata |
| run_katalon_test_suite: | |
| tags: | |
| - shell | |
| script: | |
| - katalon -noSplash -runMode=console -projectPath=$CI_PROJECT_DIR/"Project.prj" -reportFolder="Reports" -reportFileName="report" -retry=0 -testSuitePath="Test Suites/Test_Activity" -browserType="Chrome (headless)" |
| import javax.net.ssl.SSLParameters; | |
| import javax.net.ssl.SSLSocket; | |
| import javax.net.ssl.SSLSocketFactory; | |
| import java.io.*; | |
| /** Establish a SSL connection to a host and port, writes a byte and | |
| * prints the response. See | |
| * http://confluence.atlassian.com/display/JIRA/Connecting+to+SSL+services | |
| */ | |
| public class SSLPoke { |
| #!/bin/bash | |
| echo "Pre-registration" | |
| arg="" | |
| for file in /dir/anything/*/*/*; do | |
| echo $file | |
| arg="$arg -C $(dirname $file) $(basename $file)" | |
| done | |
| #tar -cvzf $arg | |
| echo "$arg" |