Skip to content

Commit

Permalink
all: replace TravisCI by Drone (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonQ committed Feb 5, 2021
1 parent 918186c commit 28acc1e
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 25 deletions.
46 changes: 46 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
clone:
git:
image: blacklanedevops/drone-git:next

pipeline:
pull:
image: yspro/drone-plugin-ecr-fetcher
pull: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
images:
- 721041513556.dkr.ecr.eu-central-1.amazonaws.com/aws-secrets-fetcher

aws_secrets:
image: 721041513556.dkr.ecr.eu-central-1.amazonaws.com/aws-secrets-fetcher
aws_secrets:
- GITHUB_TOKEN: devops/github/blacklane-deploy-token

test_tracking:
image: golang:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- export $(cat .ci-secrets | xargs)
- cd tracking
- make gitconfig test

test_logger:
image: golang:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- export $(cat .ci-secrets | xargs)
- cd logger
- make gitconfig test

test_x/events:
image: docker/compose:alpine-1.28.2
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- apk --no-cache add make
- cd x/events
- make compose-tests

branches: [ master ]
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

0 comments on commit 28acc1e

Please sign in to comment.