From 575c8df38cd275a727af0d17d4cb97ce94d700b6 Mon Sep 17 00:00:00 2001 From: Lukasz Marchewka Date: Fri, 3 Jul 2026 09:45:01 +0200 Subject: [PATCH] STAC-25190 Updated repo after migration of stackstate-openapi to github (public repo) --- README.md | 2 +- scripts/generate_stackstate_api.sh | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f2ca827c..3d38850e 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ docker run -ti --rm stackstate-cli2-ci:latest go version ## Working with openapi -This repository pulls the stackstate-api spec from the [openapi repository](https://gitlab.com/stackvista/platform/stackstate-openapi). +This repository pulls the stackstate-api spec from the [openapi repository](https://github.com/StackVista/stackstate-openapi). ### Bumping the openapi version - Change the version/branch/commit sha in the `stackstate_openapi/openapi_version` file diff --git a/scripts/generate_stackstate_api.sh b/scripts/generate_stackstate_api.sh index 633c75f4..69c3a7fd 100755 --- a/scripts/generate_stackstate_api.sh +++ b/scripts/generate_stackstate_api.sh @@ -8,12 +8,7 @@ OUTPUT_DIR="generated/stackstate_api" rm -rf "$CHECKOUT_DIR" -# In gitlab we authenticate with the job token when cloning -if [ -z "${CI_JOB_TOKEN}" ]; then - git clone git@gitlab.com:stackvista/platform/stackstate-openapi.git "$CHECKOUT_DIR" -else - git clone "https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.com/stackvista/platform/stackstate-openapi.git" "$CHECKOUT_DIR" -fi +git clone https://github.com/StackVista/stackstate-openapi.git "$CHECKOUT_DIR" git -C "$CHECKOUT_DIR" checkout "$OPENAPI_VERSION"