Skip to content

Commit

Permalink
chore: update screenshots for new app shell (#100)
Browse files Browse the repository at this point in the history
* chore: update screenshots on k8s quickstart

* chore: fix screenshots

* chore: update k8s quickstart screenshots

* chore:update quickstart and screenshots for lambda

* chore: update image on manage rbac roles page

* chore: update text and screenshot of switch tenant

* chore: update rback troubleshooting

* chore: update blue green screen

* Update content/en/get-started/lambda/index.md

* Update content/en/get-started/lambda/index.md

---------

Co-authored-by: aimee <aimeeu.opensource@gmail.com>
  • Loading branch information
tunderwood and aimeeu authored Dec 14, 2023
1 parent 4c43bba commit 60c630d
Show file tree
Hide file tree
Showing 19 changed files with 18 additions and 23 deletions.
Binary file modified content/en/get-started/lambda/deploy-details.webp
Binary file not shown.
Binary file modified content/en/get-started/lambda/deployed-function-list.webp
Binary file not shown.
Binary file modified content/en/get-started/lambda/function-test.webp
Binary file not shown.
37 changes: 16 additions & 21 deletions content/en/get-started/lambda/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,11 @@ Confirm the device code in your browser when prompted. Then return to this guide

## Create S3 buckets

You need to store your AWS Lambda function as a zip file in an S3 bucket, and S3 bucket needs to be in the same region you deploy to. For this guide, you are going to deploy the AWS Lambda function to four regions so you need to create four buckets:
You need to store your AWS Lambda function as a zip file in an S3 bucket, and S3 bucket needs to be in the same region you deploy to.

For this guide you are going to need to create S3 buckets in four regions, us-east-1, us-east-2, us-west-1, and us-west-2 . You reference these buckets as `<my-bucket-prefix>-<region>` (i.e `<my-bucket-prefix>-us-west-1` ).

| Region | Bucket Name |
| ---------|----------|
| us-east-1 | armory-demo-east-1 |
| us-east-2 | armory-demo-east-2 |
| us-west-1 | armory-demo-west-1 |
| us-west-2 | armory-demo-west-2 |

Create each bucket by entering `<my-bucket-prefix>-<region>` into the **Bucket Name** field.
Use the default values for the rest of the fields.

After you have finished, you should have four buckets.
Expand Down Expand Up @@ -106,13 +101,13 @@ const potatolessFacts = [
</details>

1. <a href="/get-started/lambda/files/just-sweet-potatoes.zip" download>Download the function zip file</a>.
1. Upload the file to each of your `armory-demo-lambda-deploy` S3 buckets.
1. Upload the file to each of your `<my-demo-prefix>` S3 buckets.
1. Make a note of each bucket's S3 path to the lambda function. The paths should be:

* `s3://armory-demo-east-1/just-sweet-potatoes.zip`
* `s3://armory-demo-east-2/just-sweet-potatoes.zip`
* `s3://armory-demo-west-1/just-sweet-potatoes.zip`
* `s3://armory-demo-west-2/just-sweet-potatoes.zip`
* `s3://<my-bucket-prefix>-us-east-1/just-sweet-potatoes.zip`
* `s3://<my-bucket-prefix>-us-east-2/just-sweet-potatoes.zip`
* `s3://<my-bucket-prefix>-us-west-1/just-sweet-potatoes.zip`
* `s3://<my-bucket-prefix>-us-west-2/just-sweet-potatoes.zip`

## Create your deployment config file

Expand Down Expand Up @@ -212,16 +207,16 @@ The function is named `just-sweet-potatoes` in each S3 bucket, but the `function
{{< highlight yaml "linenos=table" >}}
artifacts:
- functionName: just-sweet-potatoes-dev
path: s3://armory-demo-east-1/just-sweet-potatoes.zip
path: s3://<my-bucket-prefix>-us-east-1/just-sweet-potatoes.zip
type: zipFile
- functionName: just-sweet-potatoes-staging
path: s3://armory-demo-east-2/just-sweet-potatoes.zip
path: s3://<my-bucket-prefix>-us-east-2/just-sweet-potatoes.zip
type: zipFile
- functionName: just-sweet-potatoes-prod-west-1
path: s3://armory-demo-west-1/just-sweet-potatoes.zip
path: s3://<my-bucket-prefix>-us-west-1/just-sweet-potatoes.zip
type: zipFile
- functionName: just-sweet-potatoes-prod-west-2
path: s3://armory-demo-west-2/just-sweet-potatoes.zip
path: s3://<my-bucket-prefix>-us-west-2/just-sweet-potatoes.zip
type: zipFile
{{< /highlight >}}

Expand All @@ -236,22 +231,22 @@ providerOptions:
name: just-sweet-potatoes-dev
runAsIamRole: <execution-role-arn>
handler: index.handler
runtime: python3.10
runtime: nodejs18.x
- target: staging
name: just-sweet-potatoes-staging
runAsIamRole: <execution-role-arn>
handler: index.handler
runtime: python3.10
runtime: nodejs18.x
- target: prod-west-1
name: just-sweet-potatoes-prod-west-1
runAsIamRole: <execution-role-arn>
handler: index.handler
runtime: python3.10
runtime: nodejs18.x
- target: prod-west-2
name: just-sweet-potatoes-prod-west-2
runAsIamRole: <execution-role-arn>
handler: index.handler
runtime: python3.10
runtime: nodejs18.x
{{< /highlight >}}

{{< include "dep-file/lambda-provider-options.md" >}}
Expand Down
Binary file modified content/en/get-started/lambda/manual-constraint.webp
Binary file not shown.
Binary file modified content/en/get-started/lambda/s3-buckets.webp
Binary file not shown.
Binary file modified content/en/get-started/quickstart/clickApprove.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/en/get-started/quickstart/deployFinishedDetails.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/en/get-started/quickstart/openTrafficSplitDetails.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion content/en/iam/manage-rbac-roles/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,5 +242,5 @@ Execute `armory config apply -f <path-to-rbac-config>.yml` to apply your changes

You can check that you deleted your role by running `armory config get`.

When you delete a role, that role is removed from existing users. You can accidentally remove the ability for your users to perform actions within CD-as-a-Service. A user with no role can still log into the UI but only sees a blank **Deployments** screen:
When you delete a role, that role is removed from existing users. You can accidentally remove the ability for your users to perform actions within CD-as-a-Service. A user with no role can still log into the UI but only sees a blank **Deployments** screen and will receive a 'Principal Not Authorized' error:
{{< figure src="user-no-role.png" >}}
Binary file modified content/en/iam/manage-rbac-roles/user-no-role.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion content/en/iam/manage-tenants/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,5 @@ You use the UI to switch to the tenant whose resources you want to see. CD-as-a-
{{< figure src="ui-switch-tenant.jpg" alt="Switch Tenant." >}}

1. Access your user context menu.
1. Hover over **Switch Tenant** to display a list of accessible tenants.
1. Click the **Switch Tenant** button.
1. Click the tenant you want to switch to.
Binary file modified content/en/iam/manage-tenants/ui-switch-tenant.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/en/troubleshooting/rbac/user-no-role.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/en/tutorials/tutorial-blue-green/approve-prod-start.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/en/tutorials/tutorial-blue-green/deployFinish.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified content/en/tutorials/tutorial-blue-green/openDetailsWindow.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 60c630d

Please sign in to comment.