├── .codefresh ├── codefresh.yml ├── deploy-prod.yml ├── deploy-staging.yml ├── pipeline-backup.7.9.2018.yml ├── review-pull-request.yml ├── security-scans.yml ├── selenium-tests.yml └── touch ├── .github └── ISSUE_TEMPLATE ├── .gitignore ├── Dockerfile ├── LICENSE ├── MAINTAINERS ├── README.md ├── architecture.png ├── clair-config.yml ├── codefresh-matrix-pipeline.yml ├── docker-compose-javaworker.yml ├── docker-compose-simple.yml ├── docker-compose.yml ├── docker-stack.yml ├── dockercloud.yml ├── example-voting-app ├── Chart.yaml ├── charts │ ├── postgresql-0.9.5.tgz │ ├── redis-1.2.2.tgz │ ├── result-0.1.1.tgz │ ├── vote-0.1.1.tgz │ └── worker-0.1.1.tgz ├── local-charts │ ├── result │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── templates │ │ │ ├── _helpers.tpl │ │ │ ├── deployment.yaml │ │ │ └── svc.yaml │ │ └── values.yaml │ ├── vote │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── templates │ │ │ ├── _helpers.tpl │ │ │ ├── deployment.yaml │ │ │ └── svc.yaml │ │ └── values.yaml │ └── worker │ │ ├── .helmignore │ │ ├── Chart.yaml │ │ ├── templates │ │ ├── _helpers.tpl │ │ └── deployment.yaml │ │ └── values.yaml ├── requirements.lock ├── requirements.yaml └── values.yaml ├── k8s-specifications ├── db-deployment.yaml ├── db-service.yaml ├── redis-deployment.yaml ├── redis-service.yaml ├── result-deployment.yaml ├── result-service.yaml ├── vote-deployment.yaml ├── vote-service.yaml └── worker-deployment.yaml ├── result ├── .vscode │ └── launch.json ├── Dockerfile ├── codefresh-result-pipeline.yml ├── docker-compose.test.yml ├── package.json ├── server.js ├── tests │ ├── Dockerfile │ ├── render.js │ └── tests.sh └── views │ ├── app.js │ ├── index.html │ ├── socket.io.js │ └── stylesheets │ └── style.css ├── tests └── selenium │ └── test_app.py ├── vote ├── Dockerfile ├── app.py ├── codefresh-vote-pipeline.yml ├── requirements.txt ├── static │ └── stylesheets │ │ └── style.css └── templates │ └── index.html └── worker ├── Dockerfile ├── Dockerfile.j ├── codefresh-worker-pipeline.yml ├── pom.xml └── src ├── Worker ├── Program.cs └── Worker.csproj └── main └── java └── worker └── Worker.java /.codefresh/codefresh.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/.codefresh/codefresh.yml -------------------------------------------------------------------------------- /.codefresh/deploy-prod.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.codefresh/deploy-staging.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/.codefresh/deploy-staging.yml -------------------------------------------------------------------------------- /.codefresh/pipeline-backup.7.9.2018.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/.codefresh/pipeline-backup.7.9.2018.yml -------------------------------------------------------------------------------- /.codefresh/review-pull-request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/.codefresh/review-pull-request.yml -------------------------------------------------------------------------------- /.codefresh/security-scans.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.codefresh/selenium-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/.codefresh/selenium-tests.yml -------------------------------------------------------------------------------- /.codefresh/touch: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/.github/ISSUE_TEMPLATE -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | project.lock.json 3 | bin/ 4 | obj/ -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/LICENSE -------------------------------------------------------------------------------- /MAINTAINERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/MAINTAINERS -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/README.md -------------------------------------------------------------------------------- /architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/architecture.png -------------------------------------------------------------------------------- /clair-config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/clair-config.yml -------------------------------------------------------------------------------- /codefresh-matrix-pipeline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/codefresh-matrix-pipeline.yml -------------------------------------------------------------------------------- /docker-compose-javaworker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/docker-compose-javaworker.yml -------------------------------------------------------------------------------- /docker-compose-simple.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/docker-compose-simple.yml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker-stack.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/docker-stack.yml -------------------------------------------------------------------------------- /dockercloud.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/dockercloud.yml -------------------------------------------------------------------------------- /example-voting-app/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/Chart.yaml -------------------------------------------------------------------------------- /example-voting-app/charts/postgresql-0.9.5.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/charts/postgresql-0.9.5.tgz -------------------------------------------------------------------------------- /example-voting-app/charts/redis-1.2.2.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/charts/redis-1.2.2.tgz -------------------------------------------------------------------------------- /example-voting-app/charts/result-0.1.1.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/charts/result-0.1.1.tgz -------------------------------------------------------------------------------- /example-voting-app/charts/vote-0.1.1.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/charts/vote-0.1.1.tgz -------------------------------------------------------------------------------- /example-voting-app/charts/worker-0.1.1.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/charts/worker-0.1.1.tgz -------------------------------------------------------------------------------- /example-voting-app/local-charts/result/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/result/.helmignore -------------------------------------------------------------------------------- /example-voting-app/local-charts/result/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/result/Chart.yaml -------------------------------------------------------------------------------- /example-voting-app/local-charts/result/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/result/templates/_helpers.tpl -------------------------------------------------------------------------------- /example-voting-app/local-charts/result/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/result/templates/deployment.yaml -------------------------------------------------------------------------------- /example-voting-app/local-charts/result/templates/svc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/result/templates/svc.yaml -------------------------------------------------------------------------------- /example-voting-app/local-charts/result/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/result/values.yaml -------------------------------------------------------------------------------- /example-voting-app/local-charts/vote/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/vote/.helmignore -------------------------------------------------------------------------------- /example-voting-app/local-charts/vote/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/vote/Chart.yaml -------------------------------------------------------------------------------- /example-voting-app/local-charts/vote/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/vote/templates/_helpers.tpl -------------------------------------------------------------------------------- /example-voting-app/local-charts/vote/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/vote/templates/deployment.yaml -------------------------------------------------------------------------------- /example-voting-app/local-charts/vote/templates/svc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/vote/templates/svc.yaml -------------------------------------------------------------------------------- /example-voting-app/local-charts/vote/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/vote/values.yaml -------------------------------------------------------------------------------- /example-voting-app/local-charts/worker/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/worker/.helmignore -------------------------------------------------------------------------------- /example-voting-app/local-charts/worker/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/worker/Chart.yaml -------------------------------------------------------------------------------- /example-voting-app/local-charts/worker/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/worker/templates/_helpers.tpl -------------------------------------------------------------------------------- /example-voting-app/local-charts/worker/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/worker/templates/deployment.yaml -------------------------------------------------------------------------------- /example-voting-app/local-charts/worker/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/local-charts/worker/values.yaml -------------------------------------------------------------------------------- /example-voting-app/requirements.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/requirements.lock -------------------------------------------------------------------------------- /example-voting-app/requirements.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/requirements.yaml -------------------------------------------------------------------------------- /example-voting-app/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/example-voting-app/values.yaml -------------------------------------------------------------------------------- /k8s-specifications/db-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/k8s-specifications/db-deployment.yaml -------------------------------------------------------------------------------- /k8s-specifications/db-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/k8s-specifications/db-service.yaml -------------------------------------------------------------------------------- /k8s-specifications/redis-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/k8s-specifications/redis-deployment.yaml -------------------------------------------------------------------------------- /k8s-specifications/redis-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/k8s-specifications/redis-service.yaml -------------------------------------------------------------------------------- /k8s-specifications/result-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/k8s-specifications/result-deployment.yaml -------------------------------------------------------------------------------- /k8s-specifications/result-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/k8s-specifications/result-service.yaml -------------------------------------------------------------------------------- /k8s-specifications/vote-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/k8s-specifications/vote-deployment.yaml -------------------------------------------------------------------------------- /k8s-specifications/vote-service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/k8s-specifications/vote-service.yaml -------------------------------------------------------------------------------- /k8s-specifications/worker-deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/k8s-specifications/worker-deployment.yaml -------------------------------------------------------------------------------- /result/.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/.vscode/launch.json -------------------------------------------------------------------------------- /result/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/Dockerfile -------------------------------------------------------------------------------- /result/codefresh-result-pipeline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/codefresh-result-pipeline.yml -------------------------------------------------------------------------------- /result/docker-compose.test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/docker-compose.test.yml -------------------------------------------------------------------------------- /result/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/package.json -------------------------------------------------------------------------------- /result/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/server.js -------------------------------------------------------------------------------- /result/tests/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/tests/Dockerfile -------------------------------------------------------------------------------- /result/tests/render.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/tests/render.js -------------------------------------------------------------------------------- /result/tests/tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/tests/tests.sh -------------------------------------------------------------------------------- /result/views/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/views/app.js -------------------------------------------------------------------------------- /result/views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/views/index.html -------------------------------------------------------------------------------- /result/views/socket.io.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/views/socket.io.js -------------------------------------------------------------------------------- /result/views/stylesheets/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/result/views/stylesheets/style.css -------------------------------------------------------------------------------- /tests/selenium/test_app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/tests/selenium/test_app.py -------------------------------------------------------------------------------- /vote/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/vote/Dockerfile -------------------------------------------------------------------------------- /vote/app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/vote/app.py -------------------------------------------------------------------------------- /vote/codefresh-vote-pipeline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/vote/codefresh-vote-pipeline.yml -------------------------------------------------------------------------------- /vote/requirements.txt: -------------------------------------------------------------------------------- 1 | Flask 2 | Redis 3 | gunicorn 4 | -------------------------------------------------------------------------------- /vote/static/stylesheets/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/vote/static/stylesheets/style.css -------------------------------------------------------------------------------- /vote/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/vote/templates/index.html -------------------------------------------------------------------------------- /worker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/worker/Dockerfile -------------------------------------------------------------------------------- /worker/Dockerfile.j: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/worker/Dockerfile.j -------------------------------------------------------------------------------- /worker/codefresh-worker-pipeline.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/worker/codefresh-worker-pipeline.yml -------------------------------------------------------------------------------- /worker/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/worker/pom.xml -------------------------------------------------------------------------------- /worker/src/Worker/Program.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/worker/src/Worker/Program.cs -------------------------------------------------------------------------------- /worker/src/Worker/Worker.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/worker/src/Worker/Worker.csproj -------------------------------------------------------------------------------- /worker/src/main/java/worker/Worker.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codefresh-io/example-voting-app/HEAD/worker/src/main/java/worker/Worker.java --------------------------------------------------------------------------------