SDSTOR-24093: Duplicate inserts in wb_cache (#902) #717
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Homestore Build | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - stable/v7.x | |
| jobs: | |
| Build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| platform: ["ubuntu-24.04"] | |
| build-type: ["Debug", "Release"] | |
| malloc-impl: ["libc", "tcmalloc"] | |
| prerelease: ["True", "False"] | |
| tooling: ["Sanitize", "Coverage", "None"] | |
| exclude: | |
| - build-type: Debug | |
| prerelease: "False" | |
| - build-type: Debug | |
| tooling: None | |
| - build-type: Debug | |
| malloc-impl: tcmalloc | |
| - build-type: Release | |
| malloc-impl: libc | |
| - build-type: Release | |
| tooling: Sanitize | |
| - build-type: Release | |
| tooling: Coverage | |
| uses: ./.github/workflows/build_commit.yml | |
| with: | |
| platform: ${{ matrix.platform }} | |
| build-type: ${{ matrix.build-type }} | |
| malloc-impl: ${{ matrix.malloc-impl }} | |
| prerelease: ${{ matrix.prerelease }} | |
| tooling: ${{ matrix.tooling }} | |
| ChainBuild: | |
| needs: Build | |
| runs-on: "ubuntu-24.04" | |
| steps: | |
| - name: Get HomeObject default branch | |
| id: get-branch | |
| run: | | |
| set -euo pipefail | |
| DEFAULT_BRANCH=$(curl --fail --show-error --silent --location \ | |
| -H "Accept: application/vnd.github+json" \ | |
| -H "Authorization: Bearer ${{ secrets.CHAIN_BUILD_TOKEN }}" \ | |
| -H "X-GitHub-Api-Version: 2022-11-28" \ | |
| https://api.github.com/repos/eBay/homeobject \ | |
| | jq -r '.default_branch') | |
| if [ -z "$DEFAULT_BRANCH" ] || [ "$DEFAULT_BRANCH" = "null" ]; then | |
| echo "Failed to determine HomeObject default branch from GitHub API response" >&2 | |
| exit 1 | |
| fi | |
| echo "default_branch=$DEFAULT_BRANCH" >> "$GITHUB_OUTPUT" | |
| echo "HomeObject default branch: $DEFAULT_BRANCH" | |
| - name: Start HomeObject Build | |
| run: | | |
| curl -L \ | |
| -X POST \ | |
| -H "Accept: application/vnd.github+json" \ | |
| -H "Authorization: Bearer ${{ secrets.CHAIN_BUILD_TOKEN }}" \ | |
| -H "X-GitHub-Api-Version: 2022-11-28" \ | |
| https://api.github.com/repos/eBay/homeobject/actions/workflows/conan_build.yml/dispatches \ | |
| -d '{"ref":"${{ steps.get-branch.outputs.default_branch }}","inputs":{}}' | |
| if: ${{ github.ref == 'refs/heads/stable/v7.x' }} |