Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DARIAH-DE Aggregator Services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DARIAH-DE
DARIAH-DE Aggregator Services
Commits
3bfd17be
Verified
Commit
3bfd17be
authored
2 years ago
by
Ubbo Veentjer
Browse files
Options
Downloads
Patches
Plain Diff
generate and upload sbom. closes
#30
parent
9cec5ea5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#305447
passed with warnings
2 years ago
Stage: prepare
Stage: test
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+8
-0
8 additions, 0 deletions
.gitlab-ci.yml
pom.xml
+20
-1
20 additions, 1 deletion
pom.xml
with
28 additions
and
1 deletion
.gitlab-ci.yml
+
8
−
0
View file @
3bfd17be
include
:
-
template
:
Container-Scanning.gitlab-ci.yml
-
project
:
'
dariah-de/gitlab-templates'
ref
:
'
main'
file
:
'
/templates/SBOM-Upload.gitlab-ci.yml'
variables
:
# This will suppress any download for dependencies and plugins or upload messages which would clutter the console log.
# `showDateTime` will show the passed time in milliseconds. You need to specify `--batch-mode` to make this work.
...
...
@@ -90,10 +96,12 @@ build_and_deploy:
-
git -C src/main/webapp/tei-stylesheets/ checkout $TEI_STYLESHEETS_VERSION
# REMOVE SKIPTESTS AS SOON AS TESTS ARE WORKING...!!
-
mvn $MAVEN_OPTS $MAVEN_CLI_OPTS $MAVEN_DEPLOY_OPTS -U clean verify -Ptextgrid.deb -DskipTests=true
-
cp target/bom.json .
artifacts
:
name
:
WEBAPP_DEB_PACKAGES
paths
:
-
./target/*.deb
-
bom.json
build_container_image
:
image
:
...
...
This diff is collapsed.
Click to expand it.
pom.xml
+
20
−
1
View file @
3bfd17be
...
...
@@ -33,7 +33,8 @@
<saxon-version>
9.5.1-5
</saxon-version>
<!-- XXX mind dependency from epubcheck -->
<cxf-version>
2.7.18
</cxf-version>
<confclient-version>
4.1.0
</confclient-version>
<tgsearch-version>
4.0.1
</tgsearch-version>
<cyclonedx-maven-plugin.version>
2.7.0
</cyclonedx-maven-plugin.version>
<tgsearch-version>
4.0.3
</tgsearch-version>
<tgcrud-version>
2.6.0
</tgcrud-version>
<!-- TG-crud client configuration is not working with newest crud, I'll
just fix it tomorrow! -->
...
...
@@ -198,6 +199,8 @@
<version>
${xmlunit-version}
</version>
<scope>
test
</scope>
</dependency>
</dependencies>
<build>
...
...
@@ -451,6 +454,22 @@
</reportPlugins>
</configuration>
</plugin>
<plugin>
<groupId>
org.cyclonedx
</groupId>
<artifactId>
cyclonedx-maven-plugin
</artifactId>
<version>
${cyclonedx-maven-plugin.version}
</version>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
makeAggregateBom
</goal>
</goals>
</execution>
</executions>
<configuration>
<outputFormat>
JSON
</outputFormat>
</configuration>
</plugin>
</plugins>
<resources>
<resource>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment