ning with active workspace: 'default' (repository)Running with active stack: 'default' (repository)

Successfully registered container_registry `gcr-zenml-core`.

```

```sh

zenml container-registry connect gcr-zenml-core --connector gcr-zenml-core

```

Example Command Output

```text

Running with active workspace: 'default' (repository)

Running with active stack: 'default' (repository)

Successfully connected container registry `gcr-zenml-core` to the following resources:

┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━━┯━━━━━━━━━━━━━━━━━━━┓

┃             CONNECTOR ID             │ CONNECTOR NAME │ CONNECTOR TYPE │ RESOURCE TYPE      │ RESOURCE NAMES    ┃

┠──────────────────────────────────────┼────────────────┼────────────────┼────────────────────┼───────────────────┨

┃ 9fddfaba-6d46-4806-ad96-9dcabef74639 │ gcr-zenml-core │ 🔵 gcp         │ 🐳 docker-registry │ gcr.io/zenml-core ┃

┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━━┷━━━━━━━━━━━━━━━━━━━┛

```

Combine all Stack Components together into a Stack and set it as active:Copyzenml stack register gcp-demo -a gcs-zenml-bucket-sl -o vertex-ai-zenml-core -c gcr-zenml-core -i gcp-zenml-core --set

Example Command Output

```text

Running with active workspace: 'default' (repository)

Stack 'gcp-demo' successfully registered!

Active repository stack set to:'gcp-demo'

```

Finally, run a simple pipeline to prove that everything works as expected. We'll use the simplest pipelines possible for this example:Copyfrom zenml import pipeline, step

@step
def step_1() -> str:
    """Returns the `world` string."""
    return "world"

@step(enable_cache=False)
def step_2(input_one: str, input_two: str) -> None:
    """Combines the two strings at its input and prints them."""
    combined_str = f"{input_one} {input_two}"
    print(combined_str)

@pipeline
def my_pipeline():
    output_step_one = step_1()
    step_2(input_one="hello", input_two=output_step_one)