From 97f0ada885128ae0adf069347771d3ec8fb67d52 Mon Sep 17 00:00:00 2001 From: Amy Qualls <aqualls@gitlab.com> Date: Fri, 27 Sep 2024 10:36:00 -0700 Subject: [PATCH] Update image names in antique ci/examples dir We know these pages are old, but now we know exactly how old these images truly are. --- ...g => deployed_dependency_update_v11_8.png} | Bin .../end_to_end_testing_webdriverio/index.md | 2 +- ...ntainer_registry_page_empty_image_v10.png} | Bin ...ontainer_registry_page_with_image_v10.jpg} | Bin ...keys_page.png => deploy_keys_page_v10.png} | Bin ...ment_page.png => environment_page_v10.png} | Bin ...nts_page.png => environments_page_v10.png} | Bin ..._page.png => laravel_welcome_page_v10.png} | Bin ...ipeline_page.png => pipeline_page_v10.png} | Bin ...g => pipelines_page_deploy_button_v10.png} | Bin ...elines_page.png => pipelines_page_v10.png} | Bin ...> production_server_app_directory_v10.png} | Bin ...oduction_server_current_directory_v10.png} | Bin ...bles_page.png => variables_page_v11_6.png} | Bin .../laravel_with_gitlab_and_envoy/index.md | 24 +++++++++--------- 15 files changed, 13 insertions(+), 13 deletions(-) rename doc/ci/examples/end_to_end_testing_webdriverio/img/{deployed_dependency_update.png => deployed_dependency_update_v11_8.png} (100%) rename doc/ci/examples/laravel_with_gitlab_and_envoy/img/{container_registry_page_empty_image.png => container_registry_page_empty_image_v10.png} (100%) rename doc/ci/examples/laravel_with_gitlab_and_envoy/img/{container_registry_page_with_image.jpg => container_registry_page_with_image_v10.jpg} (100%) rename doc/ci/examples/laravel_with_gitlab_and_envoy/img/{deploy_keys_page.png => deploy_keys_page_v10.png} (100%) rename doc/ci/examples/laravel_with_gitlab_and_envoy/img/{environment_page.png => environment_page_v10.png} (100%) rename doc/ci/examples/laravel_with_gitlab_and_envoy/img/{environments_page.png => environments_page_v10.png} (100%) rename doc/ci/examples/laravel_with_gitlab_and_envoy/img/{laravel_welcome_page.png => laravel_welcome_page_v10.png} (100%) rename doc/ci/examples/laravel_with_gitlab_and_envoy/img/{pipeline_page.png => pipeline_page_v10.png} (100%) rename doc/ci/examples/laravel_with_gitlab_and_envoy/img/{pipelines_page_deploy_button.png => pipelines_page_deploy_button_v10.png} (100%) rename doc/ci/examples/laravel_with_gitlab_and_envoy/img/{pipelines_page.png => pipelines_page_v10.png} (100%) rename doc/ci/examples/laravel_with_gitlab_and_envoy/img/{production_server_app_directory.png => production_server_app_directory_v10.png} (100%) rename doc/ci/examples/laravel_with_gitlab_and_envoy/img/{production_server_current_directory.png => production_server_current_directory_v10.png} (100%) rename doc/ci/examples/laravel_with_gitlab_and_envoy/img/{variables_page.png => variables_page_v11_6.png} (100%) diff --git a/doc/ci/examples/end_to_end_testing_webdriverio/img/deployed_dependency_update.png b/doc/ci/examples/end_to_end_testing_webdriverio/img/deployed_dependency_update_v11_8.png similarity index 100% rename from doc/ci/examples/end_to_end_testing_webdriverio/img/deployed_dependency_update.png rename to doc/ci/examples/end_to_end_testing_webdriverio/img/deployed_dependency_update_v11_8.png diff --git a/doc/ci/examples/end_to_end_testing_webdriverio/index.md b/doc/ci/examples/end_to_end_testing_webdriverio/index.md index 2d7c063605969..edda6f84c2517 100644 --- a/doc/ci/examples/end_to_end_testing_webdriverio/index.md +++ b/doc/ci/examples/end_to_end_testing_webdriverio/index.md @@ -22,7 +22,7 @@ environment, reducing the effort to assess the impact of changes. Thus, when we and it will immediately be clear that the application can still be properly built and deployed. After all, you can _see_ it running! - + However, looking at the freshly deployed code to check whether it still looks and behaves as expected is repetitive manual work, which means it is a prime candidate for automation. This is diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/img/container_registry_page_empty_image.png b/doc/ci/examples/laravel_with_gitlab_and_envoy/img/container_registry_page_empty_image_v10.png similarity index 100% rename from doc/ci/examples/laravel_with_gitlab_and_envoy/img/container_registry_page_empty_image.png rename to doc/ci/examples/laravel_with_gitlab_and_envoy/img/container_registry_page_empty_image_v10.png diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/img/container_registry_page_with_image.jpg b/doc/ci/examples/laravel_with_gitlab_and_envoy/img/container_registry_page_with_image_v10.jpg similarity index 100% rename from doc/ci/examples/laravel_with_gitlab_and_envoy/img/container_registry_page_with_image.jpg rename to doc/ci/examples/laravel_with_gitlab_and_envoy/img/container_registry_page_with_image_v10.jpg diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/img/deploy_keys_page.png b/doc/ci/examples/laravel_with_gitlab_and_envoy/img/deploy_keys_page_v10.png similarity index 100% rename from doc/ci/examples/laravel_with_gitlab_and_envoy/img/deploy_keys_page.png rename to doc/ci/examples/laravel_with_gitlab_and_envoy/img/deploy_keys_page_v10.png diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/img/environment_page.png b/doc/ci/examples/laravel_with_gitlab_and_envoy/img/environment_page_v10.png similarity index 100% rename from doc/ci/examples/laravel_with_gitlab_and_envoy/img/environment_page.png rename to doc/ci/examples/laravel_with_gitlab_and_envoy/img/environment_page_v10.png diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/img/environments_page.png b/doc/ci/examples/laravel_with_gitlab_and_envoy/img/environments_page_v10.png similarity index 100% rename from doc/ci/examples/laravel_with_gitlab_and_envoy/img/environments_page.png rename to doc/ci/examples/laravel_with_gitlab_and_envoy/img/environments_page_v10.png diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/img/laravel_welcome_page.png b/doc/ci/examples/laravel_with_gitlab_and_envoy/img/laravel_welcome_page_v10.png similarity index 100% rename from doc/ci/examples/laravel_with_gitlab_and_envoy/img/laravel_welcome_page.png rename to doc/ci/examples/laravel_with_gitlab_and_envoy/img/laravel_welcome_page_v10.png diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/img/pipeline_page.png b/doc/ci/examples/laravel_with_gitlab_and_envoy/img/pipeline_page_v10.png similarity index 100% rename from doc/ci/examples/laravel_with_gitlab_and_envoy/img/pipeline_page.png rename to doc/ci/examples/laravel_with_gitlab_and_envoy/img/pipeline_page_v10.png diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/img/pipelines_page_deploy_button.png b/doc/ci/examples/laravel_with_gitlab_and_envoy/img/pipelines_page_deploy_button_v10.png similarity index 100% rename from doc/ci/examples/laravel_with_gitlab_and_envoy/img/pipelines_page_deploy_button.png rename to doc/ci/examples/laravel_with_gitlab_and_envoy/img/pipelines_page_deploy_button_v10.png diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/img/pipelines_page.png b/doc/ci/examples/laravel_with_gitlab_and_envoy/img/pipelines_page_v10.png similarity index 100% rename from doc/ci/examples/laravel_with_gitlab_and_envoy/img/pipelines_page.png rename to doc/ci/examples/laravel_with_gitlab_and_envoy/img/pipelines_page_v10.png diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/img/production_server_app_directory.png b/doc/ci/examples/laravel_with_gitlab_and_envoy/img/production_server_app_directory_v10.png similarity index 100% rename from doc/ci/examples/laravel_with_gitlab_and_envoy/img/production_server_app_directory.png rename to doc/ci/examples/laravel_with_gitlab_and_envoy/img/production_server_app_directory_v10.png diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/img/production_server_current_directory.png b/doc/ci/examples/laravel_with_gitlab_and_envoy/img/production_server_current_directory_v10.png similarity index 100% rename from doc/ci/examples/laravel_with_gitlab_and_envoy/img/production_server_current_directory.png rename to doc/ci/examples/laravel_with_gitlab_and_envoy/img/production_server_current_directory_v10.png diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/img/variables_page.png b/doc/ci/examples/laravel_with_gitlab_and_envoy/img/variables_page_v11_6.png similarity index 100% rename from doc/ci/examples/laravel_with_gitlab_and_envoy/img/variables_page.png rename to doc/ci/examples/laravel_with_gitlab_and_envoy/img/variables_page_v11_6.png diff --git a/doc/ci/examples/laravel_with_gitlab_and_envoy/index.md b/doc/ci/examples/laravel_with_gitlab_and_envoy/index.md index 3e77d16cc90f3..00f55fe2dd947 100644 --- a/doc/ci/examples/laravel_with_gitlab_and_envoy/index.md +++ b/doc/ci/examples/laravel_with_gitlab_and_envoy/index.md @@ -127,7 +127,7 @@ They can be added per project by navigating to the project's **Settings** > **CI To the field **KEY**, add the name `SSH_PRIVATE_KEY`, and to the **VALUE** field, paste the private key you've copied earlier. We'll use this variable in the `.gitlab-ci.yml` later, to easily connect to our remote server as the deployer user without entering its password. - + We also need to add the public key to **Project** > **Settings** > **Repository** as a [deploy key](../../../user/project/deploy_keys/index.md), which gives us the ability to access our repository from the server through the SSH protocol. @@ -140,7 +140,7 @@ cat ~/.ssh/id_rsa.pub To the field **Title**, add any name you want, and paste the public key into the **Key** field. - + Now, let's clone our repository on the server just to make sure the `deployer` user has access to the repository. @@ -442,7 +442,7 @@ Now that we have our `Dockerfile` let's build and push it to our [GitLab contain In your GitLab project repository, go to the **Registry** tab. - + You may need to enable the container registry for your project to see this tab. You'll find it under your project's **Settings > General > Visibility, project features, permissions**. @@ -464,7 +464,7 @@ docker push registry.gitlab.com/<USERNAME>/laravel-sample Congratulations! You just pushed the first Docker image to the GitLab Registry, and if you refresh the page you should be able to see it: - + You can also [use GitLab CI/CD](https://about.gitlab.com/blog/2016/05/23/gitlab-container-registry/#use-with-gitlab-ci) to build and push your Docker images, rather than doing that on your machine. @@ -624,41 +624,41 @@ You may also want to add another job for [staging environment](https://about.git We have prepared everything we need to test and deploy our app with GitLab CI/CD. To do that, commit and push `.gitlab-ci.yml` to the `main` branch. It will trigger a pipeline, which you can watch live under your project's **Pipelines**. - + Here we see our **Test** and **Deploy** stages. The **Test** stage has the `unit_test` build running. Select it to see the runner's output. - + After our code passed through the pipeline successfully, we can deploy to our production server by selecting **Run** (**{play}**) on the right side. - + After the deploy pipeline passes successfully, go to **Pipelines > Environments**. - + If something doesn't work as expected, you can roll back to the latest working version of your app. - + By selecting the external link icon specified on the right side, GitLab opens the production website. Our deployment successfully was done and we can see the application is live. - + In the case that you're interested to know how is the application directory structure on the production server after deployment, here are three directories named `current`, `releases` and `storage`. As you know, the `current` directory is a symbolic link that points to the latest release. The `.env` file consists of our Laravel environment variables. - + If you go to the `current` directory, you should see the application's content. As you see, the `.env` is pointing to the `/var/www/app/.env` file and also `storage` is pointing to the `/var/www/app/storage/` directory. - + ## Conclusion -- GitLab