Tekton Pipelines Demo - Example App

Overview

This repo is based on alexwhen/docker-2048, which is in turn based on gabrielecirulli/2048.

Purpose

This repo contains a sample app (Dockerized 2048-game) which we will use to demonstrate how to set up and run Kubernetes-native appliation builds and deployments using Tekton and ArgoCD.

  • Tekton → define pipelines
  • ArgoCD → manage Kubernetes application deployment

Pre-Requisites

To use this sample repo as part of our Tekton/ArgoCD demo, you need a Kubernetes cluster with the following installed:

To find out how to install the above tools in your Kubernetes cluster, check out our Medium blog post. It has all the gory details you need to get started!

Build and Run Dockerfile Locally

To try building and running the Dockerfile locally yourself:

# Build
docker build -t docker-2048:1.0.0 .

# Run in interactive mode
docker run -it -p 80:8000 docker-2048:1.0.0

Once the Docker image is built, you can check it out at: http://localhost

Tekton Pipeline & ArgoCD Application Deployments

Looking how to use Tekton and ArgoCD to build and deploy this code to your Kubernetes cluster? Head on over to d0-labs/tekton-pipeline-example-pipeline