Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
21 changes: 12 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@ jobs:
if: startsWith(github.ref, 'dockerfile-image-update-') == false
steps:
- name: checkout
uses: actions/checkout@main
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: docker build
run: make mvn-docker-build get-main-project-dirs
- name: Upload main module
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dockerfile-image-update
path: dockerfile-image-update
- name: Upload itest module
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dockerfile-image-update-itest
path: dockerfile-image-update-itest
Expand All @@ -39,7 +39,7 @@ jobs:
version: ${{ steps.version_tag.outputs.new_version }}
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: get version
Expand All @@ -52,13 +52,14 @@ jobs:
needs: [build-test, get-next-version]
steps:
- name: checkout
uses: actions/checkout@main
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Download itest dir
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: dockerfile-image-update-itest
path: dockerfile-image-update-itest
- name: integration test
env:
ITEST_GH_TOKEN: ${{ secrets.ITEST_GH_TOKEN }}
Expand All @@ -68,9 +69,10 @@ jobs:
needs: build-test
steps:
- name: Download main project dir
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: dockerfile-image-update
path: dockerfile-image-update
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.10
with:
Expand All @@ -84,13 +86,14 @@ jobs:
needs: build-test
steps:
- name: checkout
uses: actions/checkout@main
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Download main project dir
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: dockerfile-image-update
path: dockerfile-image-update
- name: Upload coverage to Code Climate
uses: paambaati/codeclimate-action@v2.6.0
env:
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ jobs:
if: startsWith(github.ref, 'dockerfile-image-update-') == false
steps:
- name: checkout
uses: actions/checkout@main
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: docker build
run: make mvn-docker-build get-main-project-dirs
- name: Upload main module
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dockerfile-image-update
path: dockerfile-image-update
- name: Upload itest module
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: dockerfile-image-update-itest
path: dockerfile-image-update-itest
Expand All @@ -29,7 +29,7 @@ jobs:
version: ${{ steps.version_tag.outputs.new_version }}
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: get version
Expand All @@ -42,13 +42,14 @@ jobs:
needs: [build-test, get-next-version]
steps:
- name: checkout
uses: actions/checkout@main
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Download itest dir
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: dockerfile-image-update-itest
path: dockerfile-image-update-itest
- name: integration test
env:
ITEST_GH_TOKEN: ${{ secrets.ITEST_GH_TOKEN }}
Expand All @@ -59,13 +60,14 @@ jobs:
if: github.ref == 'refs/heads/main'
steps:
- name: checkout
uses: actions/checkout@main
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: Download main project dir
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: dockerfile-image-update
path: dockerfile-image-update
- name: deploy
env:
encrypted_00fae8efff8c_iv: ${{ secrets.encrypted_00fae8efff8c_iv }}
Expand Down
Loading