no changes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
jblu 2023-06-19 18:48:37 -05:00
parent a650cdda21
commit d89bd69ee5
5 changed files with 65 additions and 65 deletions

View File

@ -1,7 +1,7 @@
*.env
*.md
*drone*
.dockerignore
.git*
Dockerfile
*.env
*.md
*drone*
.dockerignore
.git*
Dockerfile
LICENSE

View File

@ -1,41 +1,41 @@
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry: git.jbranan.com
dry_run: false
username: jblu
password:
from_secret: gittea_drone
repo: git.jbranan.com/jblu/phc
tags:
- latest
when:
branch:
- main
- name: test
image: git.jbranan.com/jblu/phc:latest
environment:
PHC_PLEX_SECRET_TOKEN:
from_secret: PHC_PLEX_SECRET_TOKEN
PHC_HEALTHCHECK_URL:
from_secret: PHC_HEALTHCHECK_URL
PHC_HEALTHCHECK_ID:
from_secret: PHC_HEALTHCHECK_ID
PHC_PLEX_HOST:
from_secret: PHC_PLEX_HOST
PHC_PLEX_PROTOCOL:
from_secret: PHC_PLEX_PROTOCOL
PHC_PLEX_PORT:
from_secret: PHC_PLEX_PORT
commands:
- echo $PHC_PLEX_SECRET_TOKEN
- echo $PHC_HEALTHCHECK_URL
- echo $PHC_HEALTHCHECK_ID
- echo $PHC_PLEX_HOST
- echo $PHC_PLEX_PROTOCOL
- echo $PHC_PLEX_PORT
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry: git.jbranan.com
dry_run: false
username: jblu
password:
from_secret: gittea_drone
repo: git.jbranan.com/jblu/phc
tags:
- latest
when:
branch:
- main
- name: test
image: git.jbranan.com/jblu/phc:latest
environment:
PHC_PLEX_SECRET_TOKEN:
from_secret: PHC_PLEX_SECRET_TOKEN
PHC_HEALTHCHECK_URL:
from_secret: PHC_HEALTHCHECK_URL
PHC_HEALTHCHECK_ID:
from_secret: PHC_HEALTHCHECK_ID
PHC_PLEX_HOST:
from_secret: PHC_PLEX_HOST
PHC_PLEX_PROTOCOL:
from_secret: PHC_PLEX_PROTOCOL
PHC_PLEX_PORT:
from_secret: PHC_PLEX_PORT
commands:
- echo $PHC_PLEX_SECRET_TOKEN
- echo $PHC_HEALTHCHECK_URL
- echo $PHC_HEALTHCHECK_ID
- echo $PHC_PLEX_HOST
- echo $PHC_PLEX_PROTOCOL
- echo $PHC_PLEX_PORT
- /bin/sh /opt/phc.sh

View File

@ -1,9 +1,9 @@
from alpine:latest
RUN apk add --no-cache curl
COPY crontab opt
COPY entrypoint.sh opt
COPY phc.sh opt
RUN crontab /opt/crontab
RUN chmod +x /opt/entrypoint.sh
RUN chmod +x /opt/phc.sh
from alpine:latest
RUN apk add --no-cache curl
COPY crontab opt
COPY entrypoint.sh opt
COPY phc.sh opt
RUN crontab /opt/crontab
RUN chmod +x /opt/entrypoint.sh
RUN chmod +x /opt/phc.sh
CMD ["/opt/entrypoint.sh"]

18
LICENSE
View File

@ -1,9 +1,9 @@
MIT License
Copyright (c) 2023 jblu
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
MIT License
Copyright (c) 2023 jblu
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,2 +1,2 @@
# phc
# phc