- 
                Notifications
    
You must be signed in to change notification settings  - Fork 4
 
          Add cardano-tracer and tracer-sidecar images
          #5
        
          New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            10 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      cadde42
              
                wip: forward node logs with `cardano-tracer`
              
              
                Anviking 0680dcd
              
                fix: set owner of shared file
              
              
                abailly 5970d26
              
                add node configuration to forward traces
              
              
                abailly 415151e
              
                Ignore some emacs temp files
              
              
                abailly db96927
              
                Integrate tracer image in Makefile
              
              
                abailly 5c0f136
              
                Provide some documentation on tracer's logs and metrics
              
              
                abailly 43c5e4f
              
                Push tracer images
              
              
                abailly 65679e5
              
                Disable cardano-tracer logs to stdout
              
              
                Anviking 1bbca5b
              
                Add `trace-sidecar` with sometimes forks assertion
              
              
                Anviking 3970e1c
              
                Merge pull request #11 from cardano-foundation/anviking/tracer-sidecar
              
              
                Anviking File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or 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 | 
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| root = true | ||
| 
     | 
||
| [*.hs] | ||
| indent_size = 4 | ||
| max_line_length = 80 | ||
| charset = utf-8 | ||
| trim_trailing_whitespace = true | ||
| insert_final_newline = true | ||
| indent_style = space | 
  
    
      This file contains hidden or 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 | 
|---|---|---|
| 
          
            
          
           | 
    @@ -2,6 +2,14 @@ | |
| *~ | ||
| *.swp | ||
| *.swo | ||
| *.swl | ||
| *.swm | ||
| *.swn | ||
| 
     | 
||
| 
     | 
||
| # compose | ||
| compose/.testnet.yaml | ||
| \#* | ||
| 
     | 
||
| # haskell | ||
| dist-newstyle | ||
  
    
      This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 | 
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Description | ||
| 
     | 
||
| Example 3 pool testnet with pre-compiled cardano-node version 10.2.1. | ||
| 
     | 
||
| ## Cardano-Node | ||
| 
     | 
||
| - **Version**: 10.2.1 | ||
| - **Branch**: - | ||
| - **Source/Compiled**: Compiled | ||
| 
     | 
||
| ## Testnet | ||
| 
     | 
||
| - **Pools**: 3 | 
        
          
          
            93 changes: 93 additions & 0 deletions
          
          93 
        
  compose/testnets/anviking_sometimes_forks/docker-compose.yaml
  
  
      
      
   
        
      
      
    
  
    
      This file contains hidden or 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 | 
|---|---|---|
| @@ -0,0 +1,93 @@ | ||
| --- | ||
| 
     | 
||
| x-base: &base | ||
| image: ${registry}${testnet}:latest | ||
| restart: on-failure | ||
| build: | ||
| context: "../../" | ||
| dockerfile: "Dockerfile.compiled" | ||
| args: | ||
| CARDANO_NODE_VERSION: "10.2.1" | ||
| 
     | 
||
| x-env: &env | ||
| POOL_ID: "0" # Placeholder required for override | ||
| 
     | 
||
| services: | ||
| tracer: | ||
| image: ${registry}${testnet}_tracer:latest | ||
| restart: on-failure | ||
| hostname: tracer.example | ||
| container_name: tracer | ||
| volumes: | ||
| - tracer:/opt/cardano-tracer | ||
| ports: | ||
| - "4000:4000" | ||
| command: | ||
| - "--config" | ||
| - "tracer-config.yaml" | ||
| build: | ||
| context: "../../tracer" | ||
| dockerfile: "Dockerfile" | ||
| 
     | 
||
| p1: | ||
| <<: *base | ||
| container_name: p1 | ||
| hostname: p1.example | ||
| volumes: | ||
| - p1:/opt/cardano-node/data | ||
| - tracer:/opt/cardano-tracer | ||
| ports: | ||
| - "3001:3001" | ||
| environment: | ||
| <<: *env | ||
| POOL_ID: "1" | ||
| 
     | 
||
| p2: | ||
| <<: *base | ||
| container_name: p2 | ||
| hostname: p2.example | ||
| volumes: | ||
| - p2:/opt/cardano-node/data | ||
| - tracer:/opt/cardano-tracer | ||
| ports: | ||
| - "3002:3001" | ||
| environment: | ||
| <<: *env | ||
| POOL_ID: "2" | ||
| PEER_SHARING: "false" | ||
| 
     | 
||
| p3: | ||
| <<: *base | ||
| container_name: p3 | ||
| hostname: p3.example | ||
| volumes: | ||
| - p3:/opt/cardano-node/data | ||
| - tracer:/opt/cardano-tracer | ||
| ports: | ||
| - "3003:3001" | ||
| environment: | ||
| <<: *env | ||
| POOL_ID: "3" | ||
| 
     | 
||
| s1: | ||
| image: ${registry}${testnet}_sidecar:latest | ||
| restart: on-failure | ||
| container_name: s1 | ||
| hostname: s1.example | ||
| environment: | ||
| POOLS: "3" | ||
| tracer-sidecar: | ||
| image: ${registry}${testnet}_tracer-sidecar:latest | ||
| restart: on-failure | ||
| container_name: tracer-sidecar | ||
| hostname: tracer-sidecar.example | ||
| environment: | ||
| POOLS: "3" | ||
| volumes: | ||
| - tracer:/opt/cardano-tracer | ||
| 
     | 
||
| volumes: | ||
| tracer: | ||
| p1: | ||
| p2: | ||
| p3: | 
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.