1
0
Fork 0
mirror of synced 2024-06-26 18:10:51 +12:00

WIP: Pipeline for Single Image deploy

This commit is contained in:
Jonny McCullagh 2022-06-27 14:37:46 +01:00
parent 9ea1507bc8
commit fa5a423a52

View file

@ -9,6 +9,7 @@ on:
env:
BASE_BRANCH: ${{ github.event.pull_request.base.ref}}
BRANCH: ${{ github.event.pull_request.head.ref }}
CI: true
DOCKER_PASSWORD: ${{ secrets.DOCKER_API_KEY }}
DOCKER_USER: ${{ secrets.DOCKER_USERNAME }}
PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
@ -37,18 +38,8 @@ jobs:
run: yarn lint
- name: Run Yarn Build
run: yarn build
- run: yarn test
env:
CI: true
name: Budibase CI
test:
name: "test"
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
node-version: [14.x]
steps:
- name: Yarn Test
run: yarn test
- name: Test Code Coverage
uses: codecov/codecov-action@v1
with:
@ -61,11 +52,6 @@ jobs:
with:
install: false
command: yarn test:e2e:ci
deploy:
name: "deploy"
runs-on: ubuntu-latest
needs: test
steps:
- name: Login to Docker Hub
run: |
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD