This commit is contained in:
parent
642c1fa944
commit
403f831301
@ -18,6 +18,21 @@ jobs:
|
|||||||
- name: Push docker image to registry
|
- name: Push docker image to registry
|
||||||
run: docker push 10.5.1.5:5000/sdlc/x86_64
|
run: docker push 10.5.1.5:5000/sdlc/x86_64
|
||||||
|
|
||||||
|
build-x86_64-testing:
|
||||||
|
runs-on: hardware-x86_64
|
||||||
|
steps:
|
||||||
|
- name: Pull repository
|
||||||
|
run: |
|
||||||
|
git init
|
||||||
|
git remote add gitea http://10.1.1.1:3000/hasslesstech/sdlc-project
|
||||||
|
git fetch gitea
|
||||||
|
git checkout gitea/master
|
||||||
|
- name: Build docker image
|
||||||
|
run: docker build backend/ -f tests/backend-testing-env -t 10.5.1.5:5000/sdlc/x86_64-testing
|
||||||
|
- name: Push docker image to registry
|
||||||
|
run: docker push 10.5.1.5:5000/sdlc/x86_64-testing
|
||||||
|
|
||||||
|
|
||||||
# build-armv7:
|
# build-armv7:
|
||||||
# runs-on: hardware-armv7
|
# runs-on: hardware-armv7
|
||||||
# steps:
|
# steps:
|
||||||
|
@ -5,15 +5,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-x86_64:
|
test-x86_64:
|
||||||
runs-on: alpine
|
runs-on: backend-testing-env
|
||||||
steps:
|
steps:
|
||||||
- name: Install tools for testing
|
|
||||||
shell: sh
|
|
||||||
run: |
|
|
||||||
apk --update add git docker docker-compose postgresql
|
|
||||||
- name: Pull postgres docker image
|
|
||||||
shell: sh
|
|
||||||
run: docker pull postgres
|
|
||||||
- name: Pull custom docker image
|
- name: Pull custom docker image
|
||||||
shell: sh
|
shell: sh
|
||||||
run: docker pull 10.5.1.5:5000/sdlc/x86_64
|
run: docker pull 10.5.1.5:5000/sdlc/x86_64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user