Skip to content
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

Port 8079 update GitHub actions for aws #1212

Merged

Conversation

phalbert
Copy link
Contributor

Description

Update the AWS GitHub guides with the v2 actions schema
Screenshot 2024-05-16 at 15 51 45

Updated docs pages

Please also include the path for the updated docs

  • docs/create-self-service-experiences/setup-backend/github-workflow/examples/AWS/add-tags-to-ecr-repository.md
  • docs/create-self-service-experiences/setup-backend/github-workflow/examples/AWS/add-tags-to-s3-bucket.md
  • docs/create-self-service-experiences/setup-backend/github-workflow/examples/AWS/create-eks-cluster-and-deploy-app.md
  • docs/create-self-service-experiences/setup-backend/github-workflow/examples/AWS/deploy-cloudformation-template.md
  • docs/create-self-service-experiences/setup-backend/github-workflow/examples/AWS/manage-ec2-instances.md
  • docs/create-self-service-experiences/setup-backend/github-workflow/examples/AWS/push-image-to-ecr.md

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1212.d2ngvl90zqbob8.amplifyapp.com

@phalbert phalbert requested a review from pazhersh May 20, 2024 12:53
}
"repository": "{{ .inputs.\"repository\" }}",
"tags": "{{ .inputs.\"tags\" }}",
"context": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please rename it to port_context?

Copy link
Contributor

Choose a reason for hiding this comment

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

Relevant for the other files in the PR as well

@@ -238,11 +212,10 @@ on:
type: string
required: true
description: 'Tags should be in key-value pairs like so: {"key": "value"}'
port_payload:
context:
Copy link
Contributor

Choose a reason for hiding this comment

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

don't forget to rename here too :)

"ec2_name": "{{ .inputs.\"ec2_name\" }}",
"ec2_instance_type": "{{ .inputs.\"ec2_instance_type\" }}",
"pem_key_name": "{{ .inputs.\"pem_key_name\" }}",
"context": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"context": {
"port_context": {

@@ -288,7 +288,7 @@ on:
description: EC2 pem key
required: true
type: string
port_payload:
context:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
context:
port_context:

"properties": {},
"censoredProperties": "{{.action.encryptedProperties}}"
}
"context": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"context": {
"port_context": {

}
"dockerfile": "{{ .inputs.\"dockerfile\" }}",
"image_repo": "{{ .inputs.\"image_repo\" }}",
"context": {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
"context": {
"port_context": {

Copy link
Contributor

@yairsimantov20 yairsimantov20 left a comment

Choose a reason for hiding this comment

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

go over @pazhersh comments

@phalbert phalbert requested a review from pazhersh May 24, 2024 16:22
@pazhersh pazhersh merged commit b3b0b3e into port-labs:main May 26, 2024
1 of 2 checks passed
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.

None yet

3 participants