From 16dde64cb55e91f7a424b9be4da451ab5e41bd59 Mon Sep 17 00:00:00 2001 From: Tanner Lewis Date: Wed, 18 Sep 2024 17:29:04 -0500 Subject: [PATCH] Debug wrong pipenv Signed-off-by: Tanner Lewis --- Dockerfile | 4 +--- entrypoint.sh | 3 ++- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3455746..539f8c6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,6 @@ COPY entrypoint.sh /webhook-trigger WORKDIR /webhook-trigger RUN python3 -m pip install --upgrade pipenv -RUN pipenv install --deploy - -RUN chmod +x entrypoint.sh +RUN pipenv install --deploy --system CMD ["./entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh index 5aac397..83d8eeb 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,8 +15,9 @@ pr_repo_url="https://github.com/${GITHUB_REPOSITORY}.git" cd /webhook-trigger || exit echo "Running jenkins test on repo: $pr_repo_url and branch: $branch_name" pipenv run pip list +pip list ls -pipenv run python3 default_webhook_trigger.py \ +python3 default_webhook_trigger.py \ --jenkins_url="${INPUT_JENKINS_URL}" \ --pipeline_token="${INPUT_API_TOKEN}" \ --job_name="${INPUT_JOB_NAME}" \