From 6ec403f3f0ef8698100bf2a05e9b26165535407f Mon Sep 17 00:00:00 2001 From: "lpete@vmware.com" Date: Wed, 16 Aug 2023 14:54:57 -0400 Subject: [PATCH] Path length to maximum pk, rm e2e mysql for now Signed-off-by: lpete@vmware.com --- .github/workflows/verify_e2e-linux-mysql.yml | 66 ------------------- .../migrations/20211229105307_init.js | 2 +- 2 files changed, 1 insertion(+), 67 deletions(-) delete mode 100644 .github/workflows/verify_e2e-linux-mysql.yml diff --git a/.github/workflows/verify_e2e-linux-mysql.yml b/.github/workflows/verify_e2e-linux-mysql.yml deleted file mode 100644 index a0f1cae48d..0000000000 --- a/.github/workflows/verify_e2e-linux-mysql.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: E2E Linux MySQL -on: - # NOTE: If you change these you must update verify_e2e-linux-noop.yml as well - pull_request: - paths-ignore: - - '.changeset/**' - - 'contrib/**' - - 'docs/**' - - 'microsite/**' - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - build: - runs-on: ubuntu-latest - services: - mysql8: - image: mysql:8 - env: - MYSQL_ROOT_PASSWORD: root - options: >- - --health-cmd "mysqladmin ping -h localhost" - --health-interval 10s - --health-timeout 5s - --health-retries 5 - ports: - - 3306/tcp - - strategy: - fail-fast: true - matrix: - node-version: [16.x] - - env: - CI: true - NODE_OPTIONS: --max-old-space-size=4096 - - name: E2E Linux mysql ${{ matrix.node-version }} - steps: - - uses: actions/checkout@v3 - - - name: Configure Git - run: | - git config --global user.email noreply@backstage.io - git config --global user.name 'GitHub e2e user' - - name: use node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node-version }} - registry-url: https://registry.npmjs.org/ # Needed for auth - cache: '' - - name: yarn install - uses: backstage/actions/yarn-install@v0.6.4 - with: - cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}-${{ github.ref }} - - - run: yarn tsc - - run: yarn backstage-cli repo build - - name: run E2E test - run: | - yarn e2e-test run --dbms mysql - env: - BACKSTAGE_TEST_DISABLE_DOCKER: 1 - BACKSTAGE_TEST_DATABASE_MYSQL8_CONNECTION_STRING: mysql://root:root@localhost:${{ job.services.mysql8.ports[3306] }}/ignored diff --git a/plugins/app-backend/migrations/20211229105307_init.js b/plugins/app-backend/migrations/20211229105307_init.js index 4121272bd7..eb08f60e6a 100644 --- a/plugins/app-backend/migrations/20211229105307_init.js +++ b/plugins/app-backend/migrations/20211229105307_init.js @@ -26,7 +26,7 @@ exports.up = async function up(knex) { ); // setting to 64KB to account for long paths table - .string('path', 65535) + .string('path', 16383) .primary() .notNullable() .comment('The path of the file');