Skip to content
/ ci Public

Contains common CI/CD configuration for Athenian projects.

Notifications You must be signed in to change notification settings

athenianco/ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

ci

Contains common CI/CD configuration for Athenian projects.

Usage

Environment variables that should be set

# google-related credentials
GOOGLE_DOCKER_IMAGE
GOOGLE_CREDENTIALS
GOOGLE_PROJECT
GOOGLE_PUBSUB_TOPIC
# k8s-related entity names
K8S_DEPLOYMENT
K8S_NAMESPACE
# credentials required in CI
CODECOV_TOKEN

Including in your Makefile

PROJECT = your-project
COMMANDS ?= # or cmd/your-command

CI_REPOSITORY ?= https://github.com/athenianco/ci
CI_BRANCH ?= master
CI_PATH ?= .ci
MAKEFILE := $(CI_PATH)/Makefile.main
$(MAKEFILE):
	git clone --quiet --depth 1 -b $(CI_BRANCH) $(CI_REPOSITORY) $(CI_PATH);
-include $(MAKEFILE)

About

Contains common CI/CD configuration for Athenian projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published