Compare commits
30 Commits
1ac6174029
...
1.0.3
Author | SHA1 | Date | |
---|---|---|---|
722f32e0a9 | |||
d97b679f1e | |||
4bfa632dff | |||
0c30da7e6d | |||
2fcf3ad3a2 | |||
930c550385 | |||
ea31268ef5 | |||
c1b575f5a9 | |||
ad67e1831b | |||
7330851694 | |||
62829cecad | |||
afa3886de5 | |||
d066bed021 | |||
1cf9089e33 | |||
9aeb4b44b4 | |||
f3f6fd7be5 | |||
138fa27962 | |||
234992141c | |||
89d9610ba8 | |||
73cad693a1 | |||
acc4e3f324 | |||
7b5af1e979 | |||
6a633ec2eb | |||
67f15c17e6 | |||
3b5544f99f | |||
b57bcea176 | |||
dbd6856dce | |||
36f5753088 | |||
7909e8f91d | |||
063ffd6f34 |
6
.dockerignore
Normal file
6
.dockerignore
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
.git
|
||||||
|
.gitignore
|
||||||
|
.templates
|
||||||
|
deploy.sh
|
||||||
|
README.md
|
||||||
|
test.sh
|
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1 @@
|
|||||||
*.swp
|
*.swp
|
||||||
/files
|
|
||||||
|
79
.gitlab-ci.yml
Normal file
79
.gitlab-ci.yml
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
#
|
||||||
|
# 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
|
||||||
|
- push
|
||||||
|
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
|
||||||
|
--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
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
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:$CI_COMMIT_REF_NAME
|
||||||
|
- >
|
||||||
|
docker tag
|
||||||
|
$CI_HUB_USERNAME/$CI_PROJECT_NAME:$CI_COMMIT_SHORT_SHA
|
||||||
|
$CI_HUB_USERNAME/$CI_PROJECT_NAME:latest
|
||||||
|
- 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
|
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
FROM php:7-apache
|
||||||
|
COPY ./ /var/www/html/
|
||||||
|
EXPOSE 80
|
10
README.md
10
README.md
@@ -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.
|
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
|
## 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.
|
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.
|
||||||
|
10
deploy.sh
10
deploy.sh
@@ -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
0
files/.keep
Normal file
@@ -1 +1 @@
|
|||||||
1.7.10-magicpack
|
null
|
@@ -110,6 +110,8 @@
|
|||||||
// - Me, irritating Sam
|
// - Me, irritating Sam
|
||||||
"\"My heart runs Linux\"",
|
"\"My heart runs Linux\"",
|
||||||
// - Me, context forgotten
|
// - Me, context forgotten
|
||||||
|
"\"Brett has Mrs. Chapman nipples\"",
|
||||||
|
// - Me
|
||||||
"\"I suck a lot of dick, get over here\"",
|
"\"I suck a lot of dick, get over here\"",
|
||||||
// - Brett
|
// - Brett
|
||||||
"\"This was worth sucking dick\"",
|
"\"This was worth sucking dick\"",
|
||||||
@@ -122,8 +124,12 @@
|
|||||||
// - Brett
|
// - Brett
|
||||||
"\"Be grody on my back. Wait-\"",
|
"\"Be grody on my back. Wait-\"",
|
||||||
// - Brett
|
// - Brett
|
||||||
|
"\"Let's get this cock onto a tray!\"",
|
||||||
|
// - Brett
|
||||||
"\"This is Hell, they are all prostitutes.\"",
|
"\"This is Hell, they are all prostitutes.\"",
|
||||||
// - Jordyn
|
// - Jordyn
|
||||||
|
"\"Isn't an asshole like a brass instrument?\"",
|
||||||
|
// - Jordyn
|
||||||
"\"Sir, this is an M32 grenade launcher\"",
|
"\"Sir, this is an M32 grenade launcher\"",
|
||||||
// - Jacob https://www.youtube.com/watch?v=DJRkFLFnv3c
|
// - Jacob https://www.youtube.com/watch?v=DJRkFLFnv3c
|
||||||
"\"OHNO!\"",
|
"\"OHNO!\"",
|
||||||
@@ -160,8 +166,14 @@
|
|||||||
// - Jacob, after I said he's my little pogchamp
|
// - Jacob, after I said he's my little pogchamp
|
||||||
"\"They're children you thirsty whores\"",
|
"\"They're children you thirsty whores\"",
|
||||||
// - Sam
|
// - Sam
|
||||||
|
"\"Pichu is illegal\"",
|
||||||
|
// - Sam
|
||||||
|
"\"DEDEDE FUCKS\"",
|
||||||
|
// - Sam
|
||||||
"\"Imagine 'Blades of Glory' but they fuck\"",
|
"\"Imagine 'Blades of Glory' but they fuck\"",
|
||||||
// - Also Sam
|
// - Also Sam
|
||||||
|
"\"There's no D in BDSM\"",
|
||||||
|
// - Rachael
|
||||||
"God dammit, Sam",
|
"God dammit, Sam",
|
||||||
"God dammit, Jacob",
|
"God dammit, Jacob",
|
||||||
"God dammit",
|
"God dammit",
|
||||||
|
@@ -10,12 +10,12 @@
|
|||||||
:root {
|
:root {
|
||||||
--background-bright: #fdfcfa;
|
--background-bright: #fdfcfa;
|
||||||
--background: #ecebe9;
|
--background: #ecebe9;
|
||||||
--line: #d6d5d3;
|
--line: rgba(0,0,0,0.1);
|
||||||
--greenlink: #327117;
|
--greenlink: #327117;
|
||||||
--greenlink-hover: #47b625;
|
--greenlink-hover: #47b625;
|
||||||
--link: #286a9d;
|
--link: #286a9d;
|
||||||
--link-hover: #3ea5f3;
|
--link-hover: #3ea5f3;
|
||||||
--shadow: 8px -5px #d6d5d3;
|
--shadow: 8px -5px rgba(0,0,0,0.1);
|
||||||
--text: #414040;
|
--text: #414040;
|
||||||
--text-code: #a7674e;
|
--text-code: #a7674e;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user