Compare commits

..

No commits in common. "c5ca5cc4791b1425aa65d7d175f2bbdda004bbb8" and "674215d0cc3381ff35377e3ee07bf1092b023252" have entirely different histories.

3 changed files with 1 additions and 41 deletions

View File

@ -1,16 +0,0 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
repo: sneak/sircd
username:
from_secret: docker_username
password:
from_secret: docker_password
auto_tag: true
tags:
- ${DRONE_COMMIT_SHA}
- ${DRONE_BRANCH}

View File

@ -1,24 +0,0 @@
FROM golang:1.13 as builder
WORKDIR /go/src/git.eeqj.de/sneak/sircd
COPY . .
#RUN make lint && make build
RUN make build
WORKDIR /go
RUN tar cvfz go-src.tgz src && du -sh *
# this container doesn't do anything except hold the build artifact
# and make sure it compiles.
FROM alpine
COPY --from=builder /go/src/git.eeqj.de/sneak/sircd/sircd /bin/sircd
# put the source in there too for safekeeping
COPY --from=builder /go/go-src.tgz /usr/local/src/go-src.tgz
CMD /bin/sircd
# FIXME add testing

View File

@ -17,7 +17,6 @@ func (s *ircd) processIRCMessage(m *ircMessage) {
} }
func (s *ircd) sayHello(c *ircClient) { func (s *ircd) sayHello(c *ircClient) {
panic("not implemented")
//001 welcome //001 welcome
//002 host/version decl //002 host/version decl
//003, 004, 005, 251, 252, 253, 254, 255, 256, 266 //003, 004, 005, 251, 252, 253, 254, 255, 256, 266
@ -97,4 +96,5 @@ func (s *ircd) processUSERCommand(m *ircMessage) {
func (s *ircd) processCAPCommand(m *ircMessage) { func (s *ircd) processCAPCommand(m *ircMessage) {
s.log.Debugln("ignoring CAP command, unsupported") s.log.Debugln("ignoring CAP command, unsupported")
// pass
} }