Skip to content

Commit

Permalink
Merge pull request #321 from ostelco/develop
Browse files Browse the repository at this point in the history
Merge for new prime and dataflow
  • Loading branch information
prasanthu authored Sep 25, 2018
2 parents 63df277 + b3132f8 commit bb5f230
Show file tree
Hide file tree
Showing 248 changed files with 7,192 additions and 2,053 deletions.
38 changes: 38 additions & 0 deletions .circleci/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# CircleCI pipeline

The pipeline consists of three phases:

## Feature branch commit

This phase contains the following jobs:
### Jobs

## PR merge into develop

This phase contains the following jobs:
### Jobs

## PR merge into master

This phase contains the following jobs:
### Jobs

## Environment variables

| Env Var | Description | Phase(s) |
| --------------------------------- | ------------- | ---------- |
| BUILD_ENV | | |
| CODACY_PROJECT_TOKEN | | |
| DEV_PROJECT | | |
| GITHUB_TOKEN | | |
| GITHUB_USER | | |
| GIT_USER_EMAIL | | |
| GIT_USER_NAME | | |
| GOOGLE_DEV_ENDPOINTS_CREDENTIALS | | |
| GOOGLE_GCR_CREDENTIALS | | |
| GOOGLE_PROD_ENDPOINTS_CREDENTIALS | | |
| PANTEL_SECRETS_FILE | | |
| PI_DEV_CLUSTER_CREDENTIALS | | |
| PI_PROD_CLUSTER_CREDENTIALS | | |
| PROD_PROJECT | | |
| STRIPE_API_KEY | | |
6 changes: 6 additions & 0 deletions .circleci/ci-docker-images/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# CI Docker Images

This directory contains any custom images used for running the different CI jobs.

- [Github Hub](hub/)
- [Python with Gcloud](python-gcloud/)
8 changes: 8 additions & 0 deletions .circleci/ci-docker-images/hub/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Github Hub docker image

- This docker image is pushed manually to Google Container Registry
- It is pushed as: eu.gcr.io/pi-ostelco-dev/github-hub:<hub version>
- It is used for creating -and operating on- PRs.
- Hub requires an environment variable GITHUB_TOKEN to authenticate when creating a PR.
- Alternative authentication ways can be found on https://hub.github.com/hub.1.html
- For instructions on pushing the image, please refer to the [GCR official documentation](https://cloud.google.com/container-registry/docs/pushing-and-pulling)
10 changes: 10 additions & 0 deletions .circleci/ci-docker-images/hub/dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This docker image is pushed manually to Google Container Registry
# It is pushed as: eu.gcr.io/pi-ostelco-dev/github-hub:<hub version>
# It is used for creating -and operating on- PRs.
# Hub requires an environment variable GITHUB_TOKEN to authenticate when creating a PR.
# Alternative authentication ways can be found on https://hub.github.com/hub.1.html

FROM fedora

RUN dnf -yq install hub

6 changes: 6 additions & 0 deletions .circleci/ci-docker-images/python-gcloud/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Python-gcloud docker image

- This docker image contains Python and Gcloud
- It is used for generating proto files for the swagger API spec and updating the Google endpoints.
- It is pushed manually as: eu.gcr.io/pi-ostelco-dev/python-gcloud
- For instructions on pushing the image, please refer to the [GCR official documentation](https://cloud.google.com/container-registry/docs/pushing-and-pulling)
10 changes: 10 additions & 0 deletions .circleci/ci-docker-images/python-gcloud/dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This docker image contains Python and Gcloud
# It is used for generating proto files for the swagger API spec and updating the Google endpoints.
# It is pushed manually as: eu.gcr.io/pi-ostelco-dev/python-gcloud
FROM python:3.6.6-jessie

RUN pip install grpcio grpcio-tools && apt-get update && apt-get install lsb-release && \
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" && \
echo "deb http://packages.cloud.google.com/apt $CLOUD_SDK_REPO main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list && \
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \
apt-get update -y && apt-get install google-cloud-sdk -y
Loading

0 comments on commit bb5f230

Please sign in to comment.