Skip to content

Commit e806e96

Browse files
authored
Release 31-01-2025 (#1731)
## Description Short description of the pull request ## Motivation Background on use case, changes needed ## Fixes: Please provide a list of the fixes implemented in this PR * Items added ## Changes: Please provide a list of the changes implemented by this PR * changes made ## Tests included - [ ] Included for each change/fix? - [ ] Passing? (Merge will not be approved unless this is checked) ## Documentation - [ ] swagger documentation updated \[required\] - [ ] official documentation updated \[nice-to-have\] ### official documentation info If you have updated the official documentation, please provide PR # and URL of the pages where the updates are included ## Backend version - [ ] Does it require a specific version of the backend - which version of the backend is required: ## Summary by Sourcery Update the dataset details view to support internationalization. New Features: - Added support for internationalization in the Dataset Details view. Tests: - Updated tests to cover internationalization changes.
2 parents 6b1447d + 908d67d commit e806e96

File tree

137 files changed

+2859
-2942
lines changed

Some content is hidden

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

137 files changed

+2859
-2942
lines changed

.github/pr-title-checker-config.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"LABEL": {
3+
"name": ""
4+
},
5+
"CHECKS": {
6+
"NOTE": "You can test the regex here: https://regex101.com/r/nDeps5/1",
7+
"regexp": "(^(?<type>build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test|BREAKING CHANGE)(?<scope>\\([\\w\\s*-]+\\))?(?<breaking_change>!?): (?<body>([a-z]).+[^.|\\s])$)",
8+
"regexpFlags": "gm"
9+
},
10+
"MESSAGES": {
11+
"success": "All OK",
12+
"failure": "PR title not following the semantic-release guidelines (<type>(<scope>): <subject>). Please check https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines for more information.",
13+
"notice": ""
14+
}
15+
}

.github/workflows/dependabot-auto-merge.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
## Extract information about the dependencies being updated by a Dependabot-generated PR
1616
- name: Dependabot metadata
1717
id: dependabot-metadata
18-
uses: dependabot/fetch-metadata@v2.2.0
18+
uses: dependabot/fetch-metadata@v2.3.0
1919
with:
2020
github-token: "${{ secrets.GITHUB_TOKEN }}"
2121

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: PR Title Checker
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
types:
8+
- opened
9+
- edited
10+
- synchronize
11+
- labeled
12+
- unlabeled
13+
14+
jobs:
15+
check-pr-title:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: thehanimo/[email protected]
19+
with:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
pass_on_octokit_error: false
22+
configuration_path: .github/pr-title-checker-config.json #(optional. defaults to .github/pr-title-checker-config.json)

.github/workflows/release-push.yml

+81
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: Bump release version and build-push image
2+
3+
on:
4+
push:
5+
branches:
6+
- release
7+
8+
env:
9+
NODE_VERSION: 20.x
10+
RELEASE_BRANCH: release
11+
12+
jobs:
13+
build-release:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write
17+
packages: write
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
## Commit message examples for Release type (patch|minor|major) can be found:
23+
## https://github.com/mathieudutour/github-tag-action
24+
- name: Bump version and push tag
25+
id: tag_version
26+
uses: mathieudutour/[email protected]
27+
with:
28+
github_token: ${{ secrets.GITHUB_TOKEN }}
29+
release_branches: ${{ env.RELEASE_BRANCH }}
30+
31+
- name: Create a GitHub release
32+
uses: ncipollo/release-action@v1
33+
with:
34+
tag: ${{ steps.tag_version.outputs.new_tag }}
35+
name: Release ${{ steps.tag_version.outputs.new_tag }}
36+
body: ${{ steps.tag_version.outputs.changelog }}
37+
38+
## The setup-qemu-action simplifies the setup of QEMU for cross-platform builds
39+
## https://github.com/docker/setup-qemu-action
40+
- name: Set up QEMU
41+
uses: docker/setup-qemu-action@v3
42+
43+
- name: Set up Docker Buildx
44+
uses: docker/setup-buildx-action@v3
45+
46+
- name: Login to GitHub Container Registry
47+
uses: docker/login-action@v3
48+
with:
49+
registry: ghcr.io
50+
username: ${{ github.actor }}
51+
password: ${{ secrets.GITHUB_TOKEN }}
52+
53+
- name: Set up Node.js
54+
uses: actions/setup-node@v4
55+
with:
56+
node-version: ${{ env.NODE_VERSION }}
57+
58+
- name: Install Node.js dependencies
59+
run: npm ci
60+
61+
## The metadata-action dynamically generates and manages metadata for Docker images,
62+
## like tags and labels, based on the provided inputs and workflow context.
63+
## https://github.com/docker/metadata-action
64+
- name: Docker meta
65+
id: meta
66+
uses: docker/metadata-action@v5
67+
with:
68+
images: ghcr.io/scicatproject/frontend
69+
tags: |
70+
type=raw,value=stable
71+
type=raw,value=${{ steps.tag_version.outputs.new_tag }}
72+
type=semver,pattern={{version}}
73+
type=raw,value={{date 'YYYY_MM'}},prefix=r_
74+
75+
- name: Build and push
76+
uses: docker/build-push-action@v6
77+
with:
78+
context: .
79+
platforms: linux/amd64,linux/arm64/v8
80+
push: true
81+
tags: ${{ steps.meta.outputs.tags }}

.github/workflows/report-coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
github-token: ${{ secrets.GITHUB_TOKEN }}
4949
output-file: comment.html
5050
- name: Post code coverage report
51-
uses: marocchino/[email protected].0
51+
uses: marocchino/[email protected].1
5252
with:
5353
path: comment.html
5454
number: ${{ env.pr_number }}

0 commit comments

Comments
 (0)