diff options
Diffstat (limited to 'doc/ci/cloud_deployment')
-rw-r--r-- | doc/ci/cloud_deployment/ecs/deploy_to_aws_ecs.md | 2 | ||||
-rw-r--r-- | doc/ci/cloud_deployment/index.md | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/doc/ci/cloud_deployment/ecs/deploy_to_aws_ecs.md b/doc/ci/cloud_deployment/ecs/deploy_to_aws_ecs.md index aea7b492d4e..2d1c3f927e2 100644 --- a/doc/ci/cloud_deployment/ecs/deploy_to_aws_ecs.md +++ b/doc/ci/cloud_deployment/ecs/deploy_to_aws_ecs.md @@ -79,7 +79,7 @@ and [Container Registry](../../../user/packages/container_registry/index.md). ![Create project](img/initial-pipeline.png) -1. Visit **Packages & Registries > Container Registry**. Make sure the application image has been +1. Visit **Packages and registries > Container Registry**. Make sure the application image has been pushed. ![Create project](img/registry.png) diff --git a/doc/ci/cloud_deployment/index.md b/doc/ci/cloud_deployment/index.md index 5df396e796e..82d914f0a6a 100644 --- a/doc/ci/cloud_deployment/index.md +++ b/doc/ci/cloud_deployment/index.md @@ -50,6 +50,7 @@ deploy: script: - aws s3 ... - aws create-deployment ... + environment: production ``` GitLab provides a Docker image that includes the AWS CLI: @@ -215,3 +216,14 @@ To deploy to EC2, complete the following steps. - Your built application is pushed to your S3 bucket then and deployed to your EC2 instance, based on the related JSON object's content. The deployment job finishes when the deployment to EC2 is done or has failed. + +## Troubleshooting + +### Error `'ascii' codec can't encode character '\uxxxx'` + +This error can occur when the response from the `aws-cli` utility used by the Cloud Deploy images contains a Unicode character. The Cloud Deploy images we provide do not have a defined locale and default to using ASCII. To resolve this error, add the following CI/CD variable: + +```yaml +variables: + LANG: "UTF-8" +``` |