Skip to content

Commit

Permalink
Increased default artifact retention time to 24 hours - ref. common-c…
Browse files Browse the repository at this point in the history
…i-configuration#3
  • Loading branch information
Forinil committed Oct 17, 2023
1 parent 1aa5745 commit f80071a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
10 changes: 7 additions & 3 deletions .gitlab-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ include:
- local: '/scripts/ci-helpers/prepare_data_image_job.yml'
- local: '/scripts/ci-helpers/mirrornet_jobs.gitlab-ci.yml'
- project: 'hive/common-ci-configuration'
ref: dd5a7fb401b572c8d64ab700980ba943d33506ef
ref: 5c42c8019dd329000fd036668b22eb3eb99a743a
file:
- '/templates/wasm_build.gitlab-ci.yml'
- '/templates/python_projects.gitlab-ci.yml'
Expand Down Expand Up @@ -350,6 +350,9 @@ pre_commit_checks:
extends:
- .pre_commit_checks_template
- .python_static_analysis_configuration
artifacts:
paths:
- tests/python/hive-local-tools/poetry.lock

lint_code_with_ruff:
stage: static_code_analysis
Expand Down Expand Up @@ -652,7 +655,6 @@ patterns_tests:
- "$CI_PROJECT_DIR/tests/python/hive-local-tools/tests-api/hived/workdir_*"
- docker_entrypoint.log
when: always
expire_in: 6 hours
tags:
- data-cache-storage

Expand Down Expand Up @@ -714,7 +716,6 @@ python_pattern_mainnet_tests:
- "**/generated_by_package_fixtures"
- docker_entrypoint.log
when: always
expire_in: 6 hours
tags:
- data-cache-storage

Expand Down Expand Up @@ -876,6 +877,9 @@ several_node_restarts_tests:
- test -n "$HIVED_IMAGE_NAME"
- ./tests/integration/test_several_node_restarts.sh $CI_PROJECT_DIR/data_generated_during_hive_replay 1000000 1500000
artifacts:
reports:
dotenv:
- docker_image_name.env
paths:
- $CI_PROJECT_DIR/data_generated_during_hive_replay/datadir/docker_entrypoint.log
tags:
Expand Down
8 changes: 3 additions & 5 deletions scripts/ci-helpers/prepare_data_image_job.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
variables:
# Variables required by Common CI jobs
CI_COMMON_JOB_VERSION: "b5202fecccf40845099da351cbc0c38a6205339c"
CI_COMMON_JOB_VERSION: "5c42c8019dd329000fd036668b22eb3eb99a743a"
DOCKER_BUILDER_TAG: "$CI_COMMON_JOB_VERSION"
DOCKER_DIND_TAG: "$CI_COMMON_JOB_VERSION"
IMAGE_REMOVER_TAG: "$CI_COMMON_JOB_VERSION"

include:
- project: 'hive/common-ci-configuration'
ref: b5202fecccf40845099da351cbc0c38a6205339c # develop
ref: 5c42c8019dd329000fd036668b22eb3eb99a743a # develop
file: '/templates/docker_image_jobs.gitlab-ci.yml'

.docker_image_builder_job:
Expand Down Expand Up @@ -59,7 +59,6 @@ include:
paths:
- ./$BINARY_CACHE_PATH/*
- ./docker_image_name.env
expire_in: 6 hours

.prepare_hived_data_5m:
extends: .docker_image_builder_job
Expand All @@ -84,5 +83,4 @@ include:
- docker_image_name.env
- hived_uid.env
paths:
- docker_entrypoint.log
expire_in: 6 hours
- docker_entrypoint.log

0 comments on commit f80071a

Please sign in to comment.