This repository was archived by the owner on Oct 2, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ @Hygieia /hygieia-scm-github-graphql-collector
Original file line number Diff line number Diff line change 1+ # Number of days of inactivity before an issue becomes stale
2+ daysUntilStale : 60
3+ # Number of days of inactivity before a stale issue is closed
4+ daysUntilClose : 7
5+ # Issues with these labels will never be considered stale
6+ exemptLabels :
7+ - bug
8+ - enhancement
9+ - discussion
10+ # Label to use when marking an issue as stale
11+ staleLabel : wontfix
12+ # Comment to post when marking an issue as stale. Set to `false` to disable
13+ markComment : >
14+ This issue has been automatically marked as stale because it has not had
15+ recent activity. It will be closed if no further activity occurs. Thank you
16+ for your contributions.
17+ # Comment to post when closing a stale issue. Set to `false` to disable
18+ closeComment : false
Original file line number Diff line number Diff line change 1+ name : Java Compile and Test
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - master
7+ jobs :
8+ build :
9+ runs-on : ubuntu-18.04
10+
11+ steps :
12+ - uses : actions/checkout@v1
13+ - name : Set up JDK 1.8
14+ uses : actions/setup-java@v1
15+ with :
16+ java-version : 1.8
17+ - name : Build with Maven
18+ run : mvn test --file pom.xml
Original file line number Diff line number Diff line change 1+ name : Release Snapshot
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-18.04
11+
12+ steps :
13+ - uses : actions/checkout@v1
14+ - name : Set up JDK 1.8
15+ uses : actions/setup-java@v1
16+ with :
17+ java-version : 1.8
18+ - name : Release to snapshots repository
19+ run : mvn deploy -q --file pom.xml --settings src/devops/.travis.settings.xml -Denv.OSSRH_USERNAME=${{ secrets.OSSRH_USERNAME }} -Denv.OSSRH_PASSWORD=${{ secrets.OSSRH_PASSWORD }}
Original file line number Diff line number Diff line change 11language : java
22jdk :
3- - openjdk8
3+ - openjdk8
4+ services :
5+ - docker
6+
47branches :
58 only :
6- - master
7- - gerrit-integration
8- - " /^v[0-9]+\\ .[0-9]+\\ .[0-9]+.*$/"
9+ - " /^v[0-9]+\\ .[0-9]+\\ .[0-9]+.*$/"
10+
911install : true
12+
1013before_script :
11- - sudo chown -R $USER:$GROUP $TRAVIS_BUILD_DIR
14+ - sudo chown -R $USER:$GROUP $TRAVIS_BUILD_DIR
15+
1216script :
13- - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then mvn clean install -q; fi
14- - if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ "$TRAVIS_BRANCH" = "master" ]; then
15- cp ./src/devops/deploy-snapshot.sh . && ./deploy-snapshot.sh; fi
16- - if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [[ "$TRAVIS_BRANCH" =~ ^v[0-9]+\.[0-9]+\.[0-9]+.*$
17- ]]; then cp ./src/devops/release.sh . && ./release.sh; fi
17+ - if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [[ "$TRAVIS_BRANCH" =~ ^v[0-9]+\.[0-9]+\.[0-9]+.*$ ]]; then cp ./src/devops/release.sh . && ./release.sh; fi
18+ - export TAG=$TRAVIS_BRANCH
19+ - export IMAGE_NAME='hygieiadoc/githubgraphqlscmcollector'
20+ - echo $IMAGE_NAME
21+ - echo $TAG
22+ - docker build -t $IMAGE_NAME .
23+ - docker tag $IMAGE_NAME $IMAGE_NAME:$TAG
24+ - docker login -u $DOCKERHUB_USER -p $DOCKERHUB_PASS
25+ - docker push $IMAGE_NAME
26+
1827notifications :
1928 webhooks :
2029 urls : https://webhooks.gitter.im/e/48597b0f75dd571734bc
@@ -23,7 +32,8 @@ notifications:
2332 on_start : always
2433 email :
2534 recipients :
26- - tapabrata.pal@capitalone.com
27- - ragha.vema@capitalone.com
35+ - tapabrata.pal@capitalone.com
36+ - ragha.vema@capitalone.com
37+ - hygieia2@capitalone.com
2838 on_success : always
2939 on_failure : always
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ ENV PROP_FILE /hygieia/config/application.properties
77
88WORKDIR /hygieia
99
10- COPY target/*.jar /hygieia
10+ COPY target/*.jar /hygieia/
1111COPY docker/properties-builder.sh /hygieia/
1212
1313CMD ./properties-builder.sh &&\
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments