Skip to content

Commit

Permalink
Update files
Browse files Browse the repository at this point in the history
  • Loading branch information
raminqaf committed Dec 12, 2024
1 parent 2f5fd75 commit 1fafdfd
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/build-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@ env:
working-directory: "./word-count/code"

jobs:
# build-and-test:
# name: Build, Test and Assess code quality
# uses: bakdata/ci-templates/.github/workflows/[email protected]
# with:
# java-version: 21
# gradle-version: 8.4
# gradle-cache: true
# gradle-cache-read-only: false
# gradle-refresh-dependencies: false
# working-directory: "./word-count/code"
# secrets:
# signing-key-id: ${{ secrets.SONATYPE_SIGNING_KEY_ID }}
# signing-password: ${{ secrets.SONATYPE_SIGNING_PASSWORD }}
# signing-secret-key-ring: ${{ secrets.SONATYPE_SIGNING_SECRET_KEY_RING }}
# sonar-token: ${{ secrets.SONARCLOUD_TOKEN }}
# sonar-organization: ${{ secrets.SONARCLOUD_ORGANIZATION }}
build-and-test:
name: Build, Test and Assess code quality
uses: bakdata/ci-templates/.github/workflows/[email protected]
with:
java-version: 21
gradle-version: 8.4
gradle-cache: true
gradle-cache-read-only: false
gradle-refresh-dependencies: false
working-directory: "./word-count/code"
secrets:
signing-key-id: ${{ secrets.SONATYPE_SIGNING_KEY_ID }}
signing-password: ${{ secrets.SONATYPE_SIGNING_PASSWORD }}
signing-secret-key-ring: ${{ secrets.SONATYPE_SIGNING_SECRET_KEY_RING }}
sonar-token: ${{ secrets.SONARCLOUD_TOKEN }}
sonar-organization: ${{ secrets.SONARCLOUD_ORGANIZATION }}

build-jib:
name: Build images
runs-on: ubuntu-22.04
defaults:
run:
working-directory: ${{ env.working-directory }}
# needs: build-and-test
needs: build-and-test

steps:
- name: Login into docker
Expand All @@ -43,7 +43,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build sentence producer image
- name: Build and push sentence producer image
uses: bakdata/ci-templates/actions/[email protected]
with:
full-image-name: bakdata/kpops-demo-sentence-producer
Expand All @@ -55,7 +55,7 @@ jobs:
gradle-refresh-dependencies: false
working-directory: ${{ env.working-directory }}

- name: Build word count image
- name: Build and push word count image
uses: bakdata/ci-templates/actions/[email protected]
with:
full-image-name: bakdata/kpops-demo-word-count-app
Expand Down

0 comments on commit 1fafdfd

Please sign in to comment.