-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "replacing travis with GH actions"
This reverts commit 749ad2d.
- Loading branch information
grandizzy
committed
Oct 13, 2021
1 parent
6d5a642
commit d506fc4
Showing
3 changed files
with
44 additions
and
55 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
dist: trusty | ||
language: go | ||
go: | ||
- 1.15 | ||
go_import_path: github.com/makerdao/vdb-transformer-utilities | ||
script: | ||
- go run github.com/onsi/ginkgo/ginkgo -r | ||
deploy: | ||
- provider: script | ||
script: bash ./.travis/deploy.sh | ||
on: | ||
branch: main | ||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#! /usr/bin/env bash | ||
|
||
set -e | ||
|
||
function message() { | ||
echo | ||
echo ----------------------------------- | ||
echo "$@" | ||
echo ----------------------------------- | ||
echo | ||
} | ||
|
||
TAG=latest | ||
BUILDER_NAME=vdb-builder | ||
RUNNER_NAME=vdb-runner | ||
|
||
message BUILDING BUILDER DOCKER IMAGE | ||
docker build -f dockerfiles/builder/Dockerfile . -t makerdao/$BUILDER_NAME:$TAG | ||
|
||
message BUILDING RUNNER DOCKER IMAGE | ||
docker build -f dockerfiles/runner/Dockerfile . -t makerdao/$RUNNER_NAME:$TAG | ||
|
||
message LOGGING INTO DOCKERHUB | ||
echo "$DOCKER_PASSWORD" | docker login --username "$DOCKER_USER" --password-stdin | ||
|
||
message PUSHING BUILDER DOCKER IMAGE | ||
docker push makerdao/$BUILDER_NAME:$TAG | ||
|
||
message PUSHING RUNNER DOCKER IMAGE | ||
docker push makerdao/$RUNNER_NAME:$TAG |