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

Add: [AzurePipeline] introducing a release pipeline #7027

Merged
merged 2 commits into from Jan 13, 2019

Conversation

TrueBrain
Copy link
Member

@TrueBrain TrueBrain commented Jan 7, 2019

Second attempt, this with better workish. This splits up the azure pipelines in small templates, for easier maintenance.

Examples:
https://dev.azure.com/truebrain/OpenTTD/_build/results?buildId=241
This is what a nightly would be. The branch is now called 'azure_pipelines', but imagine it reading 'master'

https://dev.azure.com/truebrain/OpenTTD/_build/results?buildId=242
This is what a release would be. Because I used a branch ('azure_pipelines') to compile it, Windows exe and .deb files have the wrong version number (it is hardcoded), so please do not use these artifacts. But normally, if the release procedure is followed, that would result in something like '1.9.0-beta1' as version number.

@TrueBrain
Copy link
Member Author

TrueBrain commented Jan 7, 2019

Keep forgetting to remind myself: still missing, meta files:

  • README.md
  • changelog.txt
  • released.txt
  • manifest.yaml

and possibly an index.html, which has the style of our website.

(would like to merge this PR without those, as they will be an addition)

Copy link
Member

@LordAro LordAro left a comment

Choose a reason for hiding this comment

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

Nothing major. I suspect the only way to test this properly is to actually use it :)

azure-pipelines-release.yml Outdated Show resolved Hide resolved
azure-pipelines-ci.yml Outdated Show resolved Hide resolved
azure-pipelines/osx-dependencies.yml Outdated Show resolved Hide resolved
azure-pipelines-release.yml Outdated Show resolved Hide resolved
azure-pipelines-release.yml Outdated Show resolved Hide resolved
azure-pipelines-release.yml Outdated Show resolved Hide resolved
@TrueBrain TrueBrain force-pushed the azure_release branch 3 times, most recently from 868a753 to 7ba4856 Compare January 12, 2019 16:24
@TrueBrain
Copy link
Member Author

TrueBrain commented Jan 12, 2019

Added tons of stuff. Only thing "missing" now is an index.html. But that is something for another PR.

Example result: https://dev.azure.com/truebrain/OpenTTD/_build/results?buildId=223

@TrueBrain TrueBrain force-pushed the azure_release branch 6 times, most recently from 3c64b60 to 51f27ac Compare January 12, 2019 19:03
@TrueBrain
Copy link
Member Author

TrueBrain commented Jan 12, 2019

New URLs to look at the result:
https://dev.azure.com/truebrain/OpenTTD/_build/results?buildId=229 (nightlies, custom, etc)
https://dev.azure.com/truebrain/OpenTTD/_build/results?buildId=230 (stables)
(see description above)

@TrueBrain
Copy link
Member Author

TrueBrain commented Jan 13, 2019

CI currently breaks on this commit, as I changed the location where the yml is stored. I will fix that after an initial review shows this is what we want, and if the CI passes, it would result in a merge. As this would mean I have to reconfigure the CI for all pull requests.

@TrueBrain TrueBrain force-pushed the azure_release branch 3 times, most recently from 3f35fb0 to e3c1dfe Compare January 13, 2019 11:12
This release pipeline creates all the official release binaries,
and publishes them as artifacts. Currently it can only produce
nightlies and custom builds; stable/testing release binaries are
untested.

This commit also splits up the pipeline in small bits, to both
improve readability, and to share code with the CI pipeline where
possible.
@LordAro LordAro merged commit 7509273 into OpenTTD:master Jan 13, 2019
@TrueBrain TrueBrain deleted the azure_release branch January 20, 2019 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants