Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit 7a43cb6

Browse files
authored
Merge pull request #114 from hifis-net/112-update_v1.17.0
Update v1.17.1
2 parents 8c338c0 + c3dab75 commit 7a43cb6

File tree

107 files changed

+1673
-991
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+1673
-991
lines changed

.github/workflows/e2e_tests_ubuntu.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# SPDX-FileCopyrightText: 2022 Dusan Mijatovic (dv4all)
1+
# SPDX-FileCopyrightText: 2022 - 2023 Dusan Mijatovic (dv4all)
2+
# SPDX-FileCopyrightText: 2022 - 2023 dv4all
23
# SPDX-FileCopyrightText: 2022 Dusan Mijatovic (dv4all) (dv4all)
34
# SPDX-FileCopyrightText: 2022 Ewan Cahen (Netherlands eScience Center) <[email protected]>
45
# SPDX-FileCopyrightText: 2022 Netherlands eScience Center
@@ -24,22 +25,34 @@ jobs:
2425
node-version: 18.5
2526
cache: 'npm'
2627
cache-dependency-path: e2e/package-lock.json
28+
- name: get playwright version
29+
id: playwright-version
30+
working-directory: e2e
31+
run: echo "PLAYWRIGHT_VERSION=$(node -e "console.log(require('./package-lock.json').dependencies['@playwright/test'].version)")" >> $GITHUB_ENV
32+
- name: cache playwright binaries
33+
uses: actions/cache@v3
34+
id: playwright-cache
35+
with:
36+
path: |
37+
~/.cache/ms-playwright
38+
key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
2739
- name: install dependencies
2840
working-directory: e2e
2941
run: npm ci
3042
- name: install browsers
3143
working-directory: e2e
3244
run: npx playwright install chromium chrome firefox --with-deps
45+
if: steps.playwright-cache.outputs.cache-hit != 'true'
3346
- name: build rsd
3447
working-directory: .
3548
run: |
3649
cp e2e/.env.e2e .env
37-
docker-compose build --parallel database backend auth frontend nginx swagger
50+
docker-compose build --parallel database backend auth frontend nginx
3851
- name: start rsd
3952
working-directory: .
4053
run: |
41-
docker-compose up --detach database backend auth frontend nginx swagger
42-
sleep 10
54+
docker-compose up --detach database backend auth frontend nginx
55+
sleep 5
4356
- name: run e2e tests
4457
working-directory: e2e
4558
run: npm run e2e:ubuntu

CITATION.cff

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ references:
5151
- name: "Netherlands eScience Center"
5252
title: "Research Software Directory (as a service)"
5353
doi: 10.5281/zenodo.6379973
54-
version: v1.16.0
54+
version: v1.17.1
5555
repository-code: https://github.com/research-software-directory/RSD-as-a-service
5656
keywords:
5757
- Research Software
@@ -62,5 +62,5 @@ keywords:
6262
license:
6363
- EUPL-1.2
6464
- Apache-2.0
65-
version: hifis-1.5.0
66-
date-released: '2023-02-14'
65+
version: hifis-1.6.0
66+
date-released: '2023-02-27'

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
# SPDX-FileCopyrightText: 2022 - 2023 Dusan Mijatovic (dv4all)
2+
# SPDX-FileCopyrightText: 2022 - 2023 dv4all
13
# SPDX-FileCopyrightText: 2022 Christian Meeßen (GFZ) <[email protected]>
2-
# SPDX-FileCopyrightText: 2022 Dusan Mijatovic (dv4all)
34
# SPDX-FileCopyrightText: 2022 Ewan Cahen (Netherlands eScience Center) <[email protected]>
45
# SPDX-FileCopyrightText: 2022 Helmholtz Centre Potsdam - GFZ German Research Centre for Geosciences
56
# SPDX-FileCopyrightText: 2022 Jesús García Gonzalez (Netherlands eScience Center) <[email protected]>
67
# SPDX-FileCopyrightText: 2022 Netherlands eScience Center
7-
# SPDX-FileCopyrightText: 2022 dv4all
88
#
99
# SPDX-License-Identifier: Apache-2.0
1010
# SPDX-License-Identifier: EUPL-1.2
@@ -83,8 +83,8 @@ dev-frontend: frontend/.env.local
8383
# run end-to-end test locally
8484
e2e-tests:
8585
docker-compose down --volumes
86-
docker-compose build --parallel database backend auth frontend nginx swagger
87-
docker-compose up --detach database backend auth frontend nginx swagger
86+
docker-compose build --parallel database backend auth frontend nginx
87+
docker-compose up --detach database backend auth frontend nginx
8888
sleep 10
8989
docker-compose --file e2e/docker-compose.yml build
9090
docker-compose --file e2e/docker-compose.yml up

data-generation/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# SPDX-FileCopyrightText: 2022 Ewan Cahen (Netherlands eScience Center) <[email protected]>
2-
# SPDX-FileCopyrightText: 2022 Netherlands eScience Center
1+
# SPDX-FileCopyrightText: 2022 - 2023 Ewan Cahen (Netherlands eScience Center) <[email protected]>
2+
# SPDX-FileCopyrightText: 2022 - 2023 Netherlands eScience Center
33
#
44
# SPDX-License-Identifier: Apache-2.0
55

6-
FROM node:18.8.0-bullseye-slim
6+
FROM node:18.14.0-bullseye-slim
77
WORKDIR /usr/app
88
COPY ./package.json /usr/app
99
RUN npm install

data-generation/main.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,9 @@ async function generateSofware(amount=50) {
140140

141141
const brandNames = [];
142142
for (let index = 0; index < amount; index++) {
143+
const maxWords = faker.helpers.maybe(() => 5, {probability: 0.8}) ?? 31;
143144
const brandName = faker.helpers.unique(() =>
144-
('Software: ' + faker.random.words(faker.mersenne.rand(31, 1))).substring(0, 200)
145+
('Software: ' + faker.random.words(faker.mersenne.rand(maxWords, 1))).substring(0, 200)
145146
);
146147
brandNames.push(brandName);
147148
}
@@ -331,8 +332,9 @@ async function generateProjects(amount=50) {
331332
const projectStatuses = ['finished', 'running', 'starting'];
332333

333334
for (let index = 0; index < amount; index++) {
335+
const maxWords = faker.helpers.maybe(() => 5, {probability: 0.8}) ?? 31;
334336
const title = faker.helpers.unique(() =>
335-
('Project: ' + faker.random.words(faker.mersenne.rand(31, 1))).substring(0, 200)
337+
('Project: ' + faker.random.words(faker.mersenne.rand(maxWords, 1))).substring(0, 200)
336338
);
337339

338340
const status = faker.helpers.arrayElement(projectStatuses);
@@ -463,8 +465,9 @@ async function generateOrganisations(amount=50) {
463465

464466
const names = [];
465467
for (let index = 0; index < amount; index++) {
468+
const maxWords = faker.helpers.maybe(() => 5, {probability: 0.8}) ?? 31;
466469
const name = faker.helpers.unique(() =>
467-
('Organisation: ' + faker.random.words(faker.mersenne.rand(31, 1))).substring(0, 200)
470+
('Organisation: ' + faker.random.words(faker.mersenne.rand(maxWords, 1))).substring(0, 200)
468471
);
469472
names.push(name);
470473
}

0 commit comments

Comments
 (0)