Skip to content

Commit

Permalink
Merge branch 'main' into add_ena_slack_notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker authored Aug 13, 2024
2 parents 6f27094 + b2ab4cf commit 1f4fe5e
Show file tree
Hide file tree
Showing 52 changed files with 14,098 additions and 13,118 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/ingest-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: ingest-tests
on:
# test
pull_request:
paths:
- "ingest/**"
- ".github/workflows/ingest-tests.yml"
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ci-${{ github.ref == 'refs/heads/main' && github.run_id || github.ref }}-ingest-tests
cancel-in-progress: true
jobs:
unitTests:
name: Unit Tests
runs-on: codebuild-loculus-ci-${{ github.run_id }}-${{ github.run_attempt }}
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Set up micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ingest/environment.yml
micromamba-version: 'latest'
init-shell: >-
bash powershell
cache-environment: true
post-cleanup: 'all'
- name: Run tests
run: |
micromamba activate loculus-ingest
pytest tests/
shell: micromamba-shell {0}
working-directory: ingest
6 changes: 3 additions & 3 deletions backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
id 'org.springframework.boot' version '3.3.2'
id 'io.spring.dependency-management' version '1.1.6'
id 'org.jetbrains.kotlin.jvm' version '2.0.0'
id 'org.jetbrains.kotlin.plugin.spring' version '2.0.0'
id 'org.jetbrains.kotlin.jvm' version '2.0.10'
id 'org.jetbrains.kotlin.plugin.spring' version '2.0.10'
id 'org.jlleitschuh.gradle.ktlint' version '12.1.1'
id 'org.springdoc.openapi-gradle-plugin' version '1.9.0'
}
Expand Down Expand Up @@ -47,7 +47,7 @@ dependencies {
implementation "org.springframework.boot:spring-boot-starter-oauth2-resource-server"
implementation "org.springframework.boot:spring-boot-starter-security"

implementation 'org.apache.commons:commons-compress:1.26.2'
implementation 'org.apache.commons:commons-compress:1.27.0'
implementation 'com.github.luben:zstd-jni:1.5.6-4'
implementation 'org.tukaani:xz:1.10'

Expand Down
18 changes: 18 additions & 0 deletions docs/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "all",
"semi": true,
"jsxSingleQuote": true,
"singleQuote": true,
"quoteProps": "consistent",
"plugins": ["prettier-plugin-astro", "prettier-plugin-tailwindcss"],
"overrides": [
{
"files": "*.astro",
"options": {
"parser": "astro"
}
}
]
}
12 changes: 6 additions & 6 deletions docs/.vite/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"hash": "c1e8de51",
"configHash": "0c82321a",
"lockfileHash": "25f1fc72",
"browserHash": "cf2b5ff5",
"optimized": {},
"chunks": {}
"hash": "c1e8de51",
"configHash": "0c82321a",
"lockfileHash": "25f1fc72",
"browserHash": "cf2b5ff5",
"optimized": {},
"chunks": {}
}
2 changes: 1 addition & 1 deletion docs/.vite/deps/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"type": "module"
"type": "module"
}
4 changes: 2 additions & 2 deletions docs/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
}
18 changes: 9 additions & 9 deletions docs/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
"version": "0.2.0",
"configurations": [
{
"command": "./node_modules/.bin/astro dev",
"name": "Development server",
"request": "launch",
"type": "node-terminal"
}
]
}
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ All commands are run from the root of the project, from a terminal:
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
| `npm run astro -- --help` | Get help using the Astro CLI |

## More information.
## More information.

Check out [Starlight’s docs](https://starlight.astro.build/), read [the Astro documentation](https://docs.astro.build).
69 changes: 40 additions & 29 deletions docs/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,33 +1,44 @@
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import tailwind from '@astrojs/tailwind';

// https://astro.build/config
export default defineConfig({
base: "/loculus/",
integrations: [
starlight({
title: "Loculus",
editLink: {
baseUrl: "https://github.com/loculus-project/loculus/edit/main/docs/",
},

social: {
github: "https://github.com/loculus-project/loculus",
},
sidebar: [
{
label: "Guides",
items: [
// Each item here is one entry in the navigation menu.
{ label: "Getting started", link: "/guides/getting-started/" },
{ label: "User administration", link: "/guides/user-administration/" },
],
},
{
label: "Reference",
autogenerate: { directory: "reference" },
},
],
}),
],
base: '/loculus/',
integrations: [
starlight({
title: 'Loculus',
editLink: {
baseUrl: 'https://github.com/loculus-project/loculus/edit/main/docs/',
},
customCss: ['./src/styles/custom.css'],
social: {
github: 'https://github.com/loculus-project/loculus',
},
sidebar: [
{
label: 'Introduction',
items: [
{ label: 'What is Loculus?', link: '/introduction/what-is-loculus/' },
{ label: 'Current state and roadmap', link: '/introduction/current-state-and-roadmap/' },
{ label: 'Glossary', link: '/introduction/glossary/' },
{ label: 'System overview', link: '/introduction/system-overview/' },
],
},
{
label: 'For administrators',
items: [
{ label: 'Getting started', link: '/for-administrators/getting-started/' },
{ label: 'Setup with Kubernetes', link: '/for-administrators/setup-with-kubernetes/' },
{ label: 'User administration', link: '/for-administrators/user-administration/' },
],
},
{
label: 'Reference',
autogenerate: { directory: 'reference' },
},
],
}),
tailwind(),
],
});
Loading

0 comments on commit 1f4fe5e

Please sign in to comment.