Skip to content

Commit 764fbe7

Browse files
authored
Merge pull request #4 from samply/eucaim-datamodel
Eucaim datamodel
2 parents 80186f1 + ad4e1cf commit 764fbe7

32 files changed

+8429
-375
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Feature request
2+
description: Suggest an idea for this project
3+
title: "[Feature]: "
4+
body:
5+
- type: textarea
6+
id: summary
7+
attributes:
8+
label: General Summary
9+
description: Please provide a general summary of the problem
10+
placeholder: e.g. "The main issue is that..."
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: change
15+
attributes:
16+
label: Suggested Change
17+
description: Provide details on the suggested change
18+
placeholder: e.g. "This new feature will allow users to update..."
19+
validations:
20+
required: true
21+
- type: dropdown
22+
id: breaking
23+
attributes:
24+
label: Is this Breaking?
25+
description: Explain the behavior expected in this case
26+
options:
27+
- "Yes"
28+
- "No"
29+
validations:
30+
required: true
31+
- type: textarea
32+
id: current_behavior
33+
attributes:
34+
label: Current Behavior
35+
description: Explain what the current behavior is
36+
validations:
37+
required: true
38+
- type: textarea
39+
id: new_behavior
40+
attributes:
41+
label: New Behavior
42+
description: Propose what the new behavior would be
43+
validations:
44+
required: true
45+
- type: textarea
46+
id: description
47+
attributes:
48+
label: Detailed Description
49+
description: Please provide a more detailed description
50+
validations:
51+
required: false
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Bug Report
2+
description: Report a bug to improve Lens
3+
title: "[Bug]: "
4+
body:
5+
- type: textarea
6+
id: summary
7+
attributes:
8+
label: General Summary
9+
description: Please provide a general summary of the problem
10+
placeholder: e.g. "The main issue is that..."
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: expected
15+
attributes:
16+
label: Expected Behavior
17+
description: Explain the behavior expected
18+
placeholder: e.g. "The feature should do a, then b when you click c."
19+
validations:
20+
required: true
21+
- type: textarea
22+
id: current
23+
attributes:
24+
label: Current Behavior
25+
description: Explain what the actual behavior is
26+
placeholder: e.g. "The feature actually does x, y and shows error z."
27+
validations:
28+
required: true
29+
- type: textarea
30+
id: possible_solution
31+
attributes:
32+
label: Possible Solution
33+
description: Suggest a possible fix for the bug
34+
validations:
35+
required: false
36+
- type: textarea
37+
id: reproduce
38+
attributes:
39+
label: Steps to Reproduce
40+
description: Explain how to reproduce the problem
41+
placeholder: e.g. "1. The first step to reproduce this error is to access the members area..."
42+
validations:
43+
required: true
44+
- type: textarea
45+
id: context
46+
attributes:
47+
label: Context (Environment)
48+
description: Provide context on the setting and environment
49+
placeholder: e.g. "This bug happened on a Windows 10 PC running the newest Google Chrome."
50+
validations:
51+
required: false
52+
- type: textarea
53+
id: description
54+
attributes:
55+
label: Detailed Description
56+
description: Please provide a more detailed description
57+
validations:
58+
required: false
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Vulnerability Report
2+
description: Report a potential software vulnerability
3+
title: "[Vulnerability]: "
4+
body:
5+
- type: textarea
6+
id: summary
7+
attributes:
8+
label: General Summary
9+
description: Please provide a general summary of the problem
10+
placeholder: e.g. "An unsafe deserialization vulnerability allows any unauthenticated user to execute arbitrary code on the server."
11+
validations:
12+
required: true
13+
- type: textarea
14+
id: component
15+
attributes:
16+
label: Effected Component(s)
17+
description: List the components effected by this vulnerability
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: impact
22+
attributes:
23+
label: Impact of Vulnerability
24+
description: Describe the scope of the vulnerability's impact
25+
validations:
26+
required: true
27+
- type: textarea
28+
id: remediation
29+
attributes:
30+
label: Possible Remediation
31+
description: Propose a remediation suggestion if you have one.
32+
validations:
33+
required: false
34+
- type: textarea
35+
id: reproduce
36+
attributes:
37+
label: Steps to Reproduce
38+
description: Explain how to reproduce the problem
39+
placeholder: e.g. "1. The first step to reproduce this error is to access the members area..."
40+
validations:
41+
required: true
42+
- type: textarea
43+
id: description
44+
attributes:
45+
label: Detailed Description
46+
description: Please provide a more detailed description
47+
validations:
48+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: true

.github/pull_request_template.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
### General Summary
2+
3+
### Description
4+
<!--- Describe changes in detail -->
5+
6+
### Related Issue
7+
<!--- Please link to the issue here: -->
8+
9+
---
10+
11+
### Motivation and Context
12+
13+
### How Has This Been Tested?
14+
<!--- Please describe in detail how you tested your changes. -->
15+
<!--- Include details of your testing environment, and the tests you ran to -->
16+
17+
### Screenshots (if appropriate):
18+
19+
---
20+
21+
<!--- Please check if the PR fulfills these requirements -->
22+
- [ ] The commit message follows guidelines
23+
- [ ] Tests for the changes have been added
24+
- [ ] Documentation has been added/ updated
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Build and Push Develop Image samply/lens
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
- eucaim-datamodel
8+
pull_request:
9+
branches:
10+
- develop
11+
jobs:
12+
build:
13+
# Necessary after this repository was renamed from samply/lens-web-components to samply/lens
14+
permissions:
15+
contents: read
16+
packages: write
17+
pull-requests: read
18+
security-events: write
19+
statuses: read
20+
# This workflow defines how a samply docker image is built, tested and published.
21+
# Visit: https://github.com/samply/github-workflows/blob/main/.github/workflows/docker-ci.yml, for more information
22+
uses: samply/github-workflows/.github/workflows/docker-ci.yml@main
23+
with:
24+
image-name: "samply/eucaim-frontend"
25+
build-args: |
26+
TARGET_ENVIRONMENT=staging
27+
build-platforms: "linux/amd64"
28+
push-to: dockerhub
29+
# This passes the secrets from calling workflow to the called workflow
30+
secrets:
31+
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
32+
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}

.github/workflows/docker.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build and Push Image samply/lens
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
# Build then a new version is tagged
8+
tags:
9+
- 'v*.*.*'
10+
pull_request:
11+
branches:
12+
- main
13+
schedule:
14+
# Build every night at 1am
15+
- cron: '0 1 * * *'
16+
jobs:
17+
build:
18+
# Necessary after this repository was renamed from samply/lens-web-components to samply/lens
19+
permissions:
20+
contents: read
21+
packages: write
22+
pull-requests: read
23+
security-events: write
24+
statuses: read
25+
# This workflow defines how a samply docker image is built, tested and published.
26+
# Visit: https://github.com/samply/github-workflows/blob/main/.github/workflows/docker-ci.yml, for more information
27+
uses: samply/github-workflows/.github/workflows/docker-ci.yml@main
28+
with:
29+
image-name: "samply/eucaim-frontend"
30+
build-args: |
31+
TARGET_ENVIRONMENT=production
32+
build-platforms: "linux/amd64"
33+
push-to: dockerhub
34+
# This passes the secrets from calling workflow to the called workflow
35+
secrets:
36+
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
37+
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: "Samply.Lens verify new Code"
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
- develop
7+
push:
8+
branches:
9+
- develop
10+
11+
jobs:
12+
verify-code:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v3
16+
with:
17+
fetch-depth: '0'
18+
- uses: actions/setup-node@v3
19+
with:
20+
node-version: 20
21+
cache: 'npm'
22+
- run: npm ci
23+
# for now disable code format check, will be activated later
24+
# name: "Check Code Format"
25+
# run: npm run format:check
26+
- name: "Check Security"
27+
run: npm run security:check
28+
# - name: "Verify Commit Messages"
29+
# run: npm run lint:commits
30+
# - name: "Svelte Check"
31+
# run: npm run check
32+
# for now disable linting, will be activated later
33+
# run: npm run lint
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "Samply.Lens verify new Release"
2+
on:
3+
pull_request:
4+
branches:
5+
- main
6+
7+
jobs:
8+
verify-new-release:
9+
runs-on: ubuntu-latest
10+
if: github.event_name == 'pull_request'
11+
steps:
12+
- uses: actions/checkout@v3
13+
with:
14+
fetch-depth: 0
15+
- run: git checkout --track origin/main
16+
- run: git checkout --track origin/develop
17+
- name: "Ensure Package Version changed"
18+
run: |
19+
if [ "$(git diff main develop -- package.json | grep version | wc -l)" -eq 0 ]; then \
20+
echo "::error:: Please run `npm run version` before merging to main!"; \
21+
exit 1; \
22+
fi

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
node_modules
33
dist
44
test-results/
5-
package-lock.json
65
yarn.lock
76
vite.config.js.timestamp-*
87
/packages/create-svelte/template/CHANGELOG.md
@@ -19,3 +18,4 @@ vite.config.js.timestamp-*
1918
.test-tmp
2019
symlink-from
2120
.idea/
21+
build/

0 commit comments

Comments
 (0)