Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CODEOWNERS to be @embulk/elastic-maintainers #78

Merged
merged 3 commits into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @embulk/elastic-maintainers
20 changes: 5 additions & 15 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,50 +9,40 @@ jobs:
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up OpenJDK 8
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: 8
distribution: "temurin"
cache: "gradle"

- name: Run elastisearch container
run: docker-compose up -d

- name: List containers
run: docker-compose ps

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Testing
run: ./gradlew check --console rich --info

- name: Check building
run: ./gradlew gem --console rich --info

- name: JaCoCo test report
if: success()
run: ./gradlew jacocoTestReport

- name: Pack reports
if: always()
run: zip -9 -r -q reports.zip ./build/reports

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: success()
with:
name: reports
path: ./reports.zip

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: success()
with:
name: gem
path: ./pkg/*.gem

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
if: success()
with:
name: jar
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ jobs:
strategy:
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up OpenJDK 8
uses: actions/setup-java@v2
uses: actions/setup-java@v4
with:
java-version: 8
distribution: "temurin"
cache: "gradle"
- name: Publish
run: |
mkdir -p $HOME/.gem
Expand All @@ -26,7 +25,7 @@ jobs:
printf -- "---\n:rubygems_api_key: ${RUBYGEMS_API_KEY}\n" > $HOME/.gem/credentials
./gradlew --stacktrace publishMavenPublicationToMavenCentralRepository gemPush
env:
ORG_GRADLE_PROJECT_ossrhUsername: embulk
ORG_GRADLE_PROJECT_ossrhUsername: ${{ vars.OSSRH_USERNAME }}
ORG_GRADLE_PROJECT_ossrhPassword: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.GPG_PRIVATE_KEY_ARMOR }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}
Expand Down
Loading