Sign inSign up

imcamel/kubernetes-molecule

By imcamel

•Updated about 6 years ago

Image
0

276

imcamel/kubernetes-molecule repository overview

⁠README

This README would normally document whatever steps are necessary to get your application up and running.

⁠What is this repository for?

⁠How do I get set up?

  • Summary of set up
  • Configuration
  • Dependencies
  • Database configuration
  • How to run tests

⁠Deployment instructions

export JENKINS_HOME=~/jenkins_home
cd master
docker build -t kubekins .
docker run --name kubekins --rm \
-u root -P \
-p 8080:8080 \
-p 5000:5000 \
-v ${JENKINS_HOME}:/var/jenkins_home \
-v /var/run/docker.sock:/var/run/docker.sock \
kubekins
## TODO (seperate build/deployment process):
# - LOGIN
# - PUSH
# - PULL

Using Docker with Pipeline⁠

⁠Contribution guidelines

  • Writing tests
  • Code review
  • Other guidelines

⁠Who do I talk to?

  • Repo owner or admin
  • Other community or team contact

Jenkins Dockerfile⁠

[ ] Dockerfile
[ ] python3, awsSDK
[ ] Jenkinsfile
[ ] userdata

https://blog.ipswitch.com/how-to-create-an-ec2-instance-with-python⁠ https://docs.aws.amazon.com/code-samples/latest/catalog/python-ec2-create_instance.py.html⁠ https://stackoverflow.com/questions/32863768/how-to-create-an-ec2-instance-using-boto3⁠ https://russell.ballestrini.net/setting-region-programmatically-in-boto3/⁠

apt-get update
apt-get install -y \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
    software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
apt-get update
apt-get install -y docker-ce docker-ce-cli containerd.io

-- DDNS config file
--ddns

This README would normally document whatever steps are necessary to get your application up and running.

⁠What is this repository for?
⁠How do I get set up?
  • Summary of set up
  • Configuration
  • Dependencies
  • Database configuration
  • How to run tests
  • Deployment instructions
⁠Contribution guidelines
  • Writing tests
  • Code review
  • Other guidelines
⁠Who do I talk to?
  • Repo owner or admin
  • Other community or team contact

Tag summary

Content type

Image

Digest

Size

582.9 MB

Last updated

about 6 years ago

docker pull imcamel/kubernetes-molecule