mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-23 01:26:46 +00:00
Migrate to GitLab
This commit is contained in:
parent
a26e3fb98f
commit
ef8f81be54
33
.github/ISSUE_TEMPLATE/bug_report.md
vendored
33
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -1,33 +0,0 @@
|
|||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Create a report to help us improve
|
|
||||||
title: ''
|
|
||||||
labels: bug
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Describe the bug**
|
|
||||||
A clear and concise description of what the bug is.
|
|
||||||
|
|
||||||
**To Reproduce**
|
|
||||||
Steps to reproduce the behavior:
|
|
||||||
1. Go to '...'
|
|
||||||
2. Click on '....'
|
|
||||||
3. Scroll down to '....'
|
|
||||||
4. See error
|
|
||||||
|
|
||||||
**Expected behavior**
|
|
||||||
A clear and concise description of what you expected to happen.
|
|
||||||
|
|
||||||
**Screenshots**
|
|
||||||
If applicable, add screenshots to help explain your problem.
|
|
||||||
|
|
||||||
**System information:**
|
|
||||||
- Browser OS: [e.g. iOS]
|
|
||||||
- Browser [e.g. chrome, safari]
|
|
||||||
- Server OS: [e.g. Ubuntu 20.04]
|
|
||||||
- Version: [latest as of date or version tag]
|
|
||||||
|
|
||||||
**Additional context**
|
|
||||||
Add any other context about the problem here.
|
|
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
20
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@ -1,20 +0,0 @@
|
|||||||
---
|
|
||||||
name: Feature request
|
|
||||||
about: Suggest an idea for this project
|
|
||||||
title: ''
|
|
||||||
labels: enhancement
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
**Is your feature request related to a problem? Please describe.**
|
|
||||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
||||||
|
|
||||||
**Describe the solution you'd like**
|
|
||||||
A clear and concise description of what you want to happen.
|
|
||||||
|
|
||||||
**Describe alternatives you've considered**
|
|
||||||
A clear and concise description of any alternative solutions or features you've considered.
|
|
||||||
|
|
||||||
**Additional context**
|
|
||||||
Add any other context or screenshots about the feature request here.
|
|
18
.github/workflows/docker-image.yml
vendored
18
.github/workflows/docker-image.yml
vendored
@ -1,18 +0,0 @@
|
|||||||
name: Docker Image CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Build the Docker image
|
|
||||||
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
|
|
28
.gitlab-ci.yml
Normal file
28
.gitlab-ci.yml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# This file is a template, and might need editing before it works on your project.
|
||||||
|
docker-build-master:
|
||||||
|
# Official docker image.
|
||||||
|
image: docker:latest
|
||||||
|
stage: build
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
|
before_script:
|
||||||
|
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||||
|
script:
|
||||||
|
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
|
||||||
|
- docker push "$CI_REGISTRY_IMAGE"
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
|
docker-build:
|
||||||
|
# Official docker image.
|
||||||
|
image: docker:latest
|
||||||
|
stage: build
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
|
before_script:
|
||||||
|
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
|
||||||
|
script:
|
||||||
|
- docker build --pull -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG" .
|
||||||
|
- docker push "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG"
|
||||||
|
except:
|
||||||
|
- master
|
11
README.md
11
README.md
@ -1,6 +1,6 @@
|
|||||||
![Docker Pulls](https://img.shields.io/docker/pulls/draganczukp/simply-shorten?style=for-the-badge)
|
![Docker Pulls](https://img.shields.io/docker/pulls/draganczukp/simply-shorten?style=for-the-badge)
|
||||||
![Docker Cloud Build Status](https://img.shields.io/docker/cloud/build/draganczukp/simply-shorten?style=for-the-badge)
|
|
||||||
![GitHub issues](https://img.shields.io/github/issues/draganczukp/simply-shorten?style=for-the-badge)
|
[Repository moved to GitLab](https://gitlab.com/draganczukp/simply-shorten)
|
||||||
|
|
||||||
# What is it?
|
# What is it?
|
||||||
A simple selfhosted URL shortener with no unnecessary features.
|
A simple selfhosted URL shortener with no unnecessary features.
|
||||||
@ -40,10 +40,7 @@ other ways modern web shows how anti-user it is. We all hate those, and they're
|
|||||||
not needed here.
|
not needed here.
|
||||||
- Paywalls or messages begging for donations. If you want to support me (for
|
- Paywalls or messages begging for donations. If you want to support me (for
|
||||||
whatever reason), you can message me through Github issues or via email.
|
whatever reason), you can message me through Github issues or via email.
|
||||||
[github@draganczuk.tk](mailto:github@draganczuk.tk)
|
[admin@draganczuk.me](mailto:admin@draganczuk.me)
|
||||||
|
|
||||||
I _might_ add one of those "fork me on github" thingies in the corner, though I
|
|
||||||
doubt I will
|
|
||||||
|
|
||||||
# Screenshot
|
# Screenshot
|
||||||
![Screenshot](./screenshot.png)
|
![Screenshot](./screenshot.png)
|
||||||
@ -51,7 +48,7 @@ doubt I will
|
|||||||
# Usage
|
# Usage
|
||||||
Clone this repository
|
Clone this repository
|
||||||
```
|
```
|
||||||
git clone https://github.com/draganczukp/simply-shorten
|
git clone https://gitlab.com/draganczukp/simply-shorten
|
||||||
```
|
```
|
||||||
## Building from source
|
## Building from source
|
||||||
Gradle 6.x.x and JDK 11 are required. Other versions are not tested
|
Gradle 6.x.x and JDK 11 are required. Other versions are not tested
|
||||||
|
Loading…
Reference in New Issue
Block a user