Skip to content

Commit

Permalink
update references and inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeplotean committed Feb 2, 2025
1 parent 617538b commit d592865
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 24 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@ on:

jobs:
version:
uses: walt-id/waltid-identity/.github/workflows/version.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/version.yml@feat/docker-build-share
gradle-build:
uses: walt-id/waltid-identity/.github/workflows/build-gradle.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/build-gradle.yml@feat/docker-build-share
needs: version
with:
version: ${{ needs.version.outputs.release_version }}
docker-matrix:
uses: walt-id/waltid-identity/.github/workflows/load-json.yml@feat/docker-build-share
uses: walt-id/waltid-identity/.github/workflows/reusable/load-json.yml@feat/docker-build-share
needs: [ version ]
with:
jsonpath: ".github/workflows/data/docker-matrix.json"
docker:
uses: walt-id/waltid-identity/.github/workflows/docker.yml@feat/docker-build-share
uses: walt-id/waltid-identity/.github/workflows/reusable/docker.yml@feat/docker-build-share
needs: [ version, docker-matrix ]
with:
images: ${{ needs.docker-matrix.outputs.json }}
version: ${{ needs.version.outputs.release_version }}
artifact: true
ebsi-ct-v3:
uses: walt-id/waltid-identity/.github/workflows/ebsictv3.yml@feat/docker-build-share
uses: walt-id/waltid-identity/.github/workflows/reusable/ebsictv3.yml@feat/docker-build-share
needs: [ version, docker ]
secrets: inherit
with:
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,36 @@ on:

jobs:
version:
uses: walt-id/waltid-identity/.github/workflows/version.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/version.yml@feat/docker-build-share
with:
suffix: -SNAPSHOT
gradle-build:
uses: walt-id/waltid-identity/.github/workflows/build-gradle.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/build-gradle.yml@feat/docker-build-share
secrets: inherit
needs: version
with:
version: ${{ needs.version.outputs.release_version }}
publish: true
docker-matrix:
uses: walt-id/waltid-identity/.github/workflows/reusable/load-json.yml@feat/docker-build-share
needs: [ version ]
with:
jsonpath: ".github/workflows/data/docker-matrix.json"
docker-build:
uses: walt-id/waltid-identity/.github/workflows/build-docker.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/docker.yml@feat/docker-build-share
secrets: inherit
needs: version
needs: [ version, docker-matrix ]
with:
images: ${{ needs.docker-matrix.outputs.json }}
version: ${{ needs.version.outputs.release_version }}
publish: true
tag:
uses: walt-id/waltid-identity/.github/workflows/tag.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/tag.yml@feat/docker-build-share
needs: [ version, gradle-build, docker-build ]
with:
version: ${{ needs.version.outputs.release_version }}
pre-release:
uses: walt-id/waltid-identity/.github/workflows/changelog.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/changelog.yml@feat/docker-build-share
secrets: inherit
needs: [ tag ]
with:
Expand Down
19 changes: 12 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,31 @@ on:

jobs:
version:
uses: walt-id/waltid-identity/.github/workflows/version.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/version.yml@feat/docker-build-share
with:
preferred: ${{ inputs.release_version }}
gradle-build:
uses: walt-id/waltid-identity/.github/workflows/build-gradle.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/build-gradle.yml@feat/docker-build-share
secrets: inherit
needs: version
with:
version: ${{ needs.version.outputs.release_version }}
publish: true
docker-matrix:
uses: walt-id/waltid-identity/.github/workflows/reusable/load-json.yml@feat/docker-build-share
needs: [ version ]
with:
jsonpath: ".github/workflows/data/docker-matrix.json"
docker-build:
uses: walt-id/waltid-identity/.github/workflows/build-docker.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/docker.yml@feat/docker-build-share
secrets: inherit
needs: version
needs: [ version, docker-matrix ]
with:
version: ${{ needs.version.outputs.release_version }}
tag: latest
publish: true
deploy:
uses: walt-id/waltid-identity/.github/workflows/deployment.yml@dd9e94a2b08b2f9917d56543061963e6757def1f
uses: walt-id/waltid-identity/.github/workflows/reusable/deployment.yml@feat/docker-build-share
secrets: inherit
needs: [ version, gradle-build, docker-build ]
with:
Expand All @@ -37,12 +42,12 @@ jobs:
namespace: default
portals: portals
tag:
uses: walt-id/waltid-identity/.github/workflows/tag.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/tag.yml@feat/docker-build-share
needs: [ version, deploy ]
with:
version: ${{ needs.version.outputs.release_version }}
release:
uses: walt-id/waltid-identity/.github/workflows/changelog.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/changelog.yml@feat/docker-build-share
secrets: inherit
needs: [ tag ]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable/build-gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Configure gradle
uses: ./.github/actions/gradle-setup-action@266f5c09359450c39019a6da38f2b331e7122918
uses: ./.github/actions/gradle-setup-action@feat/docker-build-share
- name: Set version
run: |
sed -i "s/1.0.0-SNAPSHOT/${{ inputs.version }}/g" build.gradle.kts
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,36 @@ on:
required: false
jobs:
version:
uses: walt-id/waltid-identity/.github/workflows/version.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/version.yml@feat/docker-build-share
with:
preferred: ${{ inputs.release_version }}
gradle-build:
uses: walt-id/waltid-identity/.github/workflows/build-gradle.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/build-gradle.yml@feat/docker-build-share
secrets: inherit
needs: version
with:
version: ${{ needs.version.outputs.release_version }}
docker-matrix:
uses: walt-id/waltid-identity/.github/workflows/reusable/load-json.yml@feat/docker-build-share
needs: [ version ]
with:
jsonpath: ".github/workflows/data/docker-matrix.json"
docker-build:
uses: walt-id/waltid-identity/.github/workflows/build-docker.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/docker.yml@feat/docker-build-share
secrets: inherit
needs: version
with:
images: ${{ needs.docker-matrix.outputs.json }}
version: ${{ needs.version.outputs.release_version }}
publish: true
deploy:
uses: walt-id/waltid-identity/.github/workflows/deployment.yml@dd9e94a2b08b2f9917d56543061963e6757def1f
uses: walt-id/waltid-identity/.github/workflows/reusable/deployment.yml@feat/docker-build-share
secrets: inherit
needs: [ version, gradle-build, docker-build ]
with:
version: ${{ needs.version.outputs.release_version }}
tag:
uses: walt-id/waltid-identity/.github/workflows/tag.yml@266f5c09359450c39019a6da38f2b331e7122918
uses: walt-id/waltid-identity/.github/workflows/reusable/tag.yml@feat/docker-build-share
needs: [ version, deploy ]
with:
version: ${{ needs.version.outputs.release_version }}

0 comments on commit d592865

Please sign in to comment.