[inactive-gitlab-users] Paths adjustements
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [inactive-gitlab-users] Paths adjustements
- Date: Tue, 3 Sep 2019 16:46:56 +0000 (UTC)
commit 0a6b940c6a05a21bf960cc4b1510697edff51e0a
Author: Andrea Veri <averi redhat com>
Date: Tue Sep 3 18:47:00 2019 +0200
Paths adjustements
Dockerfile | 4 +++-
inactive-gitlab-users.sh | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 964a842..dbd4bcc 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,7 +3,9 @@ FROM python:3
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
-RUN git clone https://gitlab.gnome.org/Infrastructure/sysadmin-bin.git /usr/local/bin
+RUN mkdir /usr/local/sysadmin-bin &&
+ git clone https://gitlab.gnome.org/Infrastructure/sysadmin-bin.git /usr/local/sysadmin-bin
+
COPY inactive-gitlab-users.sh /usr/local/bin
ENTRYPOINT ["/usr/local/bin/inactive-gitlab-users.sh"]
diff --git a/inactive-gitlab-users.sh b/inactive-gitlab-users.sh
index 28591ce..3e33a80 100755
--- a/inactive-gitlab-users.sh
+++ b/inactive-gitlab-users.sh
@@ -1,3 +1,3 @@
#!/bin/sh
-inactive-gitlab-users.sh get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE} >
/tmp/inactive-gitlab-users.json
+/usr/local/sysadmin-bin/inactive-gitlab-users.sh get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE} >
/tmp/inactive-gitlab-users.json
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]