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

Make Swift 5.2 the minimum required version #378

Merged
merged 7 commits into from
Jun 22, 2021

Conversation

Davidde94
Copy link
Collaborator

We're applying this change across all of the NIO family of projects.

I've removed the docker files for earlier versions, and set the tools version. I've also added a brief note inside the contributing guide.

@Lukasa Lukasa added semver/patch For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1) semver/minor For PRs that when merged cause a bump of the minor version, ie. 1.x.0 -> 1.(x+1).0 and removed semver/patch For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1) labels Jun 18, 2021
Copy link
Member

@fabianfett fabianfett left a comment

Choose a reason for hiding this comment

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

Awesome! Thank you!

@Davidde94
Copy link
Collaborator Author

Davidde94 commented Jun 22, 2021

Hey @yim-lee , would you be able to sort out the CI for this please? We need a few things:

  • Remove 5.0 job
  • Remove 5.1 job
  • Update API breakage to be based on the Swift 5.4 Ubuntu 20.04 image
  • Update the 5.2 job to use the new 16.04 docker file

Copy link
Collaborator

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

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

LGTM.

@yim-lee
Copy link
Contributor

yim-lee commented Jun 22, 2021

@swift-server-bot test this please

Copy link
Contributor

@yim-lee yim-lee left a comment

Choose a reason for hiding this comment

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

@Davidde94 CI changes are done. There is an issue with 1604.52.yaml that needs to be addressed but otherwise this should be good to go.


test:
image: async-http-client:16.04-5.2
environment: []
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove []

+ docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.1604.52.yaml -p async-http-client-swift52-prb build --pull
yaml.parser.ParserError: while parsing a block mapping
  in "./docker/docker-compose.1604.52.yaml", line 13, column 5
expected <block end>, but found '<block sequence start>'
  in "./docker/docker-compose.1604.52.yaml", line 15, column 7
Build step 'Execute shell' marked build as failure

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks!

@Davidde94 Davidde94 merged commit 92bcf49 into swift-server:main Jun 22, 2021
@Davidde94 Davidde94 deleted the de/swift-5.2 branch June 22, 2021 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/minor For PRs that when merged cause a bump of the minor version, ie. 1.x.0 -> 1.(x+1).0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants