Skip to content

Bump deps versions - #3

Merged
Peter Hu (git-phu) merged 1 commit into
mainfrom
tkorenko/bump-deps-versions
Mar 22, 2023
Merged

Peter Hu (git-phu) merged 1 commit into
mainfrom
tkorenko/bump-deps-versions

Conversation

@tkorenko

Copy link
Copy Markdown

@tkorenko

Copy link
Copy Markdown
Author

An updated action is still capable of starting/stopping AWS runners:

ec2-runner 00

ec2-runner 01

(c) https://github.com/airbytehq/airbyte-platform-internal/actions/runs/4489347462/jobs/7895268182

@git-phu Peter Hu (git-phu) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one interesting thing we added to this fork of the GHA is to allow
multiple security groups

example usage here: https://github.com/airbytehq/airbyte-platform-internal/blob/2c39fb286e4a3bbfb5921b751cb1b5aa3d2c7a23/.github/actions/_oss_start-aws-runner/action.yml#L21

Taras Korenko (@tkorenko) if you can verify that is still working, then I think this is good to merge

@tkorenko

Copy link
Copy Markdown
Author

A change, a workflow run, its effects:

ec2-runner 02

Also:

% aws ec2 describe-instances --instance-ids i-0e786b280f62a59d5
{
    "Reservations": [
        {
            "Groups": [],
            "Instances": [
                {
                    "AmiLaunchIndex": 0,
                    "ImageId": "ami-07584ce1e1aed46f8",
                    "InstanceId": "i-0e786b280f62a59d5",
                    "InstanceType": "c6a.4xlarge",
                    "KeyName": "davin-dev-2",
                    "LaunchTime": "2023-03-22T18:33:21+00:00",
                    "Monitoring": {
                        "State": "disabled"
                    },
                    "Placement": {
                        "AvailabilityZone": "us-east-2a",
                        "GroupName": "",
                        "Tenancy": "default"
                    },
                    "PrivateDnsName": "ip-10-0-25-226.us-east-2.compute.internal",
                    "PrivateIpAddress": "10.0.25.226",
                    "ProductCodes": [],
                    "PublicDnsName": "ec2-52-15-229-216.us-east-2.compute.amazonaws.com",
                    "PublicIpAddress": "52.15.229.216",
                    "State": {
                        "Code": 16,
                        "Name": "running"
                    },
                    "StateTransitionReason": "",
                    "SubnetId": "subnet-0469a9e68a379c1d3",
                    "VpcId": "vpc-02fcfd70bad2e3e3b",
                    "Architecture": "x86_64",
                    "BlockDeviceMappings": [
                        {
                            "DeviceName": "/dev/sda1",
                            "Ebs": {
                                "AttachTime": "2023-03-22T18:33:22+00:00",
                                "DeleteOnTermination": true,
                                "Status": "attached",
                                "VolumeId": "vol-0f6dc4295513cbe34"
                            }
                        }
                    ],
                    "ClientToken": "b4b3ca0c-8434-4119-9a66-aa790b4a17c9",
                    "EbsOptimized": false,
                    "EnaSupport": true,
                    "Hypervisor": "xen",
                    "NetworkInterfaces": [
                        {
                            "Association": {
                                "IpOwnerId": "amazon",
                                "PublicDnsName": "ec2-52-15-229-216.us-east-2.compute.amazonaws.com",
                                "PublicIp": "52.15.229.216"
                            },
                            "Attachment": {
                                "AttachTime": "2023-03-22T18:33:21+00:00",
                                "AttachmentId": "eni-attach-04cbae05bafd5bd42",
                                "DeleteOnTermination": true,
                                "DeviceIndex": 0,
                                "Status": "attached",
                                "NetworkCardIndex": 0
                            },
                            "Description": "",
                            "Groups": [
                                {
                                    "GroupName": "inbound-ssh",
                                    "GroupId": "sg-023656a050e7d5634"
                                },
                                {
                                    "GroupName": "default",
                                    "GroupId": "sg-0793f3c9413f21970"
                                }
                            ],
                            "Ipv6Addresses": [],
                            "MacAddress": "02:33:87:86:09:44",
                            "NetworkInterfaceId": "eni-0a3f7f50448ebfd59",
                            "OwnerId": "317283927606",
                            "PrivateDnsName": "ip-10-0-25-226.us-east-2.compute.internal",
                            "PrivateIpAddress": "10.0.25.226",
                            "PrivateIpAddresses": [
                                {
                                    "Association": {
                                        "IpOwnerId": "amazon",
                                        "PublicDnsName": "ec2-52-15-229-216.us-east-2.compute.amazonaws.com",
                                        "PublicIp": "52.15.229.216"
                                    },
                                    "Primary": true,
                                    "PrivateDnsName": "ip-10-0-25-226.us-east-2.compute.internal",
                                    "PrivateIpAddress": "10.0.25.226"
                                }
                            ],
                            "SourceDestCheck": true,
                            "Status": "in-use",
                            "SubnetId": "subnet-0469a9e68a379c1d3",
                            "VpcId": "vpc-02fcfd70bad2e3e3b",
                            "InterfaceType": "interface"
                        }
                    ],
                    "RootDeviceName": "/dev/sda1",
                    "RootDeviceType": "ebs",
                    "SecurityGroups": [
                        {
                            "GroupName": "inbound-ssh",
                            "GroupId": "sg-023656a050e7d5634"
                        },
                        {
                            "GroupName": "default",
                            "GroupId": "sg-0793f3c9413f21970"
                        }
                    ],
                    "SourceDestCheck": true,
                    "Tags": [
                        {
                            "Key": "Branch",
                            "Value": "refs/heads/tkorenko/5349-update-gh-actions--p2"
                        },
                        {
                            "Key": "Repository",
                            "Value": "airbytehq/airbyte-platform-internal"
                        },
                        {
                            "Key": "BuildType",
                            "Value": "cloud"
                        }
                    ],
                    "VirtualizationType": "hvm",
                    "CpuOptions": {
                        "CoreCount": 8,
                        "ThreadsPerCore": 2
                    },
                    "CapacityReservationSpecification": {
                        "CapacityReservationPreference": "open"
                    },
                    "HibernationOptions": {
                        "Configured": false
                    },
                    "MetadataOptions": {
                        "State": "applied",
                        "HttpTokens": "optional",
                        "HttpPutResponseHopLimit": 1,
                        "HttpEndpoint": "enabled",
                        "HttpProtocolIpv6": "disabled",
                        "InstanceMetadataTags": "disabled"
                    },
                    "EnclaveOptions": {
                        "Enabled": false
                    },
                    "PlatformDetails": "Linux/UNIX",
                    "UsageOperation": "RunInstances",
                    "UsageOperationUpdateTime": "2023-03-22T18:33:21+00:00",
                    "PrivateDnsNameOptions": {
                        "HostnameType": "ip-name",
                        "EnableResourceNameDnsARecord": false,
                        "EnableResourceNameDnsAAAARecord": false
                    },
                    "MaintenanceOptions": {
                        "AutoRecovery": "default"
                    }
                }
            ],
            "OwnerId": "317283927606",
            "ReservationId": "r-0775ebf45e0481883"
        }
    ]
}

Peter Hu (@git-phu) , if this looks ok, please merge ^ , I don't seem to have permissions in this repo.

@git-phu Peter Hu (git-phu) left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Taras Korenko (@tkorenko) looks great, thanks!

@git-phu
Peter Hu (git-phu) merged commit 63ce2b3 into main Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants