-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Hanefi Onaldi <[email protected]>
- Loading branch information
1 parent
4483cb3
commit aa2acbb
Showing
1 changed file
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,13 +10,13 @@ assignees: gurkanindibay | |
# Update OS Packages | ||
## Debian and RedHat | ||
- Change your directory to `packaging` repository directory & checkout `all-enterprise` branch. | ||
- [ ] Run the pipeline using branch name as all-enterprise https://github.com/citusdata/packaging/actions/workflows/update_package_properties.yml. Input tag name and if version is fancy, input the fancy version_no. Other parameters could be kept as is if you want | ||
- [ ] Run [this pipeline](https://github.com/citusdata/packaging/actions/workflows/update_package_properties.yml) using branch name as `all-enterprise`. Input tag name and if version is fancy, input the fancy version number. Other parameters could be kept as is if you want. | ||
- Then check the following (needed for both debian & redhat): | ||
- [ ] Updated `pkglatest` variable in the `pkgvars` file to `$VERSION.citus-1` | ||
- Then check the following (needed for debian): | ||
- [ ] A new entry (`$VERSION.citus-1`, `stable`) is added to the `debian/changelog` file | ||
- Then check the following (needed for redhat): | ||
- [ ] `$PROJECT.spec` file is updated: | ||
- [ ] `citus.spec` file is updated: | ||
- [ ] `Version:` field | ||
- [ ] `Source0:` field | ||
- [ ] A new entry (`$VERSION.citus-1`) in the `%changelog` section | ||
|
@@ -28,14 +28,13 @@ https://github.com/citusdata/tools/blob/be12af3b8f435d17a52e607c666f6b15379f5970 | |
## Microsoft Packages | ||
|
||
- [ ] Add vso (Visual Studio Online) remote to your local git checkout of the github packaging repo (only needed once): | ||
`git remote add vso [email protected]:v3/msdata/Database%20Systems/citus-packaging` | ||
`git remote add vso [email protected]:v3/msdata/Database%20Systems/citus-packaging` | ||
- [ ] To trigger a test build on Azure DevOps: | ||
`git checkout all-enterprise` | ||
`git pull # from normal github origin` | ||
`git push vso # update Azure DevOps mirror` | ||
- [ ] Go here: https://msdata.visualstudio.com/Database%20Systems/_build?definitionId=10018&_a=summary | ||
- [ ] Wait for build to succeed. If build does not success, go here: | ||
https://msdata.visualstudio.com/Database%20Systems/_apps/hub/ms.vss-ciworkflow.build-ci-hub?_a=edit-build-definition&id=10018. | ||
- [ ] Open [ADO pipeline page](https://msdata.visualstudio.com/Database%20Systems/_build?definitionId=10018&_a=summary) | ||
- [ ] Wait for build to succeed. If build does not success, go [here](https://msdata.visualstudio.com/Database%20Systems/_apps/hub/ms.vss-ciworkflow.build-ci-hub?_a=edit-build-definition&id=10018) | ||
Maybe you need to update some parameters there (like the tools repo version). Then save it without queuing and then “Run pipeline” again via the first link. | ||
- [ ] Check that it created the right packages by looking at the logs and artifacts (the button with the box/drawer icon and text “8 published”). | ||
- [ ] Click there, and see 7 items in signed packages | ||
|
@@ -46,11 +45,11 @@ Maybe you need to update some parameters there (like the tools repo version). Th | |
- [ ] Go back to the overview: https://msdata.visualstudio.com/Database%20Systems/_build?definitionId=10018&_a=summary | ||
- [ ] Click “Run pipeline” | ||
- [ ] Click “Variables” | ||
- [ ] Change PUBLISH_TO_PACKAGE_REPO to “true” | ||
- [ ] Change `PUBLISH_TO_PACKAGE_REPO` to “true” | ||
- [ ] Go back after doing so and click "Run” | ||
- [ ] Wait until completed. | ||
- [ ] Check if packages are successfully published using below links: | ||
- [ ] 6 new items for the version for Ubuntu (xenial , bionic and focal): https://packages.microsoft.com/repos/citus-ubuntu/pool/main/c/citus-enterprise/ | ||
- [ ] 4 new items for the version for Debian (buster and stretch): https://packages.microsoft.com/repos/citus-debian/pool/main/c/citus-enterprise/ ( for release >9.4 and < 9.5, 4 package is expected. Since 9.5 6 package is expected) | ||
- [ ] 2 new items for the version for CentOS7/RHEL7: https://packages.microsoft.com/yumrepos/citus-centos7/ | ||
- [ ] 2 new items for the version for CentOS8/RHEL8: https://packages.microsoft.com/yumrepos/citus-centos8/ | ||
- [ ] 6 new items for the version for Ubuntu (xenial , bionic and focal): [here](https://packages.microsoft.com/repos/citus-ubuntu/pool/main/c/citus-enterprise/) | ||
- [ ] 4 new items for the version for Debian (buster and stretch): [here](https://packages.microsoft.com/repos/citus-debian/pool/main/c/citus-enterprise/) ( for release >9.4 and < 9.5, 4 package is expected. Since 9.5 6 package is expected) | ||
- [ ] 2 new items for the version for CentOS7/RHEL7: [here](https://packages.microsoft.com/yumrepos/citus-centos7/) | ||
- [ ] 2 new items for the version for CentOS8/RHEL8: [here](https://packages.microsoft.com/yumrepos/citus-centos8/) |