34 Commits

Author SHA1 Message Date
fa73ce8f58 Update gitlab-ci.yml 2021-05-01 15:44:31 -05:00
24f624a673 Update about page 2021-04-29 00:11:24 -05:00
ce18848bb0 Correct protocol for local.desu.ltd 2021-04-22 18:16:17 -05:00
37254883a4 Add entry for local.desu.ltd 2021-04-22 18:02:06 -05:00
722f32e0a9 Add more Sam quotes 2021-04-22 14:06:58 -05:00
d97b679f1e Add subtitle 2021-04-21 20:01:25 -05:00
4bfa632dff More subtitles 2021-04-08 14:37:38 -05:00
0c30da7e6d Actually really for real point current to god knows where 2021-04-08 14:33:49 -05:00
2fcf3ad3a2 Point current off to god knows where 2021-03-25 13:01:32 -05:00
930c550385 Alright fuck it, disable testing 2021-03-25 01:02:41 -05:00
ea31268ef5 Wait for Apache to start up before testing it 2021-03-25 00:56:04 -05:00
c1b575f5a9 Add more debugging info to the test cases 2021-03-25 00:42:24 -05:00
ad67e1831b Oh right --push doesn't take an argument 2021-03-25 00:31:04 -05:00
7330851694 Fix some issues with docker buildx
Unfortunately, I can't use --load, I'll have to use --push directly
2021-03-25 00:24:13 -05:00
62829cecad Oh more diag pls 2021-03-20 20:36:24 -05:00
afa3886de5 Maybe this fixes it? Hopefully I can at least diag from here 2021-03-20 20:36:00 -05:00
d066bed021 Alright, new approach 2021-03-20 20:30:58 -05:00
1cf9089e33 Disabel SELinux to fix builds on arm64 2021-03-20 20:27:42 -05:00
9aeb4b44b4 That image doesn't work; try this one 2021-03-20 18:50:45 -05:00
f3f6fd7be5 No wait I want this one 2021-03-20 14:28:24 -05:00
138fa27962 Switch to an image that will have buildx 2021-03-20 14:25:59 -05:00
234992141c Set up multi-arch builds 2021-03-20 14:20:43 -05:00
89d9610ba8 Need to actually add curl. Whoops 2021-03-20 14:17:37 -05:00
73cad693a1 Set up some barebones automated testing 2021-03-20 14:14:11 -05:00
acc4e3f324 Remove janky script stuff 2021-03-20 13:50:26 -05:00
7b5af1e979 Update README, ensure /files exists in the docroot 2021-03-20 13:49:49 -05:00
6a633ec2eb Fix typo in push for bleeding pipeline 2021-03-20 13:39:01 -05:00
67f15c17e6 Add a GitLab CI 2021-03-20 13:34:56 -05:00
3b5544f99f Update README 2021-03-20 13:03:11 -05:00
b57bcea176 Deprecate current pack 2021-03-09 02:47:38 -06:00
dbd6856dce Add another quote 2021-02-20 01:32:04 -06:00
36f5753088 Add a basic bitch dockerfile 2021-02-15 13:25:00 -06:00
7909e8f91d RGBA Lines 2021-02-14 20:07:03 -06:00
063ffd6f34 Use transparent shadows 2021-02-14 20:05:02 -06:00
13 changed files with 90 additions and 25 deletions

6
.dockerignore Normal file
View File

@@ -0,0 +1,6 @@
.git
.gitignore
.templates
deploy.sh
README.md
test.sh

1
.gitignore vendored
View File

@@ -1,2 +1 @@
*.swp
/files

54
.gitlab-ci.yml Normal file
View File

@@ -0,0 +1,54 @@
#
# This guy is awesome: https://dev.to/bzinoun/gitlab-ci-to-build-and-push-containers-to-registry-538a
#
image: morlay/buildx:607a2ce
variables:
# DinD's vfs driver is pretty intensive; this is less so
DOCKER_DRIVER: overlay2
CI_HUB_USERNAME: rehashedsalt
stages:
- build
# - test
services:
- docker:dind
before_script:
- echo -n "$CI_LOGIN_PASSWORD" | docker login -u "$CI_LOGIN_USERNAME" --password-stdin
- docker version
- docker info
after_script:
- docker logout hub.docker.com
# BUILD
Build:
stage: build
script:
- docker pull $CI_HUB_USERNAME/$CI_PROJECT_NAME:latest || true
- docker buildx create --use
- >
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_SHORT_SHA
--tag $CI_HUB_USERNAME/$CI_PROJECT_NAME:bleeding
--push
.
- docker images
Build_Tag:
stage: build
only:
- tags
script:
- docker pull $CI_HUB_USERNAME/$CI_PROJECT_NAME:latest || true
- docker buildx create --use
- >
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

3
Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM php:7-apache
COPY ./ /var/www/html/
EXPOSE 80

View File

@@ -6,6 +6,16 @@ A website for me and my friends.
This repo is a ready-to-go webroot. `git clone` and configure Apache. `git pull` for updates.
## Docker
You can pull the image from `rehashedsalt/9iron`. The `:latest` tag will always have the latest git tag applied and the `:bleeding` tag will always be the latest *commit*.
The following directories contain stateful content that you will be interested in keeping in a PV:
* `/var/www/html/files`
The image listens on `:80` and does not terminate SSL; proxy connections if you're interested in that.
## Random Subtitles
I've got random subtitles generated at page load. Hit me up (i.e. open an issue) if you've got dumb ideas for some.

View File

@@ -11,7 +11,7 @@
<h1>About 9iron</h1>
<p>9iron is a website spun up by yours truly to unify the services I host and inevitably rope my friends into. It also aggregates documentation about the various games we play.</p>
<h1>About Me</h1>
<p>I am Salt. I'm a sysadmin and I play video games. I try to be most active on Matrix, but inevitably have to use Discord all the damn time. You can also reach me very effectively through the Fediverse and email.</p>
<p>I am Salt. I'm a sysadmin and I play video games. I'm regrettably most active on Discord because there are no good alternatives (that my friends will join). You can also reach me very effectively through the Fediverse and email.</p>
<p>Hit me up if you wanna play something or if shit breaks.</p>
<dl>
<dt>Fedi:</dt>

View File

@@ -1,10 +0,0 @@
#! /bin/sh
#
# post-deploy.sh
# Copyright (C) 2020 Vintage Salt <rehashedsalt@cock.li>
#
# Distributed under terms of the MIT license.
#
ssh -t salt@www.9iron.club sudo git -C /var/www/www.9iron.club pull

0
files/.keep Normal file
View File

View File

@@ -1 +1 @@
1.7.10-magicpack
null

View File

@@ -110,6 +110,8 @@
// - Me, irritating Sam
"\"My heart runs Linux\"",
// - Me, context forgotten
"\"Brett has Mrs. Chapman nipples\"",
// - Me
"\"I suck a lot of dick, get over here\"",
// - Brett
"\"This was worth sucking dick\"",
@@ -122,8 +124,12 @@
// - Brett
"\"Be grody on my back. Wait-\"",
// - Brett
"\"Let's get this cock onto a tray!\"",
// - Brett
"\"This is Hell, they are all prostitutes.\"",
// - Jordyn
"\"Isn't an asshole like a brass instrument?\"",
// - Jordyn
"\"Sir, this is an M32 grenade launcher\"",
// - Jacob https://www.youtube.com/watch?v=DJRkFLFnv3c
"\"OHNO!\"",
@@ -160,8 +166,14 @@
// - Jacob, after I said he's my little pogchamp
"\"They're children you thirsty whores\"",
// - Sam
"\"Pichu is illegal\"",
// - Sam
"\"DEDEDE FUCKS\"",
// - Sam
"\"Imagine 'Blades of Glory' but they fuck\"",
// - Also Sam
"\"There's no D in BDSM\"",
// - Rachael
"God dammit, Sam",
"God dammit, Jacob",
"God dammit",

View File

@@ -23,6 +23,7 @@
<h4>desu.ltd</h4>
<a href="https://desu.ltd">Index</a>
<a href="https://git.desu.ltd">Gitea</a>
<a href="http://local.desu.ltd">Local</a>
</div>
<div class="spsubsection">
<h4>9iron</h4>

View File

@@ -10,12 +10,12 @@
:root {
--background-bright: #fdfcfa;
--background: #ecebe9;
--line: #d6d5d3;
--line: rgba(0,0,0,0.1);
--greenlink: #327117;
--greenlink-hover: #47b625;
--link: #286a9d;
--link-hover: #3ea5f3;
--shadow: 8px -5px #d6d5d3;
--shadow: 8px -5px rgba(0,0,0,0.1);
--text: #414040;
--text-code: #a7674e;
}

10
test.sh
View File

@@ -1,10 +0,0 @@
#! /bin/sh
#
# test.sh
# Copyright (C) 2020 Vintage Salt <rehashedsalt@cock.li>
#
# Distributed under terms of the MIT license.
#
php -S localhost:8000