Skip to content
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

Streamline COPY statements in Dockerfile #2747

Merged
merged 2 commits into from
Aug 29, 2022

Conversation

casperklein
Copy link
Member

@casperklein casperklein commented Aug 28, 2022

Description

Nothing big.. Just streamlining the COPY usage In Dockerfile. Some statements used ./, while some did not.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (non-breaking change that does improve existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)
  • If necessary I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@casperklein casperklein self-assigned this Aug 28, 2022
@casperklein casperklein requested a review from a team August 28, 2022 21:40
@casperklein casperklein added the kind/improvement Improve an existing feature, configuration file or the documentation label Aug 28, 2022
@casperklein casperklein added this to the v11.2.0 milestone Aug 28, 2022
@georglauterbach
Copy link
Member

@polarathene I'm a bit afraid that #2729 shows that there still are timing-related problems with our tests, but test failures are now happening in PRs for which tests should run fine. Anything we can do here as a follow-up?

@georglauterbach
Copy link
Member

See #2752 (comment).

@polarathene
Copy link
Member

but test failures are now happening in PRs for which tests should run fine. Anything we can do here as a follow-up?

Can you link to the PR with failing test?

I saw this one, but not sure if this was due to the issues you fixed in later commits? (due to a package you had omitted from the build)


Early setup of test/tests.bats is the area that's been mostly sensitive to timing.

There's also a check-for-changes.sh test for remove_lock() which failed one time likely due to timing issues, but the method didn't output anything to log when the conditions were not met IIRC. If it happens again, I'd patch it, otherwise when I have time later in the year I would like to tackle switching back to flock().

@casperklein casperklein merged commit e6f481b into docker-mailserver:master Aug 29, 2022
@casperklein casperklein deleted the dockerfile branch August 29, 2022 22:33
@casperklein
Copy link
Member Author

See #2752 (comment).

Overlooked that. I thought the comment was about the failing tests 😟

@georglauterbach
Copy link
Member

See #2752 (comment).

Overlooked that. I thought the comment was about the failing tests worried

No worries. Due to the large feedback, I will provide separate PRs and close #2752 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement Improve an existing feature, configuration file or the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants