Skip to content

Commit

Permalink
remove semaphore cache as it will not be available on public clusters (
Browse files Browse the repository at this point in the history
…#4347)

* add debug

* remove cache

* increase timeout to 3h due to non-caching
  • Loading branch information
jkuhnashconfluent authored Jul 24, 2023
1 parent efc65e7 commit c07a335
Showing 1 changed file with 2 additions and 8 deletions.
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

0 comments on commit c07a335

Please sign in to comment.