I have two projects, both configed s3 cache
[runners.cache]
Type = "s3"
Shared = true
[runners.cache.s3]
ServerAddress = "10.0.211.191:9000"
AccessKey = "TWbEUtjH6EQViU67"
SecretKey = "****************"
BucketName = "test"
Insecure = true
[runners.cache.gcs]
[runners.cache.azure]
Project A's gitlab-ci.yml
android_jni_build:
stage: build
tags: [build,for_android]
cache:
- key: $CI_COMMIT_BRANCH-android_jni_build
paths:
- output
policy: push
- key: android_auto_test
paths:
- output/android/apk
policy: push
script:
- set -eu
- bash $CI_PROJECT_DIR/build/android/build_jni.sh x86
- bash $CI_PROJECT_DIR/build/android/build_jni.sh x86_64
- bash $CI_PROJECT_DIR/build/android/build_jni.sh armeabi
- bash $CI_PROJECT_DIR/build/android/build_jni.sh armeabi-v7a
- bash $CI_PROJECT_DIR/build/android/build_jni.sh arm64
- bash $CI_PROJECT_DIR/build/android/build_apk.sh
android_test:
stage: test
needs:
- android_jni_build
trigger:
project: projectB
branch: auto_test
Project B's gitlab-ci.yml
AndroidTest:
stage: test
tags: [android,autotest]
cache:
key: android_auto_test
paths:
- output/android/apk
policy: pull
script:
- set -eu
- python run.py
Project A can upload apk files, but Project B couldn't download apk files, and I saw Project A upload to http://10.0.211.191:9000/test/project/4353/android_auto_test
, I guess only Project A's other job can download files because project/4353
...
Is there any other way to figure out it?