Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
9083509f
Commit
9083509f
authored
Feb 23, 2020
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
c77e1642
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
changelogs/unreleased/cat-fix-env-passthrough-sast-205694.yml
...gelogs/unreleased/cat-fix-env-passthrough-sast-205694.yml
+5
-0
doc/user/packages/maven_repository/index.md
doc/user/packages/maven_repository/index.md
+2
-2
lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml
lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml
+2
-2
No files found.
changelogs/unreleased/cat-fix-env-passthrough-sast-205694.yml
0 → 100644
View file @
9083509f
---
title
:
Fix variable passthrough in the SAST CI/CD template when using DinD
merge_request
:
25697
author
:
type
:
fixed
doc/user/packages/maven_repository/index.md
View file @
9083509f
...
@@ -60,7 +60,7 @@ published to the GitLab Package Registry.
...
@@ -60,7 +60,7 @@ published to the GitLab Package Registry.
Start by opening your terminal and creating a directory where you would like to
Start by opening your terminal and creating a directory where you would like to
store the project in your environment. From inside the directory, you can run
store the project in your environment. From inside the directory, you can run
the following Maven command to initalize a new package:
the following Maven command to init
i
alize a new package:
```
shell
```
shell
mvn archetype:generate
-DgroupId
=
com.mycompany.mydepartment
-DartifactId
=
my-project
-DarchetypeArtifactId
=
maven-archetype-quickstart
-DinteractiveMode
=
false
mvn archetype:generate
-DgroupId
=
com.mycompany.mydepartment
-DartifactId
=
my-project
-DarchetypeArtifactId
=
maven-archetype-quickstart
-DinteractiveMode
=
false
...
@@ -71,7 +71,7 @@ The arguments are as follows:
...
@@ -71,7 +71,7 @@ The arguments are as follows:
-
`DgroupId`
: A unique string that identifies your package. You should follow
-
`DgroupId`
: A unique string that identifies your package. You should follow
the
[
Maven naming conventions
](
https://maven.apache.org/guides/mini/guide-naming-conventions.html
)
.
the
[
Maven naming conventions
](
https://maven.apache.org/guides/mini/guide-naming-conventions.html
)
.
-
`DartifactId`
: The name of the JAR, appended to the end of the
`DgroupId`
.
-
`DartifactId`
: The name of the JAR, appended to the end of the
`DgroupId`
.
-
`DarchetypeArtifactId`
: The archetype used to create the intial structure of
-
`DarchetypeArtifactId`
: The archetype used to create the in
i
tial structure of
the project.
the project.
-
`DinteractiveMode`
: Create the project using batch mode (optional).
-
`DinteractiveMode`
: Create the project using batch mode (optional).
...
...
lib/gitlab/ci/templates/Security/SAST.gitlab-ci.yml
View file @
9083509f
...
@@ -36,9 +36,9 @@ sast:
...
@@ -36,9 +36,9 @@ sast:
export DOCKER_HOST='tcp://localhost:2375'
export DOCKER_HOST='tcp://localhost:2375'
fi
fi
fi
fi
-
ENVS=`printenv | grep -vE '^(DOCKER_|CI|GITLAB_|FF_|HOME|PWD|OLDPWD|PATH|SHLVL|HOSTNAME)' | sed -n '/^[^\t]/s/=.*//p' | sed '/^$/d' | sed 's/^/-e /g' | tr '\n' ' '`
-
|
-
|
ENVS=`printenv | grep -vE '^(DOCKER_|CI|GITLAB_|FF_|HOME|PWD|OLDPWD|PATH|SHLVL|HOSTNAME)' | sed -n '/^[^\t]/s/=.*//p' | sed '/^$/d' | sed 's/^/-e /g' | tr '\n' ' '`
docker run $ENVS \
docker run "$ENVS" \
--volume "$PWD:/code" \
--volume "$PWD:/code" \
--volume /var/run/docker.sock:/var/run/docker.sock \
--volume /var/run/docker.sock:/var/run/docker.sock \
"registry.gitlab.com/gitlab-org/security-products/sast:$SAST_VERSION" /app/bin/run /code
"registry.gitlab.com/gitlab-org/security-products/sast:$SAST_VERSION" /app/bin/run /code
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment