Skip to content

Commit

Permalink
Add a test to make sure SegmentKey is working on release build (#3037)
Browse files Browse the repository at this point in the history
  • Loading branch information
rfay committed Jun 4, 2021
1 parent 851ac39 commit 5d74b5f
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/master-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ jobs:
- name: Build DDEV executables
run: make linux_amd64 linux_arm64 darwin_amd64 darwin_arm64

- name: "Verify that SegmentKey is working (Linux amd64)"
if: startsWith( github.ref, 'refs/tags/v1')
run: |
echo "DDEV_NO_INSTRUMENTATION=${DDEV_NO_INSTRUMENTATION}"
.gotmp/bin/linux_amd64/ddev config global | grep instrumentation-opt-in=true
.gotmp/bin/linux_amd64/ddev config global | grep -v "SegmentKey is not available."
- name: save build results to cache
uses: actions/cache@v2
with:
Expand All @@ -63,6 +70,14 @@ jobs:
- name: Build chocolatey on release
if: startsWith( github.ref, 'refs/tags/v1')
run: make chocolatey

- name: "Verify that SegmentKey is working (Windows)"
if: startsWith( github.ref, 'refs/tags/v1')
run: |
echo "DDEV_NO_INSTRUMENTATION=${DDEV_NO_INSTRUMENTATION}"
.gotmp/bin/windows_amd64/ddev.exe config global | grep instrumentation-opt-in=true
.gotmp/bin/windows_amd64/ddev.exe config global | grep -v "SegmentKey is not available."
- name: Cache signed binaries
uses: actions/cache@v2
with:
Expand Down

0 comments on commit 5d74b5f

Please sign in to comment.