Skip to content

About

A labspace environment to play with Score, score-compose and score-k8s and understand the concepts and features

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

👋 Welcome to the Score Labspace!

This is a learning experience for exploring and understanding the CNCF Sandbox project Score and its features.

You will be guided through instructions to run command lines with tools already pre-installed to better understand the concepts of Score and its features.

✅ Here is how this lab is structured:

  • Introduction to Score
  • The Score Specification
  • Getting started with score-compose
  • Getting started with score-k8s
  • Advanced scenario with score-compose
  • Advanced scenario with score-k8s
  • Next steps

Run this Labspace

You can run this Labspace in its latest version from anywhere (if you have Docker/Podman and Docker/Podman Compose installed):

docker compose -f oci://scorespec/score-labspace:latest up

To clean it up when needed, you can run this command:

docker compose -f oci://scorespec/score-labspace:latest down --volumes

And then open the labspace in your web browser: http://localhost:3030.

Contribute to this Labspace

After you cloned this GitHub repository, you can run this Labspace locally by running these commands:

On Mac/Linux:

CONTENT_PATH=$PWD docker compose up --watch

To clean it up when needed, you can run this command:

CONTENT_PATH=$PWD docker compose down --volumes

On Windows with PowerShell:

$Env:CONTENT_PATH = (Get-Location).Path; docker compose up --watch

To clean it up when needed, you can run this command:

$Env:CONTENT_PATH = (Get-Location).Path; docker compose down --volumes

Then open the labspace in your web browser: http://localhost:3030.

Every pull request runs the Test Labspace workflow: it starts the Labspace and runs every bash code block of the lab in order, like a learner would. A bash block directly followed by a none block starting with Error: is expected to fail with that error message, and blocks with the no-run-button metadata are skipped. See lab-to-script.py for the details.

To contribute to the content of this Labspace, it's easy, it's just about .md files under the /labspace folder or feel free to file any issues there, thanks, much appreciated!

About

A labspace environment to play with Score, score-compose and score-k8s and understand the concepts and features

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Used by

Contributors