-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
269 changed files
with
4,773 additions
and
2,888 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
|---|---|---|
| @@ -0,0 +1,55 @@ | ||
| # | ||
| # Continuous integration tests for the ukf-meta repository. | ||
| # | ||
|
|
||
| # | ||
| # Default image for all steps is Amazon Corretto 17, which is based | ||
| # on Amazon Linux (a variety of yum-based Linux derived from RHEL 7). | ||
| # | ||
| image: "amazoncorretto:17" | ||
|
|
||
| stages: | ||
| - test | ||
|
|
||
| perform-test: | ||
| stage: test | ||
| script: | ||
| # | ||
| # Install the tools we need that are not provided by the base image. | ||
| # | ||
| - yum -y --quiet install ant git libxslt | ||
|
|
||
| # | ||
| # Create work directories under the current one. | ||
| # | ||
| - mkdir -p work/build work/temp | ||
|
|
||
| # | ||
| # Fetch full UK federation inventory. | ||
| # | ||
| # The clone is made with a depth of 1 because we don't need any history. | ||
| # | ||
| - git clone --depth=1 https://gitlab-ci-token:$CI_JOB_TOKEN@$CI_SERVER_HOST/ukf/ukf-data.git work/ukf-data | ||
|
|
||
| # | ||
| # Thin UK federation inventory: retain 100 random entities. | ||
| # | ||
| - find work/ukf-data/entities -type f -name uk0\*.xml | sort -R | tail -n +101 | xargs rm | ||
|
|
||
| # | ||
| # Acquire a copy of the eduGAIN aggregate. | ||
| # | ||
| - ant -Denv=ci-download flow.edugain.download | ||
| - ls -lh work/temp | ||
|
|
||
| # | ||
| # Thin the eduGAIN aggregate into another file containing just 1% of the original | ||
| # entities. | ||
| # | ||
| - xsltproc -o work/temp/edugain-thin.xml utilities/thin_aggregate.xsl work/temp/edugain-download.xml | ||
| - ls -lh work/temp | ||
|
|
||
| # | ||
| # Run the full generate pipeline on the thinned input data. | ||
| # | ||
| - ant -Denv=ci-thin flow.aggregates.generate |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.