feat: ai-cache plugin #33
Workflow file for this run
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: Docker Standalone Test | |
| on: | |
| push: | |
| branches: [master, 'release/**'] | |
| paths: | |
| - 'apisix/cli/ops.lua' | |
| - 'docker/debian-dev/**' | |
| - 't/cli/test_standalone_docker.sh' | |
| - 'Makefile' | |
| - '.github/workflows/docker-standalone.yml' | |
| pull_request: | |
| branches: [master, 'release/**'] | |
| paths: | |
| - 'apisix/cli/ops.lua' | |
| - 'docker/debian-dev/**' | |
| - 't/cli/test_standalone_docker.sh' | |
| - 'Makefile' | |
| - '.github/workflows/docker-standalone.yml' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| docker-test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Build APISIX Dashboard | |
| run: | | |
| # install node.js and pnpm | |
| sudo n lts | |
| corepack enable pnpm | |
| # prepare apisix-dashboard source code | |
| source .requirements | |
| git clone --revision=${APISIX_DASHBOARD_COMMIT} --depth 1 https://github.com/apache/apisix-dashboard.git | |
| pushd apisix-dashboard | |
| # compile | |
| pnpm install --frozen-lockfile | |
| pnpm run build | |
| popd | |
| # copy the dist files to the ui directory | |
| mkdir ui | |
| cp -r apisix-dashboard/dist/* ui/ | |
| rm -r apisix-dashboard | |
| # build Docker image | |
| make build-on-debian-dev | |
| - name: Run Docker standalone test | |
| run: | | |
| ./t/cli/test_standalone_docker.sh |