This commit is contained in:
Akkadius 2022-12-25 03:04:19 -06:00
parent 4bbad8678c
commit 2db28a7e42
4 changed files with 60 additions and 1 deletions

View File

@ -87,7 +87,7 @@ steps:
- name: cache
path: /home/eqemu/.ccache/
- name: Upload Artifacts
image: akkadius/eqemu-build-releaser:latest
image: akkadius/eqemu-build-releaser:v2
environment:
RCLONE_CONFIG_REMOTE_TYPE: ftp
RCLONE_FTP_HOST: drone.akkadius.com
@ -95,10 +95,13 @@ steps:
RCLONE_FTP_PASS:
from_secret: RCLONE_FTP_PASS
commands:
- rclone config create remote ftp env_auth true > /dev/null
- |
rclone copy eqemu-server-linux-x64.zip remote:
- |
rclone copy eqemu-server-linux-bots-x64.zip remote:
- |
rclone ls remote:
trigger:
branch:
@ -139,13 +142,41 @@ steps:
RCLONE_FTP_PASS:
from_secret: RCLONE_FTP_PASS
commands:
- rclone config create remote ftp env_auth true > /dev/null
- |
rclone copy eqemu-server-windows-x64.zip remote:
- |
rclone copy eqemu-server-windows-bots-x64.zip remote:
- |
rclone ls remote:
trigger:
branch:
- akkadius/build-test
event:
- push
---
kind: pipeline
type: docker
name: Publish Artifacts to Github
steps:
- name: Upload Artifacts
image: akkadius/eqemu-build-releaser:v2
environment:
RCLONE_CONFIG_REMOTE_TYPE: ftp
RCLONE_FTP_HOST: drone.akkadius.com
RCLONE_FTP_USER: artifacts
RCLONE_FTP_PASS:
from_secret: RCLONE_FTP_PASS
commands:
- rclone config create remote ftp env_auth true > /dev/null
- |
rclone copy remote:* .
- gh-release --assets=eqemu-server-linux-x64.zip,eqemu-server-linux-bots-x64.zip,eqemu-server-windows-x64.zip,eqemu-server-windows-bots-x64.zip -y
depends_on:
- Build Windows Binaries
- Build Linux Binaries

5
CHANGELOG.md Normal file
View File

@ -0,0 +1,5 @@
## [22.0.1]
### Stable Releases
- Testing stable releases

8
package.json Normal file
View File

@ -0,0 +1,8 @@
{
"name": "eqemu-server",
"version": "22.0.1",
"repository": {
"type": "git",
"url": "https://github.com/EQEmu/Server.git"
}
}

View File

@ -1,8 +1,23 @@
#############################################
# debian
#############################################
FROM debian:11-slim
#############################################
# basics
#############################################
RUN apt-get update && apt-get install -y \
rclone \
make \
jq \
wget \
curl
#############################################
# node
#############################################
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash && \
apt-get update && apt-get install -y nodejs && rm -rf /var/lib/apt/lists/*
RUN npm install -g gh-release