-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[depends]
percolate:meteor-synced-cron
at (forked) version 2.0.0
Because `percolate:meteor-synced-cron` uses MongoDB to store its state, we need to merge in [PR 149](percolatestudio/meteor-synced-cron#149) for Meteor 3.0 compatibility, which the maintainer has yet to do at the time of this commit. - Make it so that all the runtime environments (`Makefile` for development; `Dockerfile` for integration and production) apply the [proper technique](https://guide.meteor.com/v1.3/writing-atmosphere-packages.html#overriding-atmosphere-packages) to use the forked package - Enroll the forked package into `.meteor/packages` / `.meteor/versions` with ```shell meteor add percolate:synced-cron ```
- Loading branch information
Dominique Quatravaux
committed
May 29, 2024
1 parent
855a2af
commit 8419327
Showing
4 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -54,12 +54,12 @@ print-env: check-env | |
@echo "MOCHA_TIMEOUT=${MOCHA_TIMEOUT}" | ||
|
||
.PHONY: meteor | ||
meteor: check-env | ||
meteor: check-env app/packages/meteor-synced-cron | ||
@echo '**** Start meteor: ****' | ||
cd app/; env WP_VERITAS_BOT_TOKEN=$$WP_VERITAS_BOT_TOKEN_TEST WP_VERITAS_ALERTS_TELEGRAM_IDS=$$WP_VERITAS_ALERTS_TELEGRAM_IDS_TEST WP_VERITAS_AWX_TOKEN=$$AWX_TOKEN meteor --settings meteor-settings.json | ||
|
||
.PHONY: test | ||
test: check-env | ||
test: check-env app/packages/meteor-synced-cron | ||
@echo '**** Run test: ****' | ||
@cd app; env MOCHA_TIMEOUT=$$MOCHA_TIMEOUT WP_VERITAS_BOT_TOKEN=$$WP_VERITAS_BOT_TOKEN_TEST WP_VERITAS_ALERTS_TELEGRAM_IDS=$$WP_VERITAS_ALERTS_TELEGRAM_IDS_TEST TEST_WATCH=1 meteor test --full-app --driver-package meteortesting:mocha --port 3888 | ||
|
||
|
@@ -189,6 +189,10 @@ publish: | |
$(MAKE) docker-push | ||
$(MAKE) git-tag | ||
|
||
app/packages/meteor-synced-cron: | ||
@mkdir -p $(dir $@) || true | ||
cd $(dir $@); git clone -b update-to-async [email protected]:sebastianspiller/meteor-synced-cron.git | ||
|
||
################################################################################ | ||
# Targets for development purpose only # | ||
################################################################################ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,3 +32,4 @@ harrison:papa-parse # Export CSV | |
pfafman:filesaver # Export CSV | ||
alanning:[email protected] | ||
ostrio:logger | ||
percolate:synced-cron |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,6 +66,7 @@ [email protected] | |
[email protected] | ||
ostrio:[email protected] | ||
peppelg:[email protected] | ||
percolate:[email protected] | ||
pfafman:[email protected]_1 | ||
[email protected] | ||
[email protected] | ||
|