8000 Bedevere as GH Actions by Mariatta · Pull Request #568 · python/bedevere · GitHub
[go: up one dir, main page]

Skip to content

Bedevere as GH Actions #568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 33 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
383afcf
Bedevere as GitHub Actions
Mariatta Jun 12, 2023
6f5ecee
Set the python-version
Mariatta Jun 12, 2023
3c8d9a9
Create Dockerfile
Mariatta Jun 12, 2023
6c0af43
use setup actions v3 and Python 3.11
Mariatta Jun 12, 2023
dc5bd1d
Update Dockerfile and copy the bedevere directory
Mariatta Jun 13, 2023
1ad09f8
File formatting. Empty line at the end of the file.
Mariatta Jun 13, 2023
c8afadd
Typo in Dockerfile
Mariatta Jun 13, 2023
3250100
RUN dir -s
Mariatta Jun 13, 2023
d562d69
Copy to GitHub workspace directory
Mariatta Jun 13, 2023
e6d77d6
Create entrypoint.sh
Mariatta Jun 13, 2023
e9c572e
Entrypoint was in wrong dir
Mariatta Jun 13, 2023
7d0c3a7
Typo in entrypoint filename
Mariatta Jun 13, 2023
ae8aaab
Make entrypoint executable
Mariatta Jun 13, 2023
494aba6
Copy bedevere to GitHub workspace
Mariatta Jun 13, 2023
5cf8707
Copy bedevere folder
Mariatta Jun 13, 2023
17e9c42
Copy bedevere folder
Mariatta Jun 13, 2023
cde6ac1
debug 400 error
Mariatta Jun 13, 2023
4e267ef
debug gh token
Mariatta Jun 13, 2023
4b385c8
Set the GH Token env var
Mariatta Jun 13, 2023
d9d8c6c
Revert changes
Mariatta Jun 13, 2023
484ece3
Remove debug prints
Mariatta Jun 14, 2023
db8e6cb
Remove Procfile
Mariatta Jun 14, 2023
3f9ea88
Remove runtime.txt. It was for Heroku.
Mariatta Jun 14, 2023
784a19c
Set exit code if bedevere errors out.
Mariatta Jun 14, 2023
9dac39a
Debugging
Mariatta Jun 14, 2023
424509d
Debugging
Mariatta Jun 14, 2023
6fa714a
Debugging
Mariatta Jun 14, 2023
9d1a990
Use repo_full_name when retrieving Git Hash
Mariatta Jun 14, 2023
f59a006
Fix tests
Mariatta Jun 14, 2023
05b6aa1
Remove prints
Mariatta Jun 14, 2023
4834a6f
Debug post status
Mariatta Jun 14, 2023
8ec31af
Debug post status
Mariatta Jun 14, 2023
67849cf
Debug post status
Mariatta Jun 14, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Create entrypoint.sh
  • Loading branch information
Mariatta committed Jun 13, 2023
commit e6d77d63fb930f58a265784ed365086185a9a55f
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ COPY requirements.txt requirements.txt
COPY dev-requirements.txt dev-requirements.txt

RUN mkdir -p /github/workspace/bedevere
COPY bedevere /github/workspace/bedevere
COPY entrypoint.s /entrypoint.sh

RUN pip install --no-cache-dir -U pip
RUN pip install --no-cache-dir -r requirements.txt

RUN dir -s

CMD ["python", "-m", "bedevere"]
ENTRYPOINT ["/entrypoint.sh"]
9 changes: 9 additions & 0 deletions bedevere/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh -l

pwd

ls -l

ls -l /

python -m bedevere
0