summaryrefslogtreecommitdiffstats
path: root/integration/src
AgeCommit message (Collapse)AuthorFilesLines
2022-10-03Handle docker refs correctly in policy/dockerliamfallon1-11/+38
The decker references in db-migrator need to be handled specially because the reference in db-migrator must be set to the new Docker reference that is to be released rather than the docker reference in the pf_release_data.csv (which is correct in later phases). This is in effect a forward reference to the "to-be-released_ docker base image. Issue-ID: POLICY-4045 Change-Id: Iff3845d06894f7f4c927509fb2fb43f00af3b7ef Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-27Update release scripts: OOM and taggingliamfallon3-10/+28
Add support for tagging release data Fix OOM script to cope with quoted repo names in the pf_release_data.csv file Issue-ID: POLICY-4045 Change-Id: Idb0c8895d1a8e6e7c564e0c5f86f7917f9278852 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-09-23update release data in policy/parentliamfallon1-13/+13
updated release data in policy/parent *** This commit is generated by a PF release script *** Issue-ID: POLICY-4343 Signed-off-by: liamfallon <liam.fallon@est.tech> Change-Id: I0c396610627126ab7a6c936dfe09aa0e86f0f4c3
2022-09-08Fix small bugs in release scriptsliamfallon3-10/+18
- Correct handling of snapshots on Docker files - Extra phase for submitting the release data - Spacing on printouts Issue-ID: POLICY-4333 Change-Id: I359942f91045bcdb7845cdf70fe7b1e55f6fd08a Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-07-29Update docker files base images to snapshotsliamfallon3-8/+23
Currently the policy base images used in docker files in master are hard revisions of the policy base images. The docker files should use snapshot policy base images when they are availabe and only change to released base images at release time. This commit ensures that the references are updated correctly in Docker files to snapshots or released base policy images as appropriate Issue-ID: POLICY-4287 Change-Id: I2c68e1bad6bde2e116c27678c88f8b40dc914b0f Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-07-13Update release and report scriptsliamfallon3-33/+79
Release scripts are updated to automatically change the releae data CSV file in policy-parent/integration/src/main/resources Report script is updated t add HTTP links to the various reports Issue-ID: POLICY-4233 Change-Id: Id98a4e2805caf68a66dd5844f388c045f75a8865 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-06-17Restructure scripts in policy-parentliamfallon14-6/+29
- 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-06-03Add a script for PF status updateliamfallon1-0/+120
This script checks the status of the Policy Framwwork jobs in Joenkins and the status of any outstanding bugs. It generates a report. Issue-ID: POLICY-4230 Change-Id: I6fd663dd5864ac6cd7820eff2cf25a2d29f315f7 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-05-18Add release script for new branch creationliamfallon1-0/+192
Issue-ID: POLICY-3835 Change-Id: I7666e9bfe8ad765d5689c79f8136bdf8df1ef83a Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-04-15Fix typo on message in scriptsliamfallon2-2/+2
stage_release should be stage-release Issue-ID: POLICY-4070 Change-Id: I5dc77649861298eaeee1dd7da790db725819ac78 Signed-off-by: liamfallon <liam.fallon@est.tech>
2022-03-16update release scripts for gui apex dependencyliamfallon4-21/+63
policy-gui nas a dependency on apex-pdp that was missed in the earlier versions of the release scripts. Issue-ID: POLICY-3982 Change-Id: Ic729e2a315c7035e47a62255a375058a536ecf9a 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 branchesliamfallon11-213/+494
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 MacOSliamfallon9-39/+292
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 fixedliamfallon3-12/+12
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, refsliamfallon10-5/+1069
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-13Script to update a POM parent referenceliamfallon1-0/+118
This script changes teh parent reference in a POM file to use the group ID, artifact ID and version specified on flags that are input to the script. Issue-ID: POLICY-3835 Change-Id: I0970f94d3acfc2a3d8d01fdfcb923b8f38442bf4 Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-12-03Add script to gather data on release processliamfallon2-1/+168
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>
2021-12-02Add script to generate release commitsliamfallon1-0/+163
This script generates a commit on an existing changed policy framework repo. It is called by other scripts in the release process. Issue-ID: POLICY-3835 Change-Id: I457e1bea7d9319250fde729e82a7006f5b1da4eb Signed-off-by: liamfallon <liam.fallon@est.tech>
2021-11-30Add scripts to generate release Yaml filesliamfallon2-0/+256
These two scripts create the releases/x.y.z.yaml and releases/x.y.z-container.yaml files. These scripts were developed by Jim Hahn and were stored on the ONAP wilik. THey are being placed in this directory so that they are under source control. Further scripts will be added here to cover more of the ONAP release proecess. Issue-ID: POLICY-3835 Change-Id: I48167b2970bd041a58fe3d0b6e037cd2dbe38f7c Signed-off-by: liamfallon <liam.fallon@est.tech>