-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #805 from AtlasOfLivingAustralia/dev
Dev
Showing
173 changed files
with
27,298 additions
and
1,181 deletions.
There are no files selected for viewing
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,60 @@ | ||
name: ecodata build | ||
|
||
on: | ||
push: | ||
branches: | ||
- grails5java11 | ||
- dev | ||
- master | ||
- feature/** | ||
- hotfix/** | ||
|
||
env: | ||
TZ: Australia/Canberra | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'adopt' | ||
|
||
- name: Validate Gradle wrapper | ||
uses: gradle/wrapper-validation-action@e6e38bacfdf1a337459f332974bb2327a31aaf4b | ||
|
||
- name: Install and start elasticsearch | ||
run: | | ||
curl https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.16.3-amd64.deb -o elasticsearch.deb | ||
sudo dpkg -i --force-confnew elasticsearch.deb | ||
sudo chown -R elasticsearch:elasticsearch /etc/default/elasticsearch | ||
sudo sh -c 'echo ES_JAVA_OPTS=\"-Xmx1g -Xms1g\" >> /etc/default/elasticsearch' | ||
sudo service elasticsearch restart | ||
- name: Install and start mongodb | ||
uses: supercharge/mongodb-github-action@1.7.0 | ||
with: | ||
mongodb-version: '5.0' | ||
|
||
- name: Build and run clover coverage report with Gradle | ||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee | ||
with: | ||
arguments: -PenableJacoco=true jacocoTestCoverageVerification | ||
|
||
- name: Clean to remove clover instrumentation | ||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee | ||
with: | ||
arguments: clean | ||
|
||
- name: Publish the JAR to the repository | ||
uses: gradle/gradle-build-action@0d13054264b0bb894ded474f08ebb30921341cee | ||
with: | ||
arguments: publish | ||
env: | ||
TRAVIS_DEPLOY_USERNAME: ${{secrets.DEPLOY_USERNAME}} | ||
TRAVIS_DEPLOY_PASSWORD: ${{secrets.DEPLOY_PASSWORD}} |
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 |
---|---|---|
|
@@ -44,3 +44,4 @@ out | |
/. /logs/ | ||
/grails-app/assets/vendor/ | ||
/node_modules/ | ||
/grails-app/assets/dist/ |
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
Oops, something went wrong.