Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
jsonrpsee
Commits
cf372353
Unverified
Commit
cf372353
authored
Oct 07, 2022
by
Alexander Samusev
Committed by
GitHub
Oct 07, 2022
Browse files
[ci][benchmarks] Change output.txt file path in gitlab ci (#898)
parent
a7108a7d
Pipeline
#220004
passed with stages
in 54 minutes and 11 seconds
Changes
2
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
.github/workflows/benchmarks_gitlab.yml
View file @
cf372353
...
...
@@ -29,7 +29,7 @@ jobs:
-
name
:
Copy bench results
id
:
step_one
run
:
|
cp bench/
$(date "+%d-%m-%Y")
/output.txt output.txt
cp bench/
gitlab
/output.txt output.txt
-
name
:
Switch branch
id
:
step_two
...
...
.gitlab-ci.yml
View file @
cf372353
...
...
@@ -155,9 +155,10 @@ publish-ghpages:
-
git fetch origin gh-pages
# Push result to github
-
git checkout gh-pages
-
mkdir bench/$(date +%d-%m-%Y) || echo "Directory exists"
-
cp artifacts/output.txt bench/$(date +%d-%m-%Y)/
-
git add bench/$(date +%d-%m-%Y)/output.txt
-
mkdir -p bench/gitlab || echo "Directory exists"
-
rm -f bench/gitlab/output.txt || echo "No output.txt"
-
cp artifacts/output.txt bench/gitlab/
-
git add bench/gitlab/output.txt
-
git commit -m "Add output.txt with benchmark results for ${CI_COMMIT_REF_NAME}"
-
git push origin gh-pages
allow_failure
:
true
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment