Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Duniter v2S
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
Container Registry
Model registry
Monitor
Service Desk
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
nodes
rust
Duniter v2S
Commits
8cd073e7
Commit
8cd073e7
authored
1 year ago
by
Hugo Trentesaux
Browse files
Options
Downloads
Patches
Plain Diff
revert benchmark removal in CI (
!211
)
* revert benchmark removal
parent
a7c628ba
No related branches found
No related tags found
1 merge request
!211
revert benchmark removal in CI
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+29
-29
29 additions, 29 deletions
.gitlab-ci.yml
with
29 additions
and
29 deletions
.gitlab-ci.yml
+
29
−
29
View file @
8cd073e7
...
...
@@ -14,14 +14,14 @@ stages:
workflow
:
rules
:
-
changes
:
-
docker/Dockerfile
-
end2end-tests/**/*
-
node/**/*
-
pallets/**/*
-
runtime/**/*
-
.gitlab-ci.yml
-
Cargo.toml
-
Cargo.lock
-
docker/Dockerfile
-
end2end-tests/**/*
-
node/**/*
-
pallets/**/*
-
runtime/**/*
-
.gitlab-ci.yml
-
Cargo.toml
-
Cargo.lock
sanity_tests
:
extends
:
.env
...
...
@@ -65,24 +65,24 @@ fmt_and_clippy:
-
cargo clippy -- -V
-
cargo clippy --all --tests -- -D warnings
#
run_benchmarks:
#
stage: tests
#
script:
#
- echo podman build --layers --tag "$IMAGE_NAME:$IMAGE_TAG" -f docker/Dockerfile $PODMAN_BUILD_OPTIONS .
#
- podman build --layers --tag "$IMAGE_NAME:$IMAGE_TAG" -f docker/Dockerfile $PODMAN_BUILD_OPTIONS .
#
rules:
#
- if: $CI_COMMIT_REF_NAME =~ /^wip*$/
#
when: manual
#
- if: $CI_COMMIT_TAG
#
when: never
#
- if: '$CI_MERGE_REQUEST_ID || $CI_COMMIT_BRANCH == "master"'
#
- when: manual
#
variables:
#
IMAGE_NAME: "duniter/duniter-v2s-test"
#
IMAGE_TAG: "debug-sha-$CI_COMMIT_SHORT_SHA"
#
PODMAN_BUILD_OPTIONS: "--target build --build-arg benchmarks=1"
#
tags:
#
- podman
run_benchmarks
:
stage
:
tests
script
:
-
echo podman build --layers --tag "$IMAGE_NAME:$IMAGE_TAG" -f docker/Dockerfile $PODMAN_BUILD_OPTIONS .
-
podman build --layers --tag "$IMAGE_NAME:$IMAGE_TAG" -f docker/Dockerfile $PODMAN_BUILD_OPTIONS .
rules
:
-
if
:
$CI_COMMIT_REF_NAME =~ /^wip*$/
when
:
manual
-
if
:
$CI_COMMIT_TAG
when
:
never
-
if
:
'
$CI_MERGE_REQUEST_ID
||
$CI_COMMIT_BRANCH
==
"master"'
-
when
:
manual
variables
:
IMAGE_NAME
:
"
duniter/duniter-v2s-test"
IMAGE_TAG
:
"
debug-sha-$CI_COMMIT_SHORT_SHA"
PODMAN_BUILD_OPTIONS
:
"
--target
build
--build-arg
benchmarks=1"
tags
:
-
podman
gdev_build
:
stage
:
build
...
...
@@ -130,8 +130,8 @@ tests:
rules
:
-
if
:
$CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_BRANCH =~ /^(release\/runtime-)[0-9].*/
when
:
manual
# changes:
# - node/specs/$CHAIN-raw.json
# changes:
# - node/specs/$CHAIN-raw.json
-
when
:
never
before_script
:
-
sh -c "[ -n '$DUNITERTEAM_PASSWD' ] || ( echo No access to environment variable 'DUNITERTEAM_PASSWD'; exit 1 )"
...
...
@@ -312,7 +312,7 @@ create_release:
stage
:
release
rules
:
-
if
:
$CI_PIPELINE_SOURCE != "merge_request_event" && $CI_COMMIT_BRANCH =~ /^(release\/runtime-)[0-9].*/
needs
:
[
'
create_g1_data
'
,
'
gdev_srtool
'
,
'
gtest_srtool
'
]
needs
:
[
"
create_g1_data
"
,
"
gdev_srtool
"
,
"
gtest_srtool
"
]
when
:
manual
image
:
rust:1-bullseye
variables
:
...
...
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