We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://jira.onap.org/browse/INT-120 https://gitlab.com/obriensystems/onap-oom-ci https://alternativeto.net/software/bamboo/
AWS CloudNative http://docs.aws.amazon.com/codepipeline/latest/userguide/getting-started-codepipeline.html http://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials.html?icmpid=docs_acp_console
#upload repo to s3 git clone http://gerrit.onap.org/r/oom tar -zcvf oom.tar.gz oom #push to sc aws s3 cp oom.tar.gz s3://onap-git
#download from s3 #overlay config
aws ec2 request-spot-instances --spot-price "0.25" --instance-count 1 --type "one-time" --launch-specification file://aws_ec2_spot_cli.json raw = ami-cd0f5cb6 rancher 1.6 + client clean = ami-c0c964ba
{ "ImageId": "ami-cd0f5cb6", "InstanceType": "r4.2xlarge", "KeyName": "obrien_systems_aws_20141115", "BlockDeviceMappings": [ { "DeviceName": "/dev/sda1", "Ebs": { "DeleteOnTermination": true, "VolumeType": "gp2", "VolumeSize": 120, #"SnapshotId": "snap-0cfc17b071e696816" } } ], "SecurityGroupIds": [ "sg-322c4842" ] }
obrienbiometrics:aws michaelobrien$ aws ec2 associate-address --instance-id i-02a653592cb748e27 --allocation-id eipalloc-375c1d02 { "AssociationId": "eipassoc-a4b5a293" }
aws ec2 describe-spot-instance-requests --spot-instance-request-id sir-1tyr5etg "InstanceId": "i-0040425ac8c0d8f63",
aws ec2 reboot-instances --instance-ids i-1234567890abcdef5
root@ip-172-31-75-77:~# kubectl cluster-info Kubernetes master is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443 Heapster is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/heapster/proxy KubeDNS is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/kube-dns/proxy kubernetes-dashboard is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy monitoring-grafana is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy monitoring-influxdb is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/monitoring-influxdb/proxy tiller-deploy is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/tiller-deploy/proxy
https://jira.onap.org/browse/INT-120
obrienbiometrics:aws michaelobrien$ aws ec2 terminate-instances --instance-ids i-0040425ac8c0d8f63 { "TerminatingInstances": [ { "InstanceId": "i-0040425ac8c0d8f63", "CurrentState": { "Code": 32, "Name": "shutting-down" }, "PreviousState": { "Code": 16, "Name": "running" } } ] } cancel spot request (terminate instances)
obrienbiometrics:aws michaelobrien$ aws ec2 terminate-instances --instance-ids i-0040425ac8c0d8f63 { "TerminatingInstances": [ { "InstanceId": "i-0040425ac8c0d8f63", "CurrentState": { "Code": 32, "Name": "shutting-down" }, "PreviousState": { "Code": 16, "Name": "running" } } ] }
Devops installs https://docs.sonarqube.org/display/SONAR/Installing+the+Server https://gerrit-review.googlesource.com/Documentation/install-quick.html
docker https://hub.docker.com/r/gitlab/gitlab-ce/ https://hub.docker.com/r/openfrontier/gerrit/ https://hub.docker.com/_/sonarqube/ https://hub.docker.com/_/jenkins/ https://hub.docker.com/r/sonatype/nexus/
git: sudo docker run --detach --hostname git.onap.info --publish 443:443 --publish 80:80 --publish 2022:2022 --name gitlab --restart always --volume /srv/gitlab/config:/etc/gitlab --volume /srv/gitlab/logs:/var/log/gitlab --volume /srv/gitlab/data:/var/opt/gitlab gitlab/gitlab-ce:latest
root@ip-172-31-92-97:~# docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9d379e44be12 gitlab/gitlab-ce:latest "/assets/wrapper" 44 seconds ago Up 43 seconds (health: starting) 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, 22/tcp, 0.0.0.0:2022->2022/tcp gitlab
delete files vi ubuntu user https://askubuntu.com/questions/167847/how-to-run-bash-script-as-root-with-no-password
The text was updated successfully, but these errors were encountered:
obriensystems
No branches or pull requests
https://jira.onap.org/browse/INT-120
https://gitlab.com/obriensystems/onap-oom-ci
https://alternativeto.net/software/bamboo/
AWS CloudNative
http://docs.aws.amazon.com/codepipeline/latest/userguide/getting-started-codepipeline.html
http://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials.html?icmpid=docs_acp_console
#upload repo to s3
git clone http://gerrit.onap.org/r/oom
tar -zcvf oom.tar.gz oom
#push to sc
aws s3 cp oom.tar.gz s3://onap-git
#download from s3
#overlay config
create vm
aws ec2 request-spot-instances --spot-price "0.25" --instance-count 1 --type "one-time" --launch-specification file://aws_ec2_spot_cli.json
raw = ami-cd0f5cb6
rancher 1.6 + client clean = ami-c0c964ba
{ "ImageId": "ami-cd0f5cb6", "InstanceType": "r4.2xlarge", "KeyName": "obrien_systems_aws_20141115", "BlockDeviceMappings": [ { "DeviceName": "/dev/sda1", "Ebs": { "DeleteOnTermination": true, "VolumeType": "gp2", "VolumeSize": 120, #"SnapshotId": "snap-0cfc17b071e696816" } } ], "SecurityGroupIds": [ "sg-322c4842" ] }
associate eip
obrienbiometrics:aws michaelobrien$ aws ec2 associate-address --instance-id i-02a653592cb748e27 --allocation-id eipalloc-375c1d02
{
"AssociationId": "eipassoc-a4b5a293"
}
aws ec2 describe-spot-instance-requests --spot-instance-request-id sir-1tyr5etg
"InstanceId": "i-0040425ac8c0d8f63",
reboot to pick up dns change
aws ec2 reboot-instances --instance-ids i-1234567890abcdef5
check k8s health
root@ip-172-31-75-77:~# kubectl cluster-info
Kubernetes master is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443
Heapster is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/heapster/proxy
KubeDNS is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/kube-dns/proxy
kubernetes-dashboard is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/kubernetes-dashboard/proxy
monitoring-grafana is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/monitoring-grafana/proxy
monitoring-influxdb is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/monitoring-influxdb/proxy
tiller-deploy is running at https://cd.onap.info:8880/r/projects/1a7/kubernetes:6443/api/v1/namespaces/kube-system/services/tiller-deploy/proxy
https://jira.onap.org/browse/INT-120
obrienbiometrics:aws michaelobrien$ aws ec2 terminate-instances --instance-ids i-0040425ac8c0d8f63 { "TerminatingInstances": [ { "InstanceId": "i-0040425ac8c0d8f63", "CurrentState": { "Code": 32, "Name": "shutting-down" }, "PreviousState": { "Code": 16, "Name": "running" } } ] }
cancel spot request (terminate instances)
Devops installs
https://docs.sonarqube.org/display/SONAR/Installing+the+Server
https://gerrit-review.googlesource.com/Documentation/install-quick.html
docker
https://hub.docker.com/r/gitlab/gitlab-ce/
https://hub.docker.com/r/openfrontier/gerrit/
https://hub.docker.com/_/sonarqube/
https://hub.docker.com/_/jenkins/
https://hub.docker.com/r/sonatype/nexus/
git:
sudo docker run --detach
--hostname git.onap.info
--publish 443:443 --publish 80:80 --publish 2022:2022
--name gitlab
--restart always
--volume /srv/gitlab/config:/etc/gitlab
--volume /srv/gitlab/logs:/var/log/gitlab
--volume /srv/gitlab/data:/var/opt/gitlab
gitlab/gitlab-ce:latest
root@ip-172-31-92-97:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
9d379e44be12 gitlab/gitlab-ce:latest "/assets/wrapper" 44 seconds ago Up 43 seconds (health: starting) 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp, 22/tcp, 0.0.0.0:2022->2022/tcp gitlab
delete files vi ubuntu user
https://askubuntu.com/questions/167847/how-to-run-bash-script-as-root-with-no-password
The text was updated successfully, but these errors were encountered: