Skip to content

Commit

Permalink
Use GHA CD for prod over circleci (#6039)
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryNguyen5 authored Feb 17, 2022
1 parent 10a1e92 commit 77f06c1
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 332 deletions.
78 changes: 0 additions & 78 deletions .circleci/config.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
uses: ./.github/actions/build-sign-publish-chainlink
with:
publish: true
image-name: test-chainlink
image-name: chainlink
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}
Expand Down
35 changes: 0 additions & 35 deletions .github/workflows/build-unofficial-latest.yml

This file was deleted.

24 changes: 0 additions & 24 deletions GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
.DEFAULT_GOAL := build

ENVIRONMENT ?= release

GOPATH ?= $(HOME)/go
REPO := smartcontract/chainlink
COMMIT_SHA ?= $(shell git rev-parse HEAD)
VERSION = $(shell cat VERSION)
GOBIN ?= $(GOPATH)/bin
GO_LDFLAGS := $(shell tools/bin/ldflags)
GOFLAGS = -ldflags "$(GO_LDFLAGS)"
DOCKERFILE := core/chainlink.Dockerfile
DOCKER_TAG ?= latest
CHAINLINK_USER ?= root

TAGGED_REPO := $(REPO):$(DOCKER_TAG)
ECR_REPO := "$(AWS_ECR_URL)/chainlink:$(DOCKER_TAG)"

.PHONY: install
install: operator-ui-autoinstall install-chainlink-autoinstall ## Install chainlink and all its dependencies.
Expand Down Expand Up @@ -86,21 +77,6 @@ presubmit:
gofmt -w ./core
go mod tidy

.PHONY: docker
docker: ## Build the docker image.
docker build \
-f $(DOCKERFILE) \
--build-arg ENVIRONMENT=$(ENVIRONMENT) \
--build-arg COMMIT_SHA=$(COMMIT_SHA) \
--build-arg CHAINLINK_USER=$(CHAINLINK_USER) \
-t $(TAGGED_REPO) \
.

.PHONY: dockerpush
dockerpush: ## Push the docker image to ecr
docker push $(ECR_REPO)
docker push $(ECR_REPO)-nonroot

.PHONY: mockery
mockery: $(mockery)
go install github.com/vektra/mockery/[email protected]
Expand Down
31 changes: 0 additions & 31 deletions tools/ci/branch2tag

This file was deleted.

30 changes: 0 additions & 30 deletions tools/ci/gittag2dockertag

This file was deleted.

72 changes: 0 additions & 72 deletions tools/ci/push_chainlink

This file was deleted.

61 changes: 0 additions & 61 deletions tools/ci/push_image

This file was deleted.

0 comments on commit 77f06c1

Please sign in to comment.