Skip to content

OXDEV-7248 Update changelog #253

OXDEV-7248 Update changelog

OXDEV-7248 Update changelog #253

Workflow file for this run

name: Auto trigger on push or pull requests
# Matrix workflow using re-usable github actions
on:
pull_request: {}
push: {}
jobs:
build_testplan:
runs-on: 'ubuntu-latest'
outputs:
testplan: '${{ steps.build.outputs.testplan }}'
steps:
- name: 'Build testplan'
id: build
run: |
# Build testplan
if [ '${{ github.event_name }}' == 'pull_request' ]; then
REF_TO_CHECK='refs/heads/${{ github.base_ref }}'
LIMIT70=""
LIMIT=""
else
REF_TO_CHECK='${{ github.ref }}'
# shellcheck disable=SC2088
LIMIT70="~/defaults/php8.1_mysql5.7_only.yml,"
# shellcheck disable=SC2088
LIMIT="~/defaults/php8.2_mysql5.7_only.yml,"
fi
# shellcheck disable=SC2088
case "${REF_TO_CHECK}" in
refs/heads/b-7.0.x*) TESTPLAN="~/defaults/7.0.x.yml,${LIMIT70}~/shop_ce_70x.yml" ;;
refs/heads/b-7.1.x*) TESTPLAN="~/defaults/7.1.x.yml,${LIMIT}~/shop_ce.yml" ;;
refs/heads/b-7.2.x*) TESTPLAN="~/defaults/7.2.x.yml,${LIMIT}~/shop_ce.yml" ;;
refs/heads/b-8.0.x*) TESTPLAN="${LIMIT}~/shop_ce.yml" ;;
*)
echo "Can't match ${REF_TO_CHECK} to a version, can't determine test plan."
echo "Branch names should start with b-<major>.<minor>.x"
exit 1
;;
esac
echo "testplan=${TESTPLAN}" | tee -a "${GITHUB_OUTPUT}"
shop_ce:
needs: build_testplan
uses: oxid-eSales/github-actions/.github/workflows/call-universal_test_workflow.yml@v4
with:
testplan: ${{ needs.build_testplan.outputs.testplan }}
runs_on: '"ubuntu-latest"'
defaults: 'v4'
plan_folder: '.github/oxid-esales'
secrets:
DOCKER_HUB_USER: ${{ secrets.DOCKER_HUB_USER }}
DOCKER_HUB_TOKEN: ${{ secrets.DOCKER_HUB_TOKEN }}
CACHE_ENDPOINT: ${{ secrets.CACHE_ENDPOINT }}
CACHE_ACCESS_KEY: ${{ secrets.CACHE_ACCESS_KEY }}
CACHE_SECRET_KEY: ${{ secrets.CACHE_SECRET_KEY }}
enterprise_github_token: ${{ secrets.enterprise_github_token }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}