Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Packer Openstack Hpc Image
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container 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
Krish Moodbidri
Packer Openstack Hpc Image
Commits
09e58efa
Commit
09e58efa
authored
2 years ago
by
Bo-Chun Chen
Browse files
Options
Downloads
Patches
Plain Diff
Update checking for sub project CRI_XCBC
parent
227e0987
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+9
-7
9 additions, 7 deletions
.gitlab-ci.yml
with
9 additions
and
7 deletions
.gitlab-ci.yml
+
9
−
7
View file @
09e58efa
...
...
@@ -45,18 +45,20 @@ setup_environment:
-
pip install --upgrade pip
-
pip install s3cmd ansible
-
|
if cd CRI_XCBC; then
git checkout uab-prod; git pull;
git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*';
else
git clone https://github.com/uabrc/CRI_XCBC.git;
cd CRI_XCBC;
if [ ! -d $CI_PROJECT_DIR/CRI_XCBC ]; then
git clone https://github.com/uabrc/CRI_XCBC.git
cd CRI_XCBC
git remote add upstream https://github.com/jprorama/CRI_XCBC.git
cd ..
fi
-
cd CRI_XCBC
-
git config user.name "${GIT_AUTHOR_NAME}"
-
git config user.email "${GIT_AUTHOR_EMAIL}"
-
git fetch upstream
-
git fetch --all
-
git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*'
-
git fetch upstream '+refs/pull/*/head:refs/remotes/upstream/pr/*'
-
git checkout uab-prod
-
git merge origin/uab-prod
-
git checkout -b integration
-
git merge upstream/uab-dev
-
cd ..
...
...
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