Setting up the environment and GitHub
To ensure that our pipeline can pull code from the project’s GitHub repository during execution, we must set up the necessary environment and GitHub project. This process will involve configuring a public URL, creating a GitHub repository, and setting up webhooks to trigger pipeline runs automatically. Let’s start by creating a public URL for our local development.
Creating a public URL for local development
Creating a public URL for our local development environment allows external services to interact with our application. This URL ensures that code pushed to GitHub can trigger our CI/CD pipeline. This process occurs through webhooks, which send requests to a specified endpoint.
We will use the ngrok tool to create a secure, temporary public URL that forwards requests to our local server. It supports HTTPS and includes a web interface for inspecting and debugging incoming requests.
Setting up ngrok
Create an account...