Rename project to musala-push

This commit is contained in:
Glenn Y. Rolland 2020-01-25 18:55:53 +01:00
parent f326bed5b3
commit 6e4c45c8ed
8 changed files with 11 additions and 10 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
/musala-push
/musala-mail /musala-mail
/vendor /vendor
/tmp /tmp

View file

@ -1,6 +1,6 @@
GOFILES=$(wildcard *.go) GOFILES=$(wildcard *.go)
NAME=musala-mail NAME=musala-push
all: build all: build

View file

@ -11,7 +11,7 @@ import (
) )
const ( const (
programBinary string = "musala-mail" programBinary string = "musala-push"
) )
var ( var (

View file

@ -6,7 +6,7 @@ FROM golang:1.12 AS build
RUN git clone \ RUN git clone \
--single-branch \ --single-branch \
--branch develop \ --branch develop \
https://github.com/glenux/musala-mail \ https://github.com/glenux/musala-push \
/app \ /app \
&& rm -f /app/contrib-trello \ && rm -f /app/contrib-trello \
&& git clone \ && git clone \
@ -30,9 +30,9 @@ RUN apk update \
&& rm -rf /var/cache/apk/* && rm -rf /var/cache/apk/*
RUN mkdir /app RUN mkdir /app
COPY --from=build /app/musala-mail /app/ COPY --from=build /app/musala-push /app/
COPY docker/musala-mail.cron /app/ COPY docker/musala-push.cron /app/
COPY templates/ /app/templates COPY templates/ /app/templates
CMD ["/bin/sh", "-c", "/usr/bin/crontab /app/musala-mail.cron && /usr/sbin/crond -f"] CMD ["/bin/sh", "-c", "/usr/bin/crontab /app/musala-push.cron && /usr/sbin/crond -f"]

View file

@ -1,8 +1,8 @@
# ALL boards for given user # ALL boards for given user
30 10 * * * cd /app && TRELLO_URL="" TRELLO_TOKEN="" EMAIL_TO="" /app/musala-mail 30 10 * * * cd /app && TRELLO_URL="" TRELLO_TOKEN="" EMAIL_TO="" /app/musala-push
# Send this board to other user # Send this board to other user
30 10 * * * cd /app TRELLO_URL="" TRELLO_TOKEN="" EMAIL_TO="" /app/musala-mail 30 10 * * * cd /app TRELLO_URL="" TRELLO_TOKEN="" EMAIL_TO="" /app/musala-push
# Send this board to mailing list # Send this board to mailing list
30 10 * * * cd /app TRELLO_URL="" TRELLO_TOKEN="" EMAIL_TO="" /app/musala-mail 30 10 * * * cd /app TRELLO_URL="" TRELLO_TOKEN="" EMAIL_TO="" /app/musala-push

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/glenux/musala-mail module github.com/glenux/musala-push
require ( require (
cloud.google.com/go v0.44.3 // indirect cloud.google.com/go v0.44.3 // indirect