- 
                Notifications
    
You must be signed in to change notification settings  - Fork 32
 
🎨Clusters keeper/use ssm (🚨change in private clusters) #6361
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
      
      
            sanderegg
  merged 14 commits into
  ITISFoundation:master
from
sanderegg:clusters-keeper/use-ssm
  
      
      
   
  Sep 20, 2024 
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            14 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      b2cd7f3
              
                refactor
              
              
                sanderegg aa11d65
              
                ongoing
              
              
                sanderegg 01fdf4d
              
                added ssm client, use ssm client, on the way to deploying stack via ssm
              
              
                sanderegg aa7e03e
              
                fixed mypy
              
              
                sanderegg 20bdb08
              
                added SSM access ENVs
              
              
                sanderegg 42e17fd
              
                healthcheck fixed
              
              
                sanderegg 8ec7d58
              
                init ssm server
              
              
                sanderegg 80ba159
              
                init ssm server
              
              
                sanderegg 570fd5d
              
                missing fixtures
              
              
                sanderegg fe113e9
              
                missing disable ssm
              
              
                sanderegg 63a91a7
              
                added example
              
              
                sanderegg aded14b
              
                missing fixture
              
              
                sanderegg fceee97
              
                adapted test to SSM
              
              
                sanderegg 8d03db6
              
                @pcrespov review: TODO
              
              
                sanderegg 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
    
  
  
    
              
  
    
      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
    
  
  
    
              
        
          
  
    
      
          
            15 changes: 15 additions & 0 deletions
          
          15 
        
  services/clusters-keeper/src/simcore_service_clusters_keeper/constants.py
  
  
      
      
   
        
      
      
    
  
    
      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,15 @@ | ||
| from typing import Final | ||
| 
     | 
||
| from aws_library.ec2._models import AWSTagKey, AWSTagValue | ||
| from pydantic import parse_obj_as | ||
| 
     | 
||
| DOCKER_STACK_DEPLOY_COMMAND_NAME: Final[str] = "private cluster docker deploy" | ||
| DOCKER_STACK_DEPLOY_COMMAND_EC2_TAG_KEY: Final[AWSTagKey] = parse_obj_as( | ||
| AWSTagKey, "io.simcore.clusters-keeper.private_cluster_docker_deploy" | ||
| ) | ||
| 
     | 
||
| USER_ID_TAG_KEY: Final[AWSTagKey] = parse_obj_as(AWSTagKey, "user_id") | ||
                
      
                  sanderegg marked this conversation as resolved.
               
          
            Show resolved
            Hide resolved
         | 
||
| WALLET_ID_TAG_KEY: Final[AWSTagKey] = parse_obj_as(AWSTagKey, "wallet_id") | ||
| ROLE_TAG_KEY: Final[AWSTagKey] = parse_obj_as(AWSTagKey, "role") | ||
| WORKER_ROLE_TAG_VALUE: Final[AWSTagValue] = parse_obj_as(AWSTagValue, "worker") | ||
| MANAGER_ROLE_TAG_VALUE: Final[AWSTagValue] = parse_obj_as(AWSTagValue, "manager") | ||
  
    
      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
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
      
      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.