fix: build and deployment of scheduler
This commit is contained in:
parent
16f6b902d9
commit
5d41ac769b
3 changed files with 4 additions and 4 deletions
5
.github/workflows/scheduler.release.dev.yml
vendored
5
.github/workflows/scheduler.release.dev.yml
vendored
|
@ -1,7 +1,7 @@
|
|||
name: Scheduler Server Dev
|
||||
|
||||
concurrency:
|
||||
group: dev_environment
|
||||
group: scheduler_dev_environment
|
||||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
|
@ -20,6 +20,7 @@ jobs:
|
|||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '16.x'
|
||||
- run: yarn lint:scheduler
|
||||
- run: yarn test:scheduler
|
||||
|
||||
publish-aws-ecr:
|
||||
|
@ -58,7 +59,7 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build image
|
||||
run: yarn docker build @standardnotes/scheduler-server -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
|
||||
run: yarn docker build @standardnotes/scheduler-server -t standardnotes/scheduler
|
||||
- name: Publish to Registry (dev tag)
|
||||
uses: manusa/actions-publish-docker@v1.1.2
|
||||
with:
|
||||
|
|
2
.github/workflows/version-bump.yml
vendored
2
.github/workflows/version-bump.yml
vendored
|
@ -32,8 +32,6 @@ jobs:
|
|||
with:
|
||||
node-version: '16.x'
|
||||
|
||||
- run: yarn install --immutable
|
||||
|
||||
- name: Bump Prod Version
|
||||
if: ${{ github.ref == 'refs/heads/main' }}
|
||||
run: yarn release:prod
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"lint": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run lint",
|
||||
"lint:scheduler": "yarn workspace @standardnotes/scheduler-server lint",
|
||||
"test": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run test",
|
||||
"test:scheduler": "yarn workspace @standardnotes/scheduler-server test",
|
||||
"clean": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run clean",
|
||||
|
|
Loading…
Reference in a new issue