Skip to content

Commit 21c3aee

Browse files
authored
Merge branch 'dev' into grails4-merge-conflict
2 parents d6bf9b7 + 4c770dc commit 21c3aee

File tree

127 files changed

+33804
-1524
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+33804
-1524
lines changed

.github/workflows/build.yml

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: profile-hub build
2+
3+
on:
4+
push:
5+
branches:
6+
- dev
7+
- master
8+
- feature/**
9+
- hotfix/**
10+
11+
env:
12+
TZ: Australia/Canberra
13+
14+
jobs:
15+
build:
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v3
20+
21+
- name: Set up JDK 11
22+
uses: actions/setup-java@v3
23+
with:
24+
java-version: '11'
25+
distribution: 'adopt'
26+
27+
- name: Install nodejs
28+
uses: actions/setup-node@v3
29+
with:
30+
node-version: 16
31+
32+
- run: npm install
33+
34+
- name: Read the profile-hub version from the gradle.properties file
35+
id: read_property
36+
uses: christian-draeger/read-properties@1.1.0
37+
with:
38+
path: './gradle.properties'
39+
properties: 'profileHubVersion'
40+
41+
- name: Get the package id for the version read from the properties file
42+
uses: castlabs/get-package-version-id-action@v2.0
43+
id: versions
44+
with:
45+
version: ${{steps.read_property.outputs.profileHubVersion}}
46+
token: ${{ secrets.GITHUB_TOKEN }}
47+
48+
- name: Delete the github package with the id we just retrieved (all SNAPSHOT versions are considered part of the same package)
49+
uses: actions/delete-package-versions@v2
50+
if: ${{ steps.versions.outputs.ids != '' }}
51+
with:
52+
package-version-ids: "${{ steps.versions.outputs.ids }}"
53+
token: ${{ secrets.GITHUB_TOKEN }}
54+
55+
- name: Run javascript unit tests
56+
run: node_modules/karma/bin/karma start karma.conf.js --single-run --browsers ChromeHeadless
57+
58+
- name: Clean to remove clover instrumentation
59+
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
60+
with:
61+
arguments: clean
62+
63+
- name: Publish the JAR to the repository
64+
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee
65+
with:
66+
arguments: publish
67+
env:
68+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.travis.yml

+16-8
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
os: linux
2-
dist: bionic
2+
dist: focal
33
language: groovy
44
jdk:
5-
- openjdk8
5+
- openjdk11
66
branches:
77
only:
8-
- master
9-
- dev
10-
- grails3
11-
- grails4
8+
- master
9+
- dev
10+
- /^feature\/.*$/
11+
- /^hotfix\/.*$/
12+
- grails4
13+
14+
node_js:
15+
- 16
1216

1317
before_install:
1418
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
@@ -26,16 +30,20 @@ install:
2630
- true
2731

2832
before_script:
33+
- cd $TRAVIS_BUILD_DIR
34+
- nvm install 16.15.0
35+
- nvm use 16.15.0
36+
- node -v
2937
- npm install
3038

3139
script:
3240
- node_modules/karma/bin/karma start karma.conf.js --single-run --browsers ChromeHeadless
3341
- ./gradlew check
3442

3543
after_success:
36-
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && ./gradlew clean && travis_retry travis_wait 20 ./gradlew publish'
44+
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && ./gradlew clean && travis_wait 20 ./gradlew publish'
3745

3846
env:
3947
global:
4048
- secure: HQaT+1B5r/7A15V3QHs5Lw1S8jNWgjgCKa8Fz7aEF4F+FHBiTqqM/fvFWcC+g7KHkLhgTht2efEIp9akBt8sArz1xp/BGhKr4JJRGU2uYJE8NpFb08u1OPAvurWQ72bwihJQBJWI9VXiQGoGQffLQL1yLQmlGMFbU/sOLzUxhGQ=
41-
- secure: Dc3FdXwu0j+tKyETSmZmULlEmVpQ7yKk+74zauRfEts0IyH1gUEuFr2ODTNUUFrjNRR/yW2dc0erlCyUc/CAGdALVRFzImz45WUjs0VgBtH2MW6tkgLd4DhDTDUpxOZMKZBEK91UVqK/2C0811c3UbvDBbuGrNacW5PPdzYoS9o=
49+
- secure: Dc3FdXwu0j+tKyETSmZmULlEmVpQ7yKk+74zauRfEts0IyH1gUEuFr2ODTNUUFrjNRR/yW2dc0erlCyUc/CAGdALVRFzImz45WUjs0VgBtH2MW6tkgLd4DhDTDUpxOZMKZBEK91UVqK/2C0811c3UbvDBbuGrNacW5PPdzYoS9o=

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Profile Hub
2+
Master: [![Build Status](https://travis-ci.org/AtlasOfLivingAustralia/profile-hub.svg?branch=master)](https://travis-ci.org/AtlasOfLivingAustralia/profile-hub)
3+
4+
Dev: [![Build Status](https://travis-ci.org/AtlasOfLivingAustralia/profile-hub.svg?branch=dev)](https://travis-ci.org/AtlasOfLivingAustralia/profile-hub)
5+
6+
# Design notes and setup instructions
7+
8+
See the [project wiki](https://github.com/AtlasOfLivingAustralia/profile-hub/wiki/).
9+
10+
# Project set up
11+
12+
See the [project setup page](https://github.com/AtlasOfLivingAustralia/profile-hub/wiki/Project-Setup) on the wiki.
13+
14+
# Name Matching
15+
16+
This content has been moved to the [project wiki](https://github.com/AtlasOfLivingAustralia/profile-hub/wiki/Name-Matching).
17+
18+

0 commit comments

Comments
 (0)