Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
oh14.de Links
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
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
Princess Lexy
oh14.de Links
Commits
5f8d84fd
Commit
5f8d84fd
authored
2 years ago
by
Falk Rehse
Committed by
Luca
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Switch to Kurzlink
Use the new Kurzlink generator
parent
4661d864
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+4
-10
4 additions, 10 deletions
.gitlab-ci.yml
README.md
+0
-22
0 additions, 22 deletions
README.md
with
4 additions
and
32 deletions
.gitlab-ci.yml
+
4
−
10
View file @
5f8d84fd
---
---
image
:
image
:
registry.gitlab.fachschaften.org/tudo-fsinfo/admin/gitlab-pages-shortlinks:latest
name
:
registry.gitlab.fachschaften.org/evysgarden/kurzlink:latest
entrypoint
:
[
"
/bin/sh"
,
"
-c"
]
variables
:
IGNORE_URLS
:
https://gitlab.fachschaften.org/tudo-fsinfo/fsr/sitzungen/tree/master/Protokolle
https://gitlab.fachschaften.org/tudo-fsinfo/fsr/sitzungen/merge_requests
https://tu-dortmund.zoom.us/j/97881519122?pwd=UG1vRThSeThjZm14YVRoamNiSG5NUT09
https://www.instagram.com/fsinfo.tudo/
test
:
test
:
script
:
script
:
-
shortlinks generate -c vanitymap.txt
-
kurzlink --config kurzlinks.yaml --generate --vanitymap public/vanitymap.json --output public
only
:
only
:
-
merge_requests
-
merge_requests
...
@@ -19,7 +13,7 @@ pages:
...
@@ -19,7 +13,7 @@ pages:
script
:
script
:
-
apk add nodejs yarn bash
-
apk add nodejs yarn bash
-
./prepare-web-dependencies.sh
-
./prepare-web-dependencies.sh
-
shortlinks generate vanitymap.txt
-
kurzlink --config kurzlinks.yaml --generate --nocheck --vanitymap public/vanitymap.json --output public
artifacts
:
artifacts
:
expire_in
:
1h
expire_in
:
1h
paths
:
paths
:
...
...
This diff is collapsed.
Click to expand it.
README.md
+
0
−
22
View file @
5f8d84fd
# oh14.de Kurzlinks
# oh14.de Kurzlinks
Einträge der Form
```
/foo https://irgende.in/link
```
werden nach dem Deployment unter https://oh14.de/foo verfügbar sein und zu
https://irgende.in/link weitergeleitet. Interne Aliase sind auch mit folgender
Syntax möglich:
```
/bar /foo
```
Unter https://oh14.de/vanitymap.json gibt es alle Kurzlinks und ihre Ziele als JSON-Datei.
Unter https://oh14.de/vanitymap.json gibt es alle Kurzlinks und ihre Ziele als JSON-Datei.
## Duplikate erkennen
Duplikate kann man wie folgt erkennen:
```
shell
cat
vanitymap.txt |
awk
'{ print $1 }'
|
sort
|
uniq
-c
|
sort
```
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