summaryrefslogtreecommitdiffstats
path: root/integration/src/release_scripts/getReleaseData.sh
AgeCommit message (Collapse)AuthorFilesLines
2022-06-17Restructure scripts in policy-parentliamfallon1-191/+0
- Moved the scripts into src/main/scripts - created src/main/resources - added pf_release_data.csv to src/main/resources, this file will be - added a n ew release phase to release the mdoels-simulator image pf_release_data.sh: Used to find the correct versions of images to use for the CSIT tests, the current lookup scripts can't cope with snapshots being deleted after they time out. Issue-ID: POLICY-4233 Change-Id: Idb5a4a624c06114f0f480c599e87f5596705ea07 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-08Repalce PolicyDevelopment with PolicyAPI in docsliamfallon1-1/+1
The architecture documentation refers to PolicyDevelopment rather than PolicyAPI, this commit corrects the documentation. Also the draw.io xml files are removed because draw.io can open the svg files directly. Issue-ID: POLICY-3866 Change-Id: I8b9c04ffb248a260b69b2c956191e8b1c6482e55 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-01Update release scripts for branchesliamfallon1-32/+47
Release scripts are updated: - Can now handle releasing on a branch for a maintenance release - startPhase.sh script updated to handle all 13 phases of the release process - Various corrections and bug fixes found during the release - scripts updated to comply with IntelliJ shekkcheck suggestions Issue-ID: POLICY-3835 Change-Id: Ibfa49e4132ca61ae0541600fae5f6814cdf7a409 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-17Add release script, fix sed for MacOSliamfallon1-4/+12
This commit: - Adds a releease phase script that somewhat automates releases - updates the scritps to use GNU sed on MacOS Issue-ID: POLICY-3835 Change-Id: I2b79c6a3cc3476280ac00a2288e3cb8686ee976a Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-11sed inline linux format/data header fixedliamfallon1-2/+2
Bug fixes discovered doing documentation:: - Scripts should use the linux sed inline format, not MacOS - Repo column header missing in data file Issue-ID: POLICY-3835 Change-Id: Icd51fecac4b19b0354f5a792e1ed2d0eff3829a9 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-01-06Release scripts for repos, images, OOM, refsliamfallon1-1/+3
bumpSnapshots.sh: Steps the patch version of snapshot images based on the data in the policy release data file. generateCommit.sh: At the suggestion of OOM, the order of the generated messages is changed. releaseRepo.sh: Generates the release yaml file and the commit to release the maven artifacts of a repo releaseRepoImages.sh: Generates the release yaml fole and the commit to release the docker images from a repo updateOomImages.sh: Generates a commit that updats the references to Policy Framework docker images in OOM updateRefs.sh: Updates the parent. common, models., drools-pdp, and Docker base images in Docker files for reselases or snapshots. Issue-ID: POLICY-3835 Change-Id: I0766a779c2217a57a33ed37725f11acdfb07a16d Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-12-03Add script to gather data on release processliamfallon1-0/+166
This script gathers the latest tag version, the master snapshot version, the number of changed files since the last release, and the docker image names from each of the Policy Framework repos and stores that data in a CSV file. That CSV file is used by other scripts to do release process steps and to generate commits for the release process. Issue-ID: POLICY-3835 Change-Id: I2a282286c673bd690b6467cc5617f554f0c6de75 Signed-off-by: liamfallon <liam.fallon@est.tech>