From d89bd69ee5ee6c497cfa415efdfdfb0a8599afa0 Mon Sep 17 00:00:00 2001 From: jblu Date: Mon, 19 Jun 2023 18:48:37 -0500 Subject: [PATCH] no changes --- .dockerignore | 12 ++++---- .drone.yml | 80 +++++++++++++++++++++++++-------------------------- Dockerfile | 16 +++++------ LICENSE | 18 ++++++------ README.md | 4 +-- 5 files changed, 65 insertions(+), 65 deletions(-) diff --git a/.dockerignore b/.dockerignore index 35fb774..9649980 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,7 +1,7 @@ -*.env -*.md -*drone* -.dockerignore -.git* -Dockerfile +*.env +*.md +*drone* +.dockerignore +.git* +Dockerfile LICENSE \ No newline at end of file diff --git a/.drone.yml b/.drone.yml index e5f0a8d..26af5ff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index e79155a..042d0c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file diff --git a/LICENSE b/LICENSE index 0406f8e..f756b80 100644 --- a/LICENSE +++ b/LICENSE @@ -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. diff --git a/README.md b/README.md index 9385b55..c45dc75 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ -# phc - +# phc +