Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
UGA Open Research Data Monitor backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maxence Larrieu
UGA Open Research Data Monitor backend
Commits
07fd21a3
Commit
07fd21a3
authored
1 year ago
by
Elias Chetouane
Browse files
Options
Downloads
Patches
Plain Diff
Test pour push vers repo 2.
parent
101438c1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#173380
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-0
7 additions, 0 deletions
.gitlab-ci.yml
with
7 additions
and
0 deletions
.gitlab-ci.yml
+
7
−
0
View file @
07fd21a3
...
...
@@ -15,6 +15,7 @@ actualisation_dois:
-
pip install matplotlib
-
python run-all-codes.py
after_script
:
-
pwd
-
git config user.name "${GITLAB_USER_NAME}"
-
git config user.email "${GITLAB_USER_EMAIL}"
-
git remote set-url --push origin "https://PUSH_TOKEN:${ACCESS_TOKEN}@gricad-gitlab.univ-grenoble-alpes.fr/${CI_PROJECT_PATH}.git"
...
...
@@ -23,13 +24,19 @@ actualisation_dois:
-
git push origin HEAD:$CI_COMMIT_REF_NAME
-
git clone ${LINK_TO_CLONE}
-
ls
-
pwd
-
cp 1-enrich-with-datacite/nb-dois.txt ${PATH_TO_PUSH}
-
cd ${PATH_TO_PUSH}
-
pwd
-
ls
-
git config user.name "${GITLAB_USER_NAME}"
-
git config user.email "${GITLAB_USER_EMAIL}"
-
git remote set-url --push origin "https://PUSH_TOKEN2:${ACCESS_TOKEN2}@gricad-gitlab.univ-grenoble-alpes.fr/${PROJECT_PATH2}.git"
-
git add -f nb-dois.txt
-
git commit -m "Execution du pipeline. Actualisation du nombre de dois."
-
git remote -v
-
git status
-
git push origin HEAD:main
artifacts
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment