1.5 KiB
1.5 KiB
Local development and update procedure
Versions are kept in separate branches: release/<ARC_version>-custom.
Prerequisites
- Clone
sabre-internal/gh-core.github-sabre-arcrepository. - Link
gh-core.github-sabre-arc/sabreoss-arc-devenvfolder as./internal. - Enter the folder and then run
devenev shell. - Run all commands in the shell.
Update procedure
- Upgrade the fork branch with the original GH ARC repo:
- Upgrade should be made to the branch
master, which is clean from our changes
- Upgrade should be made to the branch
- Create new custom target branch
release/<ARC_version>-customfrom the updatedmasterbranch or specific commit (if default branch is ahead selected base version) - Create your feature branch e.g:
feature/update-to-<ARC_version>from previousrelease/<ARC_previous-version>-customand rebase it onrelease/<ARC_version>-custom- If there are any conflicts, resolve them testing the code execution
- Update the
Makefile.sabre.mkfile, changingVERSIONandDOCKER_IMAGE_VERSIONto <ARC_version>-sabre-1- All other changes to the fork should introduce update in the
Makefile.sabre.mkfile as well (e.g. next change in the controller image should beDOCKER_IMAGE_VERSION=<current_version>-sabre-2)
- All other changes to the fork should introduce update in the
- Create pull request to
release/<ARC_version>-customand merge it. - Release charts and controller/listener image from branch
release/<ARC_version>-custom:- Run
make -f Makefile.sabre.mk upload-allor other targets to release only charts or image.
- Run