diff --git a/simple-example/cookiecutter.json b/basic-example-dockerfile/cookiecutter.json similarity index 100% rename from simple-example/cookiecutter.json rename to basic-example-dockerfile/cookiecutter.json diff --git a/simple-example/{{cookiecutter.project_name}}/.gitignore b/basic-example-dockerfile/{{cookiecutter.project_name}}/.gitignore similarity index 100% rename from simple-example/{{cookiecutter.project_name}}/.gitignore rename to basic-example-dockerfile/{{cookiecutter.project_name}}/.gitignore diff --git a/simple-example/{{cookiecutter.project_name}}/Dockerfile b/basic-example-dockerfile/{{cookiecutter.project_name}}/Dockerfile similarity index 100% rename from simple-example/{{cookiecutter.project_name}}/Dockerfile rename to basic-example-dockerfile/{{cookiecutter.project_name}}/Dockerfile diff --git a/simple-example/{{cookiecutter.project_name}}/LICENSE b/basic-example-dockerfile/{{cookiecutter.project_name}}/LICENSE similarity index 100% rename from simple-example/{{cookiecutter.project_name}}/LICENSE rename to basic-example-dockerfile/{{cookiecutter.project_name}}/LICENSE diff --git a/simple-example/{{cookiecutter.project_name}}/README.md b/basic-example-dockerfile/{{cookiecutter.project_name}}/README.md similarity index 100% rename from simple-example/{{cookiecutter.project_name}}/README.md rename to basic-example-dockerfile/{{cookiecutter.project_name}}/README.md diff --git a/simple-example/{{cookiecutter.project_name}}/docker_build.sh b/basic-example-dockerfile/{{cookiecutter.project_name}}/docker_build.sh similarity index 100% rename from simple-example/{{cookiecutter.project_name}}/docker_build.sh rename to basic-example-dockerfile/{{cookiecutter.project_name}}/docker_build.sh diff --git a/simple-example/{{cookiecutter.project_name}}/requirements.txt b/basic-example-dockerfile/{{cookiecutter.project_name}}/requirements.txt similarity index 100% rename from simple-example/{{cookiecutter.project_name}}/requirements.txt rename to basic-example-dockerfile/{{cookiecutter.project_name}}/requirements.txt diff --git a/simple-example/{{cookiecutter.project_name}}/workflows/__init__.py b/basic-example-dockerfile/{{cookiecutter.project_name}}/workflows/__init__.py similarity index 100% rename from simple-example/{{cookiecutter.project_name}}/workflows/__init__.py rename to basic-example-dockerfile/{{cookiecutter.project_name}}/workflows/__init__.py diff --git a/simple-example/{{cookiecutter.project_name}}/workflows/example.py b/basic-example-dockerfile/{{cookiecutter.project_name}}/workflows/example.py similarity index 95% rename from simple-example/{{cookiecutter.project_name}}/workflows/example.py rename to basic-example-dockerfile/{{cookiecutter.project_name}}/workflows/example.py index 1a01fb6..88c5be1 100644 --- a/simple-example/{{cookiecutter.project_name}}/workflows/example.py +++ b/basic-example-dockerfile/{{cookiecutter.project_name}}/workflows/example.py @@ -1,4 +1,4 @@ -"""A simple Flyte example.""" +"""A basic Flyte example.""" import typing from flytekit import task, workflow @@ -6,7 +6,7 @@ @task def say_hello(name: str) -> str: - """A simple Flyte task to say "hello". + """A Flyte task to say "hello". The @task decorator allows Flyte to use this function as a Flyte task, which is executed as an isolated, containerized unit of compute. diff --git a/templates.json b/templates.json index 2db58ea..a50851c 100644 --- a/templates.json +++ b/templates.json @@ -1,7 +1,7 @@ [ {"template_name": "mnist-training", "workflow_name": "mnist_workflow_cpu"}, {"template_name": "mnist-training", "workflow_name": "mnist_workflow_gpu"}, - {"template_name": "simple-example", "workflow_name": "wf"}, + {"template_name": "basic-example-dockerfile", "workflow_name": "wf"}, {"template_name": "wine-classification", "workflow_name": "training_workflow"}, {"template_name": "basic-example-imagespec", "workflow_name": "wf"} ]