Skip to content

Commit

Permalink
Merge upstream for incommon-v13
Browse files Browse the repository at this point in the history
  • Loading branch information
iay committed Sep 27, 2024
2 parents 8e689cf + 443cfa3 commit 275b647
Show file tree
Hide file tree
Showing 269 changed files with 4,773 additions and 2,888 deletions.
4 changes: 0 additions & 4 deletions .classpath

This file was deleted.

8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@
*~
.*swp

# Java heap dumps
*.hprof

# GUI metadata files
.DS_Store
Thumbs.db

# Eclipse files
.classpath
.project
.settings

# /
/private
/build.properties
Expand Down
55 changes: 55 additions & 0 deletions .gitlab-ci.yml
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
17 changes: 0 additions & 17 deletions .project

This file was deleted.

9 changes: 0 additions & 9 deletions .settings/org.eclipse.wst.validation.prefs

This file was deleted.

Loading

0 comments on commit 275b647

Please sign in to comment.