diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6bfaa7f596724fe01134ac89eada3e53727102f9..1f1fc9b93e69a619eb5da2847c7d986018bfda59 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -47,7 +47,7 @@ deploy_trainee_repository: - cd scripts - python deploy_trainee_repo.py variables: - GIT_TRAINEE_REPOSITORY: "gitlab.takima.io/hackathon-iot/takiot-course.git" + GIT_TRAINEE_REPOSITORY: "gitlab.takima.io/school/formation-angular/tp-angular" when: manual cache: paths: @@ -72,7 +72,7 @@ clean_trainee_repository: - cd scripts - python clean_trainee_repo.py variables: - GIT_TRAINEE_REPOSITORY: "gitlab.takima.io/hackathon-iot/takiot-course.git" + GIT_TRAINEE_REPOSITORY: "gitlab.takima.io/school/formation-angular/tp-angular" cache: paths: - .cache/pip diff --git a/resources/boilerplate/takiot-course/.gitlab-ci.yml b/resources/boilerplate/tp-angular/.gitlab-ci.yml similarity index 100% rename from resources/boilerplate/takiot-course/.gitlab-ci.yml rename to resources/boilerplate/tp-angular/.gitlab-ci.yml diff --git a/scripts/constant.py b/scripts/constant.py index 6c7fb2cf23eb9f397f284e5f7429ff13e9f4ad95..091257fda20f845dff501fd48afcab5d6b71c83d 100644 --- a/scripts/constant.py +++ b/scripts/constant.py @@ -1,6 +1,6 @@ import os -# Public Git Repo for Trainees +# Public Git Repo for the Trainees GIT_REPOSITORY = os.getenv("GIT_TRAINEE_REPOSITORY") GIT_USERNAME = os.getenv("GIT_TRAINEE_ACCESS_TOKEN_NAME") GIT_PASSWORD = os.getenv("GIT_TRAINEE_ACCESS_TOKEN_SECRET") diff --git a/scripts/gitcontent/playerrepo.py b/scripts/gitcontent/playerrepo.py index 471024aa39312c340974b224797687c2b1045af8..0ee5d6e0eb5a60c043f546b66822f796d5a75fed 100644 --- a/scripts/gitcontent/playerrepo.py +++ b/scripts/gitcontent/playerrepo.py @@ -10,7 +10,7 @@ public_docs_dir = repodir + "/public" def init_with_resources(): print("Copying resources to " + repodir) - shutil.copytree("../resources/boilerplate/takiot-course", repodir) + shutil.copytree("../resources/boilerplate/tp-angular", repodir) print("Building docs") return_code = subprocess.call("cd ../resources/docs && mkdocs build", shell=True) if (return_code != 0): @@ -25,7 +25,7 @@ def clean_trainee_doc(): exit(1) print("Copying resources to " + public_docs_dir) shutil.copytree("../resources/boilerplate/emptydocs/site", public_docs_dir) - shutil.copy("../resources/boilerplate/takiot-course/.gitlab-ci.yml", repodir) + shutil.copy("../resources/boilerplate/tp-angular/.gitlab-ci.yml", repodir) def commit_and_push_force_master(): repo = Repo.init(repodir)