Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
picodata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
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
core
picodata
Commits
a15e31df
Commit
a15e31df
authored
9 months ago
by
Виталий Шунков
Committed by
Виталий Шунков
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
ci: fix cache with duplicate paths
parent
f678f7cc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1414
sbroad import
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-16
11 additions, 16 deletions
.gitlab-ci.yml
with
11 additions
and
16 deletions
.gitlab-ci.yml
+
11
−
16
View file @
a15e31df
...
...
@@ -7,6 +7,9 @@ variables:
DOCKER_AUTH_CONFIG
:
$DOCKER_AUTH_RW
FF_NETWORK_PER_BUILD
:
1
RAW_REGISTRY
:
$RAW_PRIVATE_REGISTRY
FF_USE_FASTZIP
:
"
true"
CACHE_COMPRESSION_LEVEL
:
"
fastest"
CI_DEBUG_SERVICES
:
"
true"
...
...
@@ -28,9 +31,7 @@ workflow:
-
if
:
$CI_PIPELINE_SOURCE == "web"
.cache-rocks
:
&cache-rocks
key
:
files
:
-
sbroad-cartridge/sbroad-scm-1.rockspec
key
:
${CI_COMMIT_REF_SLUG}
paths
:
-
target
...
...
@@ -41,12 +42,6 @@ workflow:
paths
:
-
sbroad-cartridge/test_app/.rocks
.cache-libso
:
-
&cache-libso
key
:
${CI_COMMIT_REF_SLUG}-libso
paths
:
-
target/release/libsbroad_cartridge.so
default
:
tags
:
-
docker
...
...
@@ -59,7 +54,9 @@ build-lib:
script
:
-
make
cache
:
-
<<
:
*cache-libso
-
<<
:
*cache-rocks
policy
:
push
-
<<
:
*cache-rocks-app
policy
:
push
.kaniko_image
:
&kaniko_image
...
...
@@ -95,7 +92,7 @@ build-stress-image:
stage
:
build
<<
:
*kaniko_image
cache
:
-
<<
:
*cache-
libso
-
<<
:
*cache-
rocks
policy
:
pull
variables
:
GIT_USERNAME
:
$CI_REGISTRY_USER
...
...
@@ -114,10 +111,10 @@ build-stress-image:
.test
:
stage
:
test
cache
:
-
<<
:
*cache-libso
policy
:
pull
-
<<
:
*cache-rocks
policy
:
pull
-
<<
:
*cache-rocks-app
policy
:
pull
lint
:
extends
:
[
.test
]
...
...
@@ -173,8 +170,6 @@ stress_tests:
paths
:
-
sbroad-cartridge/stress-test/$CI_COMMIT_BRANCH/${STRESS_TEST}/k6_summary.json
policy
:
push
-
<<
:
*cache-libso
policy
:
pull
-
<<
:
*cache-rocks
policy
:
pull
-
<<
:
*cache-rocks-app
...
...
@@ -256,5 +251,5 @@ deploy-luarocks:
-
scp -o stricthostkeychecking=no sbroad*rock luarocks@94.26.239.246:/data/nginx/www/packrepo/luarocks
-
ssh -o stricthostkeychecking=no luarocks@94.26.239.246 "luarocks-admin make_manifest /data/nginx/www/packrepo/luarocks"
cache
:
-
<<
:
*cache-
libso
-
<<
:
*cache-
rocks
policy
:
pull
\ No newline at end of file
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