Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #68 from atlanhq/DX-314
Browse files Browse the repository at this point in the history
Ensure shadow jars are in CI/CD and always pull latest snapshot
  • Loading branch information
cmgrote authored Nov 9, 2023
2 parents 98a28e2 + 3cf030a commit 00e8eda
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
echo "version=$(./gradlew properties --no-daemon --console=plain -q | grep '^version:' | awk '{printf $2}')" >> $GITHUB_OUTPUT
- name: Build artifacts
run: ./gradlew assemble
run: ./gradlew assemble shadowJar
env:
GH_USERNAME: ${{ github.actor }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build artifacts
run: ./gradlew assemble
run: ./gradlew assemble shadowJar
env:
GH_USERNAME: ${{ github.actor }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
echo "version=$(./gradlew properties --no-daemon --console=plain -q | grep '^version:' | awk '{printf $2}')" >> $GITHUB_OUTPUT
- name: Build artifacts
run: ./gradlew assemble
run: ./gradlew assemble shadowJar
env:
GH_USERNAME: ${{ github.actor }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ object ApiTokenConnectionAdminPkg : CustomPackage(
),
),
),
containerImage = "ghcr.io/atlanhq/atlan-kotlin-samples:0.4.0",
containerImage = "ghcr.io/atlanhq/atlan-kotlin-samples:0.5.0-SNAPSHOT",
containerImagePullPolicy = "Always",
containerCommand = listOf("/dumb-init", "--", "java", "ApiTokenConnectionAdminKt"),
outputs = WorkflowOutputs(mapOf("debug-logs" to "/tmp/debug.log")),
keywords = listOf("kotlin", "utility"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ object DuplicateDetectorPkg : CustomPackage(
),
),
),
containerImage = "ghcr.io/atlanhq/atlan-kotlin-samples:0.4.0",
containerImage = "ghcr.io/atlanhq/atlan-kotlin-samples:0.5.0-SNAPSHOT",
containerImagePullPolicy = "Always",
containerCommand = listOf("/dumb-init", "--", "java", "DuplicateDetectorKt"),
outputs = WorkflowOutputs(mapOf("debug-logs" to "/tmp/debug.log")),
keywords = listOf("kotlin", "utility"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ object MigrationAssistantExportPkg : CustomPackage(
),
),
),
containerImage = "ghcr.io/atlanhq/atlan-kotlin-samples@sha256:09bddb2f520bb15f6b4182fc822163e51c5d9793f3f233b77585d021f321bf2f",
containerImage = "ghcr.io/atlanhq/atlan-kotlin-samples:0.5.0-SNAPSHOT",
containerImagePullPolicy = "Always",
containerCommand = listOf("/dumb-init", "--", "java", "ExporterKt"),
outputs = WorkflowOutputs(
mapOf(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ object MigrationAssistantImportPkg : CustomPackage(
),
),
),
containerImage = "ghcr.io/atlanhq/atlan-kotlin-samples@sha256:09bddb2f520bb15f6b4182fc822163e51c5d9793f3f233b77585d021f321bf2f",
containerImage = "ghcr.io/atlanhq/atlan-kotlin-samples:0.5.0-SNAPSHOT",
containerImagePullPolicy = "Always",
containerCommand = listOf("/dumb-init", "--", "java", "ImporterKt"),
outputs = WorkflowOutputs(mapOf("debug-logs" to "/tmp/debug.log")),
keywords = listOf("kotlin", "utility"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ object OpenAPISpecLoaderPkg : CustomPackage(
),
),
),
containerImage = "ghcr.io/atlanhq/atlan-kotlin-samples:0.4.0",
containerImage = "ghcr.io/atlanhq/atlan-kotlin-samples:0.5.0-SNAPSHOT",
containerImagePullPolicy = "Always",
containerCommand = listOf("/dumb-init", "--", "java", "OpenAPISpecLoaderKt"),
outputs = WorkflowOutputs(mapOf("debug-logs" to "/tmp/debug.log")),
keywords = listOf("kotlin", "crawler", "openapi"),
Expand Down

0 comments on commit 00e8eda

Please sign in to comment.