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

Ensure shadow jars are in CI/CD and always pull latest snapshot #68

Merged
merged 3 commits into from
Nov 9, 2023
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
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