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

Release 3.4.0 to master #306

Merged
merged 47 commits into from
Feb 21, 2024
Merged

Release 3.4.0 to master #306

merged 47 commits into from
Feb 21, 2024

Conversation

tofu-rocketry
Copy link
Member

See #305 for new changes not already reviewed.

tofu-rocketry and others added 30 commits October 9, 2023 16:24
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](docker/build-push-action@v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v3.1.3...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v4.2.0...v4.3.0)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
It's reccomended to add 'yum clean all' to each Docker RUN that does a
yum install to keep the image size down.
- Change comment spacing to standard 2 before mark
- Change pyopenssl requirement to all lowercase
- Reorder imports to alphabetical order
- Change multi-line import to use implicit continuation
While it may be a useful function elsewhere in future, it's not
currently used outside its own module, so mark is as private. This can
allow us to refactor without worrying about anything other than the
tests.
- Adds cryptography as a dependency before pyopenssl
- Modified pyopenssl to lower case to satisfy pip call
FPM build script for RPM and DEB
- Set AMS as default messaging system.
- Add AMS hosts (both prod and devel) as options.
- Emphasise note about the server_cert.
- Add token as commented out option.
- Copy log level comments from sender to receiver conf.
tofu-rocketry and others added 17 commits February 6, 2024 15:44
- Get rid of placeholder receiver destination. People using this option
  should only be accounting repository admins so will know where they
  need to connect to.
- Make the receiver and sender config match a little better.
- Remove port number from sender config as option is generally less
  likely to be used with AMS being more common.
Update comments and options in config files
We don't (yet) want to test against unicode.
Some compatability issues raised in testing with 3.3.0
- Add decoding when sending messages to fix Python 3 issues.
- Set both to ascii only as this maintains the behaviour with Python 2
  for now while in transition period.
- Set pyopenssl >=19.1 so that it is compatable with cryptography
  >=3.3.0
- Revert cryptography requriement to 3.3
Pin to 3.3.2, the latest version that's still compatible with Python 2.
Character vs. byte strings fix
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v4.3.0...v4.3.1)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…tags

A mixture of inconsistent testing and dependencies led to some weird errors that were hard to reproduce.
I cordoned it down to:
- Ordering of --depends calls, where calling python3-pip before python3-stomppy led to an almost instant
fail
- Bad module names
It was not in fact the ifs that were at fault.  This script has now been tested with Rocky 8 and CentOS 8
from start to finish, and Debian previously.  It will now be tested with EL7.
Fixes incompatibility with EL7 by changing some module names.
Co-authored-by: Adrian Coveney <[email protected]>
Co-authored-by: Adrian Coveney <[email protected]>
@tofu-rocketry tofu-rocketry added this to the 3.4.0 milestone Feb 21, 2024
@tofu-rocketry tofu-rocketry self-assigned this Feb 21, 2024
@tofu-rocketry tofu-rocketry requested a review from a team as a code owner February 21, 2024 13:41
Copy link
Contributor

@RedProkofiev RedProkofiev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just looked at all of the changes, and there's nothing unexpected or erroneous within the release. I think it's ready to roll.

@tofu-rocketry tofu-rocketry merged commit 428a814 into master Feb 21, 2024
15 of 17 checks passed
@tofu-rocketry tofu-rocketry deleted the release-3.4.0 branch February 21, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants