Add a local stack for ERC20 watcher #80
Merged
prathamesh0
merged 8 commits from 2022-12-22 06:03:39 +00:00
pm-erc20-watcher-stack into main
Dismiss Review
Are you sure you want to dismiss this review?
Labels
Clear labels
K8s
bug
documentation
duplicate
enhancement
feature
good first issue
help wanted
in progress
invalid
question
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Something isn't working
Improvements or additions to documentation
This issue or pull request already exists
New feature or request
Good for newcomers
Extra attention is needed
This doesn't seem right
Further information is requested
This will not be worked on
An issue or PR manually copied from GitHub.
Breaking change that won't be backward compatible
Something is not working
Documentation changes
Improve existing functionality
New functionality
This is security issue
Issue or pull request related to testing
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
No labels
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/stack-orchestrator#80
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of https://github.com/cerc-io/watcher-ts/issues/278
@@ -0,0 +7,4 @@COPY . .RUN echo "Building watcher-ts" && \git checkout v0.2.19 && \i get
error: pathspec 'v0.2.19' did not match any file(s) known to giteven though i see the latest watcher-ts release of
v0.2.19is over an hour ago. checkout works locally, maybe be that the cache docker pulls takes a bit to update?@@ -0,0 +7,4 @@COPY . .RUN echo "Building watcher-ts" && \git checkout v0.2.19 && \@zramsay
Thanks for catching; it's actually because we need to pull the repo if it already exists in the dev-root directory.
Should be fixed now.
@@ -0,0 +7,4 @@COPY . .RUN echo "Building watcher-ts" && \git checkout v0.2.19 && \awesome, yep
--pulldid the trick, thanks@@ -0,0 +7,4 @@COPY . .RUN echo "Building watcher-ts" && \git checkout v0.2.19 && \A special branch should be implemented in
laconic-so setup-repositories. I think there is already some support for non-main branches there but it's been a while since I tried it.@@ -0,0 +7,4 @@COPY . .RUN echo "Building watcher-ts" && \git checkout v0.2.19 && \oh i see,
--pullis only required because this PR isn't merged on to main, makes sensethe demo works like a charm
edit: bunch of missing info for metamask related stuff (e.g, token's currency symbol is GLD) but I can add to the demo later on
@@ -0,0 +7,4 @@COPY . .RUN echo "Building watcher-ts" && \git checkout v0.2.19 && \@dboreham
I see that checking out to branches is currently supported using the
--branches-fileoption.However, when I try checking out to the required release tag, it works if the
HEADis pointing to a branch and throws the following error if it's detached (checked out to a release tag for eg.):@@ -0,0 +7,4 @@COPY . .RUN echo "Building watcher-ts" && \git checkout v0.2.19 && \--pullis actually required because the repo we're trying to setup has a new remote branch / tag.@@ -0,0 +7,4 @@COPY . .RUN echo "Building watcher-ts" && \git checkout v0.2.19 && \Hmm...ok. But do we need to support the "already detached" state? Wouldn't the repo have been cloned by stack-orchestrator, hence it wouldn't be detached?
@@ -0,0 +7,4 @@COPY . .RUN echo "Building watcher-ts" && \git checkout v0.2.19 && \It might be in a detached state when we run
setup-repositoriesthe next time (re-running the demo for eg.).@@ -0,0 +7,4 @@COPY . .RUN echo "Building watcher-ts" && \git checkout v0.2.19 && \Ok, this approach is fine until we add proper branch/tag-switching support.