-
-
Notifications
You must be signed in to change notification settings - Fork 25
Add docker_image mirroring #238
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
base: main
Are you sure you want to change the base?
Conversation
@@ -68,7 +68,7 @@ def git(*cmd: str) -> None: | |||
# Commit and tag | |||
git('add', '.') | |||
git('commit', '-m', f'Mirror: {version}') | |||
git('tag', f'v{version}') | |||
git('tag', f'v{version}' if language != 'docker_image' else version) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may be a controversial decision, but I want to keep the git tags in sync with the docker tags.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This files overwrites the all/.pre-commit-hooks.yaml
. It think that's nice and intuitive, but depends on this line to stay in that order.
def test_docker_image_integration_official_repo(in_git_dir): | ||
make_repo( | ||
'.', | ||
language='docker_image', name='python', description='', | ||
entry='python', id='python-docker', match_key='files', | ||
match_val=r'\.py$', args='[]', require_serial='false', | ||
minimum_pre_commit_version='0', | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really a valid pre-commit hook, but there are so few in the official repo 🤷
Also this is a good, but time consuming test for the pagination requests.
before you spend more time on this I think there needs to be a little more discussion:
|
|
No description provided.