Gitlab
#
Send testmails
#
1
2
3
|
gitlab-rails console
# on rails console:
Notify.test_email('you@example.com', 'Message Subject', 'Message Body').deliver_now
|
Reset you initial root password
#
1
|
gitlab-rake "gitlab:password:reset[root]"
|
Solve Error 500 when (changing application settings)
#
1
2
3
|
gitlab-psql -d gitlabhq_production
# on PSQL-Shell
DELETE FROM application_settings;
|
Linux
#
Linux Terminal key combinations
Kubernetes
#
Working with container registries
#
Get all available container images
1
2
3
4
5
6
7
8
9
10
11
12
13
|
curl --insecure -s -X GET -u user:pass https://container-registry:5000/v2/_catalog | jq
{
"repositories": [
"alpine-base",
"alpine_base",
"alpine_base_apache",
"alpine_base_tomcat",
"alpine_base_wildfly",
"alpine_dimag_ingestlist",
"alpine_dimag_ipm",
"alpine_dimag_km"
]
}
|
Get al available tag of a container image
1
2
3
4
5
6
7
8
|
curl -s --insecure -X GET -u user:pass https://container-registry:5000/v2/alpine_base_apache/tags/list | jq
{
"name": "alpine_base_apache",
"tags": [
"latest",
"php82"
]
}
|