Skip to content

Add migration script for scoped API keys #2061

Add migration script for scoped API keys

Add migration script for scoped API keys #2061

Triggered via pull request August 2, 2023 08:47
@beenjebeenje
opened #655
Status Failure
Total duration 8m 1s
Artifacts

ci.yml

on: pull_request_target
Matrix: test_quetz
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 5 warnings
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/tests/test_cli.py#L157
test_run_migrations sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'SELECT api_keys.user_id, api_keys.owner_id FROM api_keys\n INNER JOIN users ON users.id = api_keys.user_id\n WHERE users.username is NULL;\n '
test_quetz (ubuntu-latest, sqlite, use-migrations): quetz/tests/test_cli.py#L246
test_make_migrations_plugin_with_alembic sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'SELECT api_keys.user_id, api_keys.owner_id FROM api_keys\n INNER JOIN users ON users.id = api_keys.user_id\n WHERE users.username is NULL;\n '
test_quetz (ubuntu-latest, sqlite, use-migrations)
Process completed with exit code 1.
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/tests/test_cli.py#L157
test_run_migrations sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'SELECT api_keys.user_id, api_keys.owner_id FROM api_keys\n INNER JOIN users ON users.id = api_keys.user_id\n WHERE users.username is NULL;\n '
test_quetz (ubuntu-latest, sqlite, create-tables): quetz/tests/test_cli.py#L246
test_make_migrations_plugin_with_alembic sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'SELECT api_keys.user_id, api_keys.owner_id FROM api_keys\n INNER JOIN users ON users.id = api_keys.user_id\n WHERE users.username is NULL;\n '
test_quetz (ubuntu-latest, sqlite, create-tables)
Process completed with exit code 1.
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/tests/test_cli.py#L157
test_run_migrations sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'SELECT api_keys.user_id, api_keys.owner_id FROM api_keys\n INNER JOIN users ON users.id = api_keys.user_id\n WHERE users.username is NULL;\n '
test_quetz (ubuntu-latest, postgres, use-migrations): quetz/tests/test_cli.py#L246
test_make_migrations_plugin_with_alembic sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'SELECT api_keys.user_id, api_keys.owner_id FROM api_keys\n INNER JOIN users ON users.id = api_keys.user_id\n WHERE users.username is NULL;\n '
test_quetz (ubuntu-latest, postgres, use-migrations)
Process completed with exit code 1.
test_quetz (ubuntu-latest, postgres, create-tables): quetz/tests/test_cli.py#L157
test_run_migrations sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'SELECT api_keys.user_id, api_keys.owner_id FROM api_keys\n INNER JOIN users ON users.id = api_keys.user_id\n WHERE users.username is NULL;\n '
test_quetz (ubuntu-latest, postgres, create-tables): quetz/tests/test_cli.py#L246
test_make_migrations_plugin_with_alembic sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: 'SELECT api_keys.user_id, api_keys.owner_id FROM api_keys\n INNER JOIN users ON users.id = api_keys.user_id\n WHERE users.username is NULL;\n '
test_quetz (ubuntu-latest, postgres, create-tables)
Process completed with exit code 1.
test_release
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_quetz (ubuntu-latest, sqlite, use-migrations)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_quetz (ubuntu-latest, sqlite, create-tables)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_quetz (ubuntu-latest, postgres, use-migrations)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_quetz (ubuntu-latest, postgres, create-tables)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/