Skip to content
Snippets Groups Projects
Commit 1f78b97f authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

.gitlab-ci: use new oniro/* locations


The manifest repository is now gone, with distro/oniro taking its place.
The aggregated repository is distro/oniro-readthedocs-aggregated.

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent fee2a99d
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ include:
file:
- 'dco.yaml'
- 'reuse.yaml'
- project: 'OSTC/OHOS/manifest'
- project: 'distro/oniro'
file: '.oniro-ci/build-generic.yaml'
dco:
......@@ -68,7 +68,7 @@ deploy:
script:
- !reference [.workspace, script]
# We are in the root of the git-repo workspace.
- git clone https://user:$OHOS_AGGREGATED_DOCS_TOKEN@git.ostc-eu.org/OSTC/infrastructure/allscenarios-readthedocs-aggregated.git aggregated
- git clone https://user:$OHOS_AGGREGATED_DOCS_TOKEN@git.ostc-eu.org/distro/oniro-readthedocs-aggregated.git aggregated
- find aggregated -maxdepth 1 -not -path aggregated/.git -not -path aggregated -exec rm -rvf {} \;
- tar -c --dereference -C docs --exclude ./.git --exclude ./.gitlab-ci.yml . | tar -x -C aggregated
# Commit and push back, if something changed.
......@@ -76,7 +76,7 @@ deploy:
cd aggregated;
if [ -n "$(git status -s)" ]; then
msg="docs repository snapshot - $CI_COMMIT_BRANCH:$CI_COMMIT_SHA";
git config --local user.name "All Scenario OS CI";
git config --local user.name "Oniro Project CI";
git config --local user.email "ci@ostc-eu.org";
git add -A;
git commit -sm "$msg";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment