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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
2c01201b
Commit
2c01201b
authored
Aug 26, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
5fc396e4
9e85bd62
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
4 deletions
+27
-4
doc/raketasks/backup_restore.md
doc/raketasks/backup_restore.md
+23
-0
doc/user/application_security/license_management/index.md
doc/user/application_security/license_management/index.md
+4
-4
No files found.
doc/raketasks/backup_restore.md
View file @
2c01201b
...
@@ -923,6 +923,29 @@ backup beforehand.
...
@@ -923,6 +923,29 @@ backup beforehand.
UPDATE
ci_runners
SET
token
=
null
,
token_encrypted
=
null
;
UPDATE
ci_runners
SET
token
=
null
,
token_encrypted
=
null
;
```
```
#### Reset pending pipeline jobs
1.
Enter the DB console:
For Omnibus GitLab packages:
```
sh
sudo
gitlab-rails dbconsole
```
For installations from source:
```
sh
sudo
-u
git
-H
bundle
exec
rails dbconsole
RAILS_ENV
=
production
```
1.
Clear all the tokens for pending jobs:
```
sql
-- Clear build tokens
UPDATE
ci_builds
SET
token
=
null
,
token_encrypted
=
null
;
```
A similar strategy can be employed for the remaining features - by removing the
A similar strategy can be employed for the remaining features - by removing the
data that cannot be decrypted, GitLab can be brought back into working order,
data that cannot be decrypted, GitLab can be brought back into working order,
and the lost data can be manually replaced.
and the lost data can be manually replaced.
...
...
doc/user/application_security/license_management/index.md
View file @
2c01201b
...
@@ -169,9 +169,9 @@ If you still need to run tests during `mvn install`, add `-DskipTests=false` to
...
@@ -169,9 +169,9 @@ If you still need to run tests during `mvn install`, add `-DskipTests=false` to
> [Introduced](https://gitlab.com/gitlab-org/security-products/license-management/merge_requests/36) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 12.0.
> [Introduced](https://gitlab.com/gitlab-org/security-products/license-management/merge_requests/36) in [GitLab Ultimate](https://about.gitlab.com/pricing/) 12.0.
License Compliance uses Python
2.7 and pip 10.0
by default.
License Compliance uses Python
3.5 and pip 19.1
by default.
If your project requires Python
3, you can switch to Python 3.5 and pip 19.1
If your project requires Python
2, you can switch to Python 2.7 and pip 10.0
by setting the
`LM_PYTHON_VERSION`
environment variable to
`
3
`
.
by setting the
`LM_PYTHON_VERSION`
environment variable to
`
2
`
.
```
yaml
```
yaml
include
:
include
:
...
@@ -179,7 +179,7 @@ include:
...
@@ -179,7 +179,7 @@ include:
license_management
:
license_management
:
variables
:
variables
:
LM_PYTHON_VERSION
:
3
LM_PYTHON_VERSION
:
2
```
```
## Project policies for License Compliance
## Project policies for License Compliance
...
...
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