@@ -0,0 +1,1215 @@
+#!/usr/bin/env python%0A%0Aimport os%0Aimport pathlib%0Aimport subprocess%0A%0AMINIO_RUN_TYPES = %5B%22LOCAL%22, %22GCS_PROXY%22%5D%0A%0AMINIO_LOCAL_HOME_STORAGE = pathlib.Path(%22/app%22) / %22contentworkshop_content%22%0A%0AMINIO_CONFIG_DIR = MINIO_LOCAL_HOME_STORAGE / %22.minio%22%0A%0AGOOGLE_APPLICATION_CREDENTIALS_PATH = os.getenv(%22GOOGLE_APPLICATION_CREDENTIALS%22)%0A%0AGOOGLE_GCS_PROJECT_ID = os.getenv(%22GOOGLE_GCS_PROJECT_ID%22)%0A%0A%0Aif __name__ == %22__main__%22:%0A%0A    run_type = os.getenv(%22MINIO_RUN_TYPE%22)%0A%0A    assert run_type in MINIO_RUN_TYPES, %22MINIO_RUN_TYPE must be one of %7B%7D%22.format(MINIO_RUN_TYPES)%0A%0A    if run_type == %22LOCAL%22:%0A        cmd = %5B%22minio%22, %22server%22, %22-C%22, str(MINIO_CONFIG_DIR), str(MINIO_LOCAL_HOME_STORAGE)%5D%0A    elif run_type == %22GCS_PROXY%22:%0A%0A        assert os.path.exists(GOOGLE_APPLICATION_CREDENTIALS_PATH), %22the env var GOOGLE_APPLICATION_CREDENTIALS must be defined,%22 %22 and pointing to a credentials file for your project.%22%0A%0A        assert GOOGLE_GCS_PROJECT_ID, %22$GOOGLE_GCS_PROJECT_ID must be defined with the project%22 %22 id where you store your objects.%22%0A        cmd = %5B%22minio%22, %22gateway%22, %22gcs%22, GOOGLE_GCS_PROJECT_ID%5D%0A    else:%0A        raise Exception(%22Unhandled run_type type: %7B%7D%22.format(run_type))%0A%0A    subprocess.check_call(cmd)%0A%0A%0A

add our minio runner