Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove semaphore cache as it will not be available on public clusters #4347

Merged
merged 4 commits into from
Jul 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: 'librdkafka build and release artifact pipeline'
agent:
machine:
type: s1-prod-macos-arm64
execution_time_limit:
hours: 3
global_job_config:
prologue:
commands:
Expand Down Expand Up @@ -239,11 +241,8 @@ blocks:
value: UCRT64
prologue:
commands:
- cache restore msys2-x64-${Env:ARTIFACT_KEY}
# Set up msys2
- "& .\\win32\\setup-msys2.ps1"
- cache delete msys2-x64-${Env:ARTIFACT_KEY}
- cache store msys2-x64-${Env:ARTIFACT_KEY} c:/msys64
epilogue:
commands:
- if ($env:SEMAPHORE_GIT_TAG_NAME -ne "") { artifact push workflow artifacts/ --destination artifacts/$Env:ARTIFACT_KEY/ }
Expand Down Expand Up @@ -277,8 +276,6 @@ blocks:
# install vcpkg in the parent directory.
- pwd
- cd ..
# Restore vcpkg caches, if any.
- cache restore vcpkg-archives-$Env:ARTIFACT_KEY
# Setup vcpkg
- "& .\\librdkafka\\win32\\setup-vcpkg.ps1"
- cd librdkafka
Expand All @@ -287,11 +284,8 @@ blocks:
- ..\vcpkg\vcpkg --feature-flags=versions install --triplet $Env:triplet
- cd ..
- pwd
# Store vcpkg caches
- ls vcpkg/
- echo $Env:VCPKG_ROOT
- cache delete vcpkg-archives-$Env:ARTIFACT_KEY
- cache store vcpkg-archives-$Env:ARTIFACT_KEY C:/Users/semaphore/AppData/Local/vcpkg/archives
- pwd
- cd librdkafka
epilogue:
Expand Down