Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nmaas Portal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
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
nmaas
nmaas Portal
Commits
c2b39a23
Commit
c2b39a23
authored
2 months ago
by
Lukasz Lopatowski
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 'release/1.7.1'
Develop See merge request
!116
parents
c31566fa
2b999125
Branches
Branches containing commit
Tags
Tags containing commit
4 merge requests
!184
Develop
,
!119
Develop
,
!118
Release/1.7.1
,
!116
Develop
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+23
-1
23 additions, 1 deletion
.gitlab-ci.yml
package-lock.json
+2
-2
2 additions, 2 deletions
package-lock.json
package.json
+1
-1
1 addition, 1 deletion
package.json
ws/run_ws.sh
+0
-7
0 additions, 7 deletions
ws/run_ws.sh
with
26 additions
and
11 deletions
.gitlab-ci.yml
+
23
−
1
View file @
c2b39a23
...
@@ -2,6 +2,7 @@ stages:
...
@@ -2,6 +2,7 @@ stages:
-
test
-
test
-
sonar
-
sonar
-
build
-
build
-
mend
test
:
test
:
stage
:
test
stage
:
test
...
@@ -64,4 +65,25 @@ build_and_push_release_image:
...
@@ -64,4 +65,25 @@ build_and_push_release_image:
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_REPOSITORY
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_REPOSITORY
docker build -t $DOCKER_REPOSITORY_LOCAL:$IMAGE_TAG .
docker build -t $DOCKER_REPOSITORY_LOCAL:$IMAGE_TAG .
docker push $DOCKER_REPOSITORY_LOCAL:$IMAGE_TAG
docker push $DOCKER_REPOSITORY_LOCAL:$IMAGE_TAG
docker logout $DOCKER_REPOSITORY
docker logout $DOCKER_REPOSITORY
\ No newline at end of file
mend
:
stage
:
mend
image
:
openjdk:17-jdk-slim
only
:
-
/^release/
variables
:
PRODUCT_NAME
:
"
nmaas"
PROJECT_NAME
:
"
nmaas-portal"
script
:
-
|
export PRODUCT_VERSION=$(echo $CI_COMMIT_BRANCH | cut -c 9-)
export PROJECT_VERSION=$PRODUCT_VERSION
apt-get update && apt-get install -y curl gnupg
curl -sL https://deb.nodesource.com/setup_11.x | bash -
apt-get -y install nodejs
npm install -g @angular/cli
npm ci
chmod +x ./gradlew
curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
java -jar wss-unified-agent.jar -userKey ${MEND_USER_KEY} -apiKey ${MEND_API_KEY} -projectVersion ${PROJECT_VERSION} -project ${PROJECT_NAME} -productVersion ${PRODUCT_VERSION} -product ${PRODUCT_NAME} -c ./ws/ws.config -d ./
\ No newline at end of file
This diff is collapsed.
Click to expand it.
package-lock.json
+
2
−
2
View file @
c2b39a23
{
{
"name": "nmaas-portal",
"name": "nmaas-portal",
"version": "1.7.
0
",
"version": "1.7.
1
",
"lockfileVersion": 2,
"lockfileVersion": 2,
"requires": true,
"requires": true,
"packages": {
"packages": {
"": {
"": {
"name": "nmaas-portal",
"name": "nmaas-portal",
"version": "1.7.
0
",
"version": "1.7.
1
",
"license": "Apache 2.0",
"license": "Apache 2.0",
"dependencies": {
"dependencies": {
"@angular/animations": "17.3.12",
"@angular/animations": "17.3.12",
This diff is collapsed.
Click to expand it.
package.json
+
1
−
1
View file @
c2b39a23
{
{
"name"
:
"nmaas-portal"
,
"name"
:
"nmaas-portal"
,
"version"
:
"1.7.
0
"
,
"version"
:
"1.7.
1
"
,
"license"
:
"Apache 2.0"
,
"license"
:
"Apache 2.0"
,
"angular-cli"
:
{},
"angular-cli"
:
{},
"scripts"
:
{
"scripts"
:
{
...
...
This diff is collapsed.
Click to expand it.
ws/run_ws.sh
deleted
100644 → 0
+
0
−
7
View file @
c31566fa
#!/bin/sh
echo
"Downloading WhiteSource agent..."
curl
-LJO
https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
echo
"Running WhiteSource scan..."
java
-jar
wss-unified-agent.jar
-userKey
${
USER_KEY
}
-apiKey
${
API_KEY
}
-projectVersion
${
PROJECT_VERSION
}
-projectToken
${
PROJECT_TOKEN
}
-productVersion
${
PRODUCT_VERSION
}
-productToken
${
PRODUCT_TOKEN
}
-c
ws.config
-d
../
\ No newline at end of file
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