Compare commits

...

6 Commits

Author SHA1 Message Date
Mohamed Sohail f18934d854
Merge branch 'master' of https://gitlab.com/grassrootseconomics/cic-internal-integration
continuous-integration/drone/push Build is passing Details
2022-01-18 15:06:18 +03:00
Mohamed Sohail a06295f4de
fix: drone build
continuous-integration/drone/push Build is passing Details
2022-01-17 19:03:47 +03:00
Mohamed Sohail 84504a135e
Merge branch 'master' of https://git.grassecon.net/grassrootseconomics/cic-stack
continuous-integration/drone Build is passing Details
2022-01-17 18:55:29 +03:00
Mohamed Sohail 4ecac371cf
Merge branch 'master' of https://gitlab.com/grassrootseconomics/cic-internal-integration 2022-01-17 18:52:55 +03:00
Mohamed Sohail d5a1809733
add: gitea ci build 2022-01-17 18:52:28 +03:00
Mohamed Sohail 86946b4c38
add: gitea ci build 2022-01-17 18:47:28 +03:00
2 changed files with 44 additions and 15 deletions

29
.drone.yml Normal file
View File

@ -0,0 +1,29 @@
kind: pipeline
name: default
steps:
- name: fetch
image: alpine/git
commands:
- git fetch --tags
- name: build
image: kamikazechaser/docker-build:latest
environment:
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1
IMAGE_BASE_URL: docker.grassecon.net/cic-stack
PASSWORD:
from_secret: docker_password
volumes:
- name: docker_sock
path: /var/run/docker.sock
commands:
- echo $PASSWORD | docker login docker.grassecon.net --username ci --password-stdin
- export TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
- docker-compose -f docker-compose.build.yml build --progress plain
- docker-compose -f docker-compose.build.yml push
volumes:
- name: docker_sock
host:
path: /var/run/docker.sock

View File

@ -1,52 +1,52 @@
version: '3.2'
version: "3.2"
services:
cic-cache:
image: ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/cic-cache:${TAG:-latest}
image: docker.grassecon.net/cic-stack/cic-cache:${TAG:-latest}
build:
context: apps/cic-cache
dockerfile: docker/Dockerfile
cache_from:
- ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/cic-cache:latest
- docker.grassecon.net/cic-stack/cic-cache:${TAG:-latest}
cic-eth:
image: ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/cic-eth:${TAG:-latest}
image: docker.grassecon.net/cic-stack/cic-eth:${TAG:-latest}
build:
context: apps/cic-eth
dockerfile: docker/Dockerfile
cache_from:
- ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/cic-eth:latest
- docker.grassecon.net/cic-stack/cic-eth:${TAG:-latest}
cic-meta:
image: ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/cic-meta:${TAG:-latest}
image: docker.grassecon.net/cic-stack/cic-meta:${TAG:-latest}
build:
context: apps/cic-meta
dockerfile: docker/Dockerfile
cache_from:
- ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/cic-meta:latest
- docker.grassecon.net/cic-stack/cic-meta:${TAG:-latest}
cic-notify:
image: ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/cic-notify:${TAG:-latest}
image: docker.grassecon.net/cic-stack/cic-notify:${TAG:-latest}
build:
context: apps/cic-notify
dockerfile: docker/Dockerfile
cache_from:
- ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/cic-notify:latest
- docker.grassecon.net/cic-stack/cic-notify:${TAG:-latest}
funga-eth:
image: ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/funga-eth:${TAG:-latest}
image: docker.grassecon.net/cic-stack/funga-eth:${TAG:-latest}
build:
context: apps/cic-signer
dockerfile: Dockerfile
cache_from:
- ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/funga-eth:latest
- docker.grassecon.net/cic-stack/funga-eth:${TAG:-latest}
cic-ussd:
image: ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/cic-ussd:${TAG:-latest}
image: docker.grassecon.net/cic-stack/cic-ussd:${TAG:-latest}
build:
context: apps/cic-ussd
dockerfile: docker/Dockerfile
cache_from:
- ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/cic-ussd:latest
- docker.grassecon.net/cic-stack/cic-ussd:${TAG:-latest}
cic-contract-bootstrap:
image: ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/cic-contract-bootstrap:${TAG:-latest}
image: docker.grassecon.net/cic-stack/cic-contract-bootstrap:${TAG:-latest}
build:
context: apps/contract-migration
dockerfile: docker/Dockerfile
cache_from:
- ${IMAGE_BASE_URL:-registry.gitlab.com/grassrootseconomics/cic-internal-integration}/cic-ussd:latest
- docker.grassecon.net/cic-stack/cic-ussd:${TAG:-latest}