Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
orchestra
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
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
revng
orchestra
Commits
cfc9a110
Commit
cfc9a110
authored
4 years ago
by
Filippo Cremonese
Browse files
Options
Downloads
Patches
Plain Diff
Updated CI script
parent
924372d3
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
+33
-17
33 additions, 17 deletions
.gitlab-ci.yml
with
33 additions
and
17 deletions
.gitlab-ci.yml
+
33
−
17
View file @
cfc9a110
...
...
@@ -13,21 +13,37 @@ create-binaries:
-
python3 setup.py bdist_wheel
-
pip3 install dist/orchestra*.whl
-
cd "$CI_PROJECT_DIR"
-
git checkout -B "$CI_COMMIT_REF_NAME" "$CI_COMMIT_SHA"
-
|
git remote add internal https://gitlab-ci-token:${CI_JOB_TOKEN}@rev.ng/gitlab/revng-internal/revng-orchestra.git || \
git remote set-url internal https://gitlab-ci-token:${CI_JOB_TOKEN}@rev.ng/gitlab/revng-internal/revng-orchestra.git || \
true
-
|
git remote add private https://gitlab-ci-token:${CI_JOB_TOKEN}@rev.ng/gitlab/revng-private/orchestra-v3.git || \
git remote set-url private https://gitlab-ci-token:${CI_JOB_TOKEN}@rev.ng/gitlab/revng-private/orchestra-v3.git || \
true
-
orchestra update
-
orchestra -b install --create-binary-archives ui/cold-revng
# - cd .orchestra/binary_archives
# - git config user.email "gitlabci@rev.ng"
# - git config user.name "rev.ng Gitlab CI"
# - git add .
# - git commit -m "Binary archives built on $(date)"
# - git push
# - git-lfs push
cat - > .orchestra/config/user_options.yml <<EOF
#@data/values
---
#@overlay/match missing_ok=True
remote_base_urls:
- personal: "https://gitlab-ci-token:${CI_JOB_TOKEN}@rev.ng/gitlab/${CI_PROJECT_NAMESPACE}"
- internal: "https://gitlab-ci-token:${CI_JOB_TOKEN}@rev.ng/gitlab/revng-internal"
- private: "https://gitlab-ci-token:${CI_JOB_TOKEN}@rev.ng/gitlab/revng-private"
#@overlay/match missing_ok=True
binary_archives:
- personal: "https://gitlab-ci-token:${CI_JOB_TOKEN}@rev.ng/gitlab/${CI_PROJECT_NAMESPACE}/binary-archives"
#@overlay/replace
build_from_source:
- llvmcpy
- revng-qa
- revng
- revng-c
- caliban
- ui/cold-revng
- revng-distributable
EOF
-
orchestra update --no-config
-
orchestra -b install --create-binary-archives ui/revng-distributable
-
cd .orchestra/binary_archives
-
git config user.email "gitlabci@rev.ng"
-
git config user.name "rev.ng Gitlab CI"
-
git add .
-
git commit -m "Binary archives built on $(date) for commit ${CI_COMMIT_SHA}"
-
git push
-
git-lfs push
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