Skip to content

Commit

Permalink
Debug wrong pipenv
Browse files Browse the repository at this point in the history
Signed-off-by: Tanner Lewis <lewijacn@amazon.com>
  • Loading branch information
lewijacn committed Sep 18, 2024
1 parent 8cb20b8 commit 16dde64
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}" \
Expand Down

0 comments on commit 16dde64

Please sign in to comment.