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

Add upgrade test #3012

Merged
merged 6 commits into from
May 2, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
several fixes
  • Loading branch information
hubertdeng123 committed May 2, 2024
commit bf94d6403f7379424fb689b35c74ea49c2d15483
24 changes: 13 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,18 @@ jobs:
if: github.repository_owner == 'getsentry'
runs-on: ubuntu-22.04
name: "Sentry upgrade test"
env:
REPORT_SELF_HOSTED_ISSUES: 0
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: true

- name: Get latest self-hosted release version
run: |
LATEST_TAG=$(git describe --tags `git rev-list --tags --max-count=1`)
echo "LATEST_TAG=$LATEST_TAG" >> $GITHUB_ENV

- name: Checkout latest self-hosted version
uses: actions/checkout@v4
ref: {{ env.LATEST_TAG }}
LATEST_TAG=$(git tag --sort=committerdate | tail -1)
git checkout "$LATEST_TAG"

- name: Get Compose
run: |
Expand All @@ -63,14 +66,13 @@ jobs:
sudo curl -L https://github.com/docker/compose/releases/download/v2.26.0/docker-compose-`uname -s`-`uname -m` -o "/usr/local/lib/docker/cli-plugins/docker-compose"
sudo chmod +x "/usr/local/lib/docker/cli-plugins/docker-compose"

- name: Install {{ env.LATEST_TAG }}
- name: Install ${{ env.LATEST_TAG }}
run: ./install.sh

- name: Checkout master
uses: actions/checkout@v4

- name: Install master
run: ./install.sh
run: |
git checkout master
./install.sh

integration-test:
if: github.repository_owner == 'getsentry'
Expand Down
Loading