Skip to content

Commit 68a674f

Browse files
committed
Merge 'origin/main' into v4
2 parents 9d4a29f + ccad195 commit 68a674f

File tree

8 files changed

+86
-89
lines changed

8 files changed

+86
-89
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm"
9+
directory: "/"
10+
schedule:
11+
interval: "weekly"
12+
- package-ecosystem: "docker"
13+
directory: "/"
14+
schedule:
15+
interval: "weekly"

.github/workflows/automerge.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# name: Dependabot Auto-merge
2+
# on:
3+
# pull_request:
4+
# types: [opened, synchronize, reopened]
5+
6+
# permissions:
7+
# contents: write
8+
# pull-requests: write
9+
10+
# jobs:
11+
# dependabot-automerge:
12+
# runs-on: ubuntu-latest
13+
# if: github.actor == 'dependabot[bot]'
14+
# steps:
15+
# - name: Dependabot metadata
16+
# id: metadata
17+
# uses: dependabot/fetch-metadata@v1
18+
# with:
19+
# github-token: "${{ secrets.GITHUB_TOKEN }}"
20+
21+
# - name: Auto-merge minor and patch updates
22+
# if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'
23+
# run: |
24+
# gh pr merge --auto --squash "$PR_URL"
25+
# env:
26+
# PR_URL: ${{ github.event.pull_request.html_url }}
27+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/depoy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ jobs:
1414
- name: "Set Heroku app & branch for ${{ github.ref }}"
1515
run: |
1616
echo $GITHUB_REF
17-
if [ "$GITHUB_REF" == "refs/heads/master" ]; then
17+
if [ "$GITHUB_REF" == "refs/heads/main" ]; then
1818
echo "HEROKU_APP=" >> $GITHUB_ENV
19-
echo "HEROKU_BRANCH=master" >> $GITHUB_ENV
2019
fi
21-
echo "HEROKU_BRANCH=master" >> $GITHUB_ENV
20+
echo "HEROKU_BRANCH=main" >> $GITHUB_ENV
2221
- name: Install Heroku CLI
2322
run: |
2423
curl https://cli-assets.heroku.com/install.sh | sh

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI
22

33
on:
44
push:
5-
branches: [master]
5+
branches: [main]
66
workflow_dispatch:
77
schedule:
88
- cron: "0 7 * * *"
@@ -23,7 +23,7 @@ jobs:
2323
- name: Semantic Release
2424
uses: cycjimmy/semantic-release-action@v4
2525
with:
26-
branch: 'master'
26+
branch: 'main'
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
- name: Get Semantic Release Version
@@ -61,19 +61,19 @@ jobs:
6161
env:
6262
GITHUB_TOKEN: ${{secrets.ACCESS_TOKEN}}
6363
heroku:
64-
if: github.repository == 'devsecopsmaturitymodel/DevSecOps-MaturityModel' && github.event_name == 'push' && github.ref == 'refs/heads/master'
64+
if: github.repository == 'devsecopsmaturitymodel/DevSecOps-MaturityModel' && github.event_name == 'push' && github.ref == 'refs/heads/main'
6565
runs-on: ubuntu-latest
6666
steps:
6767
- name: "Check out Git repository"
6868
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac #v4.0.0
6969
- name: "Set Heroku app & branch for ${{ github.ref }}"
7070
run: |
7171
echo $GITHUB_REF
72-
if [ "$GITHUB_REF" == "refs/heads/master" ]; then
72+
if [ "$GITHUB_REF" == "refs/heads/main" ]; then
7373
echo "HEROKU_APP=" >> $GITHUB_ENV
74-
echo "HEROKU_BRANCH=master" >> $GITHUB_ENV
74+
echo "HEROKU_BRANCH=main" >> $GITHUB_ENV
7575
fi
76-
echo "HEROKU_BRANCH=master" >> $GITHUB_ENV
76+
echo "HEROKU_BRANCH=main" >> $GITHUB_ENV
7777
- name: Install Heroku CLI
7878
run: |
7979
curl https://cli-assets.heroku.com/install.sh | sh

.releaserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"branch": "master",
2+
"branch": "main",
33
"plugins": [
44
[
55
"@semantic-release/commit-analyzer",

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
FROM node:18.7.0-alpine3.18 AS build
1+
FROM node:24.7.0-alpine3.22 AS build
22

33
WORKDIR /usr/src/app
44
COPY package.json package-lock.json ./
55

6-
RUN apk add --upgrade python3 build-base \
6+
RUN apk add --upgrade python3 build-base py3-setuptools py3-pip && \
7+
pip3 install setuptools \
78
&& npm install
89
COPY . .
9-
RUN npm run build
10+
RUN npm run build --configuration=production
1011

11-
# dsomm-yaml-generation 1.15.3 is a release (not built everyday as 1.16.0)
12-
FROM wurstbrot/dsomm-yaml-generation:1.15.3 as yaml
1312

14-
# Caddt v2.10.0 is latest release
15-
FROM caddy:2.10.0
16-
ENV PORT 8080
13+
FROM wurstbrot/dsomm-yaml-generation:1.16.0 AS yaml
14+
15+
FROM caddy:2.10.2
16+
ENV PORT=8080
1717

1818
COPY Caddyfile /etc/caddy/Caddyfile
1919
COPY --from=build ["/usr/src/app/dist/dsomm/", "/srv"]

package-lock.json

Lines changed: 23 additions & 67 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"scripts": {
55
"ng": "ng",
66
"start": "ng serve",
7-
"build": "ng build",
7+
"build": "ng build --configuration=production" ,
88
"watch": "ng build --watch --configuration development",
99
"test": "ng test",
1010
"lint": "ng lint",
@@ -31,7 +31,7 @@
3131
"js-yaml": "^4.1.0",
3232
"markdown-it": "^13.0.1",
3333
"rxjs": "~7.5.0",
34-
"tslib": "^2.3.0",
34+
"tslib": "^2.8.1",
3535
"xlsx": "^0.18.5",
3636
"yaml": "^2.8.1",
3737
"yamljs": "^0.3.0",
@@ -48,7 +48,7 @@
4848
"@grafana/faro-webpack-plugin": "^0.1.1",
4949
"@types/d3": "^7.4.0",
5050
"@types/jasmine": "~3.10.0",
51-
"@types/js-yaml": "^4.0.5",
51+
"@types/js-yaml": "^4.0.9",
5252
"@types/markdown-it": "^12.2.3",
5353
"@types/node": "^12.11.1",
5454
"@types/yamljs": "^0.2.31",
@@ -64,7 +64,7 @@
6464
"jasmine-core": "~4.0.0",
6565
"karma": "~6.3.0",
6666
"karma-chrome-launcher": "~3.1.0",
67-
"karma-coverage": "~2.1.0",
67+
"karma-coverage": "~2.2.1",
6868
"karma-jasmine": "~4.0.0",
6969
"karma-jasmine-html-reporter": "~1.7.0",
7070
"prettier": "^2.7.1",

0 commit comments

Comments
 (0)