Compare commits

...

4 Commits

Author SHA1 Message Date
Karol Sójko
94e84a2539 chore(release): publish
- @standardnotes/scheduler-server@1.1.0-alpha.5
2022-06-21 15:02:57 +02:00
Karol Sójko
263dc8a98d fix: dockerfile entrypoint and cmd 2022-06-21 14:42:15 +02:00
Karol Sójko
2106375695 Merge branch 'develop' of github.com:standardnotes/server into develop 2022-06-21 14:37:32 +02:00
Karol Sójko
5d41ac769b fix: build and deployment of scheduler 2022-06-21 14:33:45 +02:00
7 changed files with 15 additions and 7 deletions

View File

@@ -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:

View File

@@ -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

View File

@@ -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",

View File

@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.1.0-alpha.5](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.4...@standardnotes/scheduler-server@1.1.0-alpha.5) (2022-06-21)
### Bug Fixes
* dockerfile entrypoint and cmd ([263dc8a](https://github.com/standardnotes/server/commit/263dc8a98dd42377c1a6dccf24e6b004eee1893f))
# [1.1.0-alpha.4](https://github.com/standardnotes/server/compare/@standardnotes/scheduler-server@1.1.0-alpha.3...@standardnotes/scheduler-server@1.1.0-alpha.4) (2022-06-21)
### Bug Fixes

View File

@@ -20,4 +20,6 @@ COPY --from=builder /workspace ./
# docker-build plugin runs `yarn pack` in all workspace dependencies and copies them to `packs` folder.
COPY packs ./
CMD yarn workspace @standardnotes/scheduler-server worker
ENTRYPOINT [ "packages/scheduler/docker/entrypoint.sh" ]
CMD [ "start-worker" ]

View File

@@ -6,7 +6,7 @@ COMMAND=$1 && shift 1
case "$COMMAND" in
'start-worker' )
echo "Starting Worker..."
yarn worker
yarn workspace @standardnotes/scheduler-server worker
;;
'verify-jobs' )

View File

@@ -1,6 +1,6 @@
{
"name": "@standardnotes/scheduler-server",
"version": "1.1.0-alpha.4",
"version": "1.1.0-alpha.5",
"engines": {
"node": ">=16.0.0 <17.0.0"
},