Admin: Ensure Automatic data update scripts use a unique branch (#5947)
This commit is contained in:
parent
efb13a17a8
commit
046d765100
@ -47,5 +47,5 @@ jobs:
|
||||
COMMIT_MESSAGE: 'chore: update EC2 Instance Offerings'
|
||||
COMMIT_NAME: 'Moto Admin'
|
||||
COMMIT_EMAIL: 'admin@getmoto.org'
|
||||
PR_BRANCH_NAME: 'chore-update-${PR_ID}'
|
||||
PR_BRANCH_NAME: 'chore-update-ec2-offerings-${PR_ID}'
|
||||
PR_TITLE: 'chore: update EC2 Instance Offerings'
|
||||
|
@ -46,5 +46,5 @@ jobs:
|
||||
COMMIT_MESSAGE: 'chore: update EC2 Instance Types'
|
||||
COMMIT_NAME: 'Moto Admin'
|
||||
COMMIT_EMAIL: 'admin@getmoto.org'
|
||||
PR_BRANCH_NAME: 'chore-update-${PR_ID}'
|
||||
PR_BRANCH_NAME: 'chore-update-ec2-types-${PR_ID}'
|
||||
PR_TITLE: 'chore: update EC2 Instance Types'
|
||||
|
@ -43,9 +43,10 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.PR_ACCESS_TOKEN }}
|
||||
EXECUTE_COMMANDS: |
|
||||
pip install boto3
|
||||
pip install moto
|
||||
python scripts/ssm_get_default_amis.py
|
||||
COMMIT_MESSAGE: "chore: update SSM default AMI's"
|
||||
COMMIT_NAME: 'Moto Admin'
|
||||
COMMIT_EMAIL: 'admin@getmoto.org'
|
||||
PR_BRANCH_NAME: 'chore-update-${PR_ID}'
|
||||
PR_BRANCH_NAME: 'chore-update-ssm-amis-${PR_ID}'
|
||||
PR_TITLE: "chore: update SSM Instance AMI's"
|
||||
|
@ -43,9 +43,10 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.PR_ACCESS_TOKEN }}
|
||||
EXECUTE_COMMANDS: |
|
||||
pip install boto3
|
||||
pip install moto
|
||||
python scripts/ssm_get_default_params.py
|
||||
COMMIT_MESSAGE: "chore: update SSM default parameters"
|
||||
COMMIT_NAME: 'Moto Admin'
|
||||
COMMIT_EMAIL: 'admin@getmoto.org'
|
||||
PR_BRANCH_NAME: 'chore-update-${PR_ID}'
|
||||
PR_BRANCH_NAME: 'chore-update-ssm-params-${PR_ID}'
|
||||
PR_TITLE: "chore: update SSM Instance parameters"
|
||||
|
@ -2,7 +2,6 @@ import boto3
|
||||
import json
|
||||
import os
|
||||
import subprocess
|
||||
import sure # noqa # pylint: disable=unused-import
|
||||
import time
|
||||
|
||||
from moto.ssm.utils import convert_to_tree
|
||||
|
Loading…
Reference in New Issue
Block a user