Compare commits

...

9 Commits

Author SHA1 Message Date
Salt 60d1246546 Remove automatic deploys 2023-02-14 17:07:38 -06:00
Salt aa954d54b3 Remove a bunch of bullshit 2023-02-14 17:00:17 -06:00
Salt 8e7d10f293 Fix the lack of a trailing slash on Docs/about
GOD that bugged the FUCK out of me
2022-01-01 22:43:27 -06:00
Salt 80c43ad392 Add link to Movie Night 2021-08-25 12:31:22 -05:00
Salt 2dd01f43b3 Reorganize the front page a bit 2021-08-24 15:01:08 -05:00
Salt 9fb8222425 Add peertube 2021-08-08 18:24:17 -05:00
Salt b74b132072 Add category for internal services 2021-08-08 18:23:37 -05:00
Salt 879b62eb0b Set up automatic deployment 2021-08-01 15:09:26 -05:00
Salt a1963a10ae Test a new build script to fix cross-architecture tagging 2021-05-01 15:33:07 -05:00
3 changed files with 18 additions and 52 deletions

View File

@ -10,7 +10,7 @@ variables:
stages:
- build
# - test
- push
- deploy
services:
- docker:dind
before_script:
@ -32,48 +32,24 @@ Build:
--platform linux/amd64,linux/arm64
--cache-from $CI_HUB_USERNAME/$CI_PROJECT_NAME:latest
--tag $CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA
--tag $CI_HUB_USERNAME/$CI_PROJECT_NAME:bleeding
--push
.
- docker images
# TEST
# TODO: Fix this
#Test_HTTP_200:
# stage: test
# script:
# - apk add curl
# - docker run -d -p 8889:80 $CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA
# - sleep 10
# - docker ps
# - netstat -tulpn
# - curl localhost:8889 | grep -ie '200 OK'
# - docker kill $(docker ps -q)
# PUSH
Push_When_Tag:
stage: push
Build_Tag:
stage: build
only:
- tags
script:
- docker pull $CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA
- docker pull $CI_HUB_USERNAME/$CI_PROJECT_NAME:latest || true
- docker buildx create --use
- >
docker tag
$CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA
$CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
- >
docker tag
$CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA
$CI_HUB_USERNAME/$CI_PROJECT_NAME:latest
docker buildx build
--pull
--platform linux/amd64,linux/arm64
--cache-from $CI_HUB_USERNAME/$CI_PROJECT_NAME:latest
--tag $CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
--tag $CI_HUB_USERNAME/$CI_PROJECT_NAME:latest
--push
.
- docker images
- docker push $CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_REF_NAME
- docker push $CI_HUB_USERNAME/$CI_PROJECT_NAME:latest
Push_Bleeding:
stage: push
script:
- docker pull $CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA
- >
docker tag
$CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA
$CI_HUB_USERNAME/$CI_PROJECT_NAME:bleeding
- docker images
- docker push $CI_HUB_USERNAME/$CI_PROJECT_NAME:bleeding

View File

@ -12,9 +12,7 @@
<p>desu.ltd is free and open-source software (to the degree that these documents can be considered software). It hosts its own source under a git repo at <a href="https://git.desu.ltd/salt/desultd">git.desu.ltd/salt/desultd</a>.</p>
<p>While the repo may say different, if you're reading this text, you can use any content within this site that I hold rights to under the terms of the Creative Commons CC0 license. I really don't give a shit.</p>
<h1>Contact Information</h1>
<p>You can contact me using the email address I use for my commits. You can also get ahold of me over these applications:
<ul>
<li>Fedi: <code>@salt@cowfee.moe</code></li>
<p>Maybe don't. If you're so inclined, my email is attached to my commits.</p>
</ul>
</div>
</div>

View File

@ -8,21 +8,13 @@
<?php include $_SERVER['DOCUMENT_ROOT'].'/src/common-header.php';?>
<div class="content">
<h1>desu.ltd?</h1>
<p>desu.ltd. The domain of me, a guy on the internet named Salt.</p>
<h1>Webservices</h1>
<ul>
<li><a href="https://git.desu.ltd">Gitea</a> - My personal code forge</li>
<li><a href="https://nc.desu.ltd">Nextcloud</a> - For storing files and other things</li>
<li><a href="https://cowfee.moe">Pleroma</a> - A place to shitpost to strangers</li>
</ul>
<p>desu.ltd. The domain of me, a guy on the internet.</p>
<p>There's not much here, at least that you should care about.</p>
<h1>Docs</h1>
<ul>
<li><a href="/about">/about</a> - A page with some info about me</li>
<li><a href="/ascii">/ascii</a> - ASCII art I've collected over time</li>
</ul>
<h1>Related Websites</h1>
<ul>
<li><a href="https://www.9iron.club">9iron.club</a> - The place where me and my friends keep docs and cool shit.</li>
</ul>
</div>
<?php include $_SERVER['DOCUMENT_ROOT'].'/src/common-footer.php';?>
</body>