Skip to content
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.

Commit

Permalink
Removed workshop template
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluard committed Jun 17, 2020
1 parent ed0284f commit 705d1dd
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 97 deletions.
23 changes: 0 additions & 23 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ PLAYGROUND_BACKEND_API_DOCKER_IMAGE_NAME=${DOCKER_USERNAME}/substrate-playground
PLAYGROUND_BACKEND_UI_DOCKER_IMAGE_NAME=${DOCKER_USERNAME}/substrate-playground-backend-ui
TEMPLATE_BASE=${DOCKER_USERNAME}/substrate-playground-template-base
TEMPLATE_THEIA_BASE=${DOCKER_USERNAME}/substrate-playground-template-theia-base
TEMPLATE_WORKSHOP=${DOCKER_USERNAME}/substrate-playground-template-workshop
GOOGLE_PROJECT_ID=substrateplayground-252112

COLOR_BOLD:= $(shell tput bold)
Expand Down Expand Up @@ -81,28 +80,6 @@ push-template-theia-base: build-template-theia-base
docker push ${TEMPLATE_THEIA_BASE}:sha-${THEIA_DOCKER_IMAGE_VERSION}
docker push gcr.io/${GOOGLE_PROJECT_ID}/${TEMPLATE_THEIA_BASE}

build-template-workshop:
$(eval THEIA_DOCKER_IMAGE_VERSION=$(shell git rev-parse --short HEAD))
@cd templates; docker build --force-rm -f Dockerfile.workshop --label org.opencontainers.image.version=${THEIA_DOCKER_IMAGE_VERSION} -t ${TEMPLATE_WORKSHOP}:sha-${THEIA_DOCKER_IMAGE_VERSION} .
docker tag ${TEMPLATE_WORKSHOP}:sha-${THEIA_DOCKER_IMAGE_VERSION} gcr.io/${GOOGLE_PROJECT_ID}/${TEMPLATE_WORKSHOP}
docker image prune -f --filter label=stage=builder

# Push a newly built theia image on docker.io and gcr.io
push-template-workshop: build-template-workshop
docker push ${TEMPLATE_WORKSHOP}:sha-${THEIA_DOCKER_IMAGE_VERSION}
docker push gcr.io/${GOOGLE_PROJECT_ID}/${TEMPLATE_WORKSHOP}

build-template-workshop-theia:
$(eval THEIA_DOCKER_IMAGE_VERSION=$(shell git rev-parse --short HEAD))
@cd templates; docker build --force-rm -f Dockerfile.workshop --label org.opencontainers.image.version=${THEIA_DOCKER_IMAGE_VERSION} -t ${TEMPLATE_WORKSHOP}-theia:sha-${THEIA_DOCKER_IMAGE_VERSION} .
docker tag ${TEMPLATE_WORKSHOP}-theia:sha-${THEIA_DOCKER_IMAGE_VERSION} gcr.io/${GOOGLE_PROJECT_ID}/${TEMPLATE_WORKSHOP}-theia
docker image prune -f --filter label=stage=builder

# Push a newly built theia image on docker.io and gcr.io
push-template-workshop-theia: build-template-workshop-theia
docker push ${TEMPLATE_WORKSHOP}-theia:sha-${THEIA_DOCKER_IMAGE_VERSION}
docker push gcr.io/${GOOGLE_PROJECT_ID}/${TEMPLATE_WORKSHOP}-theia

# Build backend docker images
build-backend-docker-images:
$(eval PLAYGROUND_DOCKER_IMAGE_VERSION=$(shell git rev-parse --short HEAD))
Expand Down
14 changes: 14 additions & 0 deletions conf/k8s/overlays/dev/templates/recipes
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
image: gcr.io/substrateplayground-252112/jeluard/substrate-playground-template-recipes-theia:sha-103aa2a
name: Recipes
description: '## A Hands-On Cookbook for Aspiring Blockchain Chefs


Contains some real nodes!

'
runtime:
ports:
- name: wss
protocol: TCP
path: /wss
port: 9944
23 changes: 0 additions & 23 deletions conf/k8s/overlays/dev/templates/workshop

This file was deleted.

14 changes: 14 additions & 0 deletions conf/k8s/overlays/production/templates/recipes
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
image: gcr.io/substrateplayground-252112/jeluard/substrate-playground-template-recipes-theia:sha-103aa2a
name: Recipes
description: '## A Hands-On Cookbook for Aspiring Blockchain Chefs


Contains some real nodes!

'
runtime:
ports:
- name: wss
protocol: TCP
path: /wss
port: 9944
1 change: 0 additions & 1 deletion conf/k8s/overlays/production/templates/workshop

This file was deleted.

22 changes: 0 additions & 22 deletions conf/k8s/overlays/staging/templates/workshop

This file was deleted.

9 changes: 0 additions & 9 deletions templates/Dockerfile.workshop

This file was deleted.

19 changes: 0 additions & 19 deletions templates/Dockerfile.workshop.theia

This file was deleted.

0 comments on commit 705d1dd

Please sign in to comment.