DEVX-191: Разработать Kubernetus сервис
This commit is contained in:
parent
b72450cb1b
commit
6c651fa194
@ -22,8 +22,10 @@ jobs:
|
|||||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
repository: 'devspc/devspace-agent'
|
repository: 'devspc/devspace-agent'
|
||||||
branch: ${{ github.event.inputs.branch }}
|
branch: ${{ github.event.inputs.branch }}
|
||||||
- uses: https://git.binom.pw/otp/devops/config-gradle@main
|
- name: 'Конфигурирование интеграции gradle'
|
||||||
- uses: https://git.binom.pw/otp/devops/setup-gradle@main
|
uses: https://git.binom.pw/otp/devops/config-gradle@main
|
||||||
|
- name: 'Конфигурирование gradle wrapper'
|
||||||
|
uses: https://git.binom.pw/otp/devops/setup-gradle@main
|
||||||
- name: Setup Jvm
|
- name: Setup Jvm
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
@ -34,6 +36,18 @@ jobs:
|
|||||||
./gradlew shadowJar --no-daemon -x cyclonedxBom
|
./gradlew shadowJar --no-daemon -x cyclonedxBom
|
||||||
echo 'Jar in libs folder'
|
echo 'Jar in libs folder'
|
||||||
ls ./build/libs
|
ls ./build/libs
|
||||||
|
- name: Build and push Docker Image
|
||||||
|
uses: https://git.binom.pw/subochev/devops/build-docker@main
|
||||||
|
with:
|
||||||
|
image_name: "otp/agent"
|
||||||
|
tags: latest ${{ inputs.tags }} ${GITEA_RUN_NUMBER}
|
||||||
|
- name: Publishing Helm
|
||||||
|
uses: https://git.binom.pw/helm-publish/action.yml@main
|
||||||
|
with:
|
||||||
|
chart_directory: "helm"
|
||||||
|
helm_version: "${GITEA_RUN_NUMBER}"
|
||||||
|
helm_version_placeholder: '0.1.0'
|
||||||
|
|
||||||
- name: 'Cleanup'
|
- name: 'Cleanup'
|
||||||
if: always()
|
if: always()
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user