mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
- renanemd ci.yml file to test.yml - we will have more then one workflow in the future
- removed clutter from test workflow file
This commit is contained in:
parent
c78cd78d72
commit
7d7b3c1af4
@ -1,4 +1,4 @@
|
||||
name: ocelot.social CI
|
||||
name: ocelot.social test CI
|
||||
|
||||
|
||||
on: [push]
|
||||
@ -241,43 +241,4 @@ jobs:
|
||||
run: docker-compose -f docker-compose.yml -f docker-compose.test.yml up --detach --no-deps webapp
|
||||
- name: webapp | Unit tests
|
||||
#run: docker run --rm ocelotsocialnetwork/webapp:build yarn run test
|
||||
run: docker-compose exec -T webapp yarn test
|
||||
|
||||
##############################################################################
|
||||
# JOB: DOCKER BUILD PRODUCTION & PUSH ########################################
|
||||
##############################################################################
|
||||
#build_production:
|
||||
# name: Docker Build Production & Push
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: prepare
|
||||
# steps:
|
||||
##########################################################################
|
||||
# CHECKOUT CODE ##########################################################
|
||||
##########################################################################
|
||||
#- name: Checkout code
|
||||
# uses: actions/checkout@v2
|
||||
##########################################################################
|
||||
# BACKEND ################################################################
|
||||
##########################################################################
|
||||
# TODO: We want to push this to dockerhub
|
||||
#- name: Build backend production image
|
||||
# uses: docker/build-push-action@v1.1.0
|
||||
# with:
|
||||
# repository: ocelotsocialnetwork/backend
|
||||
# tags: production
|
||||
# target: production
|
||||
# path: backend/
|
||||
# push: false
|
||||
|
||||
##########################################################################
|
||||
# WEBAPP #################################################################
|
||||
##########################################################################
|
||||
# TODO: We want to push this to dockerhub
|
||||
#- name: Build webapp production image
|
||||
# uses: docker/build-push-action@v1.1.0
|
||||
# with:
|
||||
# repository: ocelotsocialnetwork/webapp
|
||||
# tags: production
|
||||
# target: production
|
||||
# path: webapp/
|
||||
# push: false
|
||||
run: docker-compose exec -T webapp yarn test
|
||||
Loading…
x
Reference in New Issue
Block a user