diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7cc9cb9d97a285681061d58255ca55e6624c1e6..11cb3cb729cf0c9984229904ba67a95ac2f22454 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,24 +4,13 @@ stages: publish_npm: image: "node:current-alpine" stage: publish-npm - + variables: + GIT_SUBMODULE_STRATEGY: recursive before_script: - apk add --update bash - apk add --update make - apk add --update protobuf-dev - apk add --update yarn - - apk add --update git - - git config --global credential.helper store - - git config --global credential.useHttpPath true - - | - git credential approve <<EOF - protocol=https - host=gitlab.com - path=my-group/my-submodule-repo.git - username=${CI_DEPENDENCY_PROXY_USER} - password=${CI_DEPENDENCY_PROXY_PASSWORD} - EOF - - git submodule update --init --recursive rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' diff --git a/.gitmodules b/.gitmodules index 79c7c1ea054bf3ed90bc0be427d1350ee0519405..4de0a5cea827b5474b57a3c29dfa049fe48fa82c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "perxis-proto"] path = perxis-proto - url = https://git.perx.ru/perxis/perxis-proto.git + url = ../../perxis/perxis-proto.git \ No newline at end of file