Create the GitLab CI/CD Pipeline

Learn how to create a GitLab pipeline that integrates and deploys continuously to AWS Elastic Beanstalk.

Import files into the GitLab repo

Let’s pull our GitLab repo and then merge our previous work from Bitbucket Pipelines into our GitLab repo.

  1. In the terminal below, pull the GitLab repo. Find the HTTPS link in the SymfonyCICD GitLab repo as seen in the image below:

Press + to interact

2. Add a Git clone to the HTTPS link before running it. The command will look like this:

git clone https://gitlab.com/educative2/SymfonyCiCD.git

• Your username is your GitLab access token username, which was set to “EducativeSymfonyCICDToken.” In the terminal below, enter $Gitlab_username when prompted for the username.

• Your password is the GitLab access token.

  1. Now, bring the previous Bitbucket Pipelines work into the terminal below as well, to merge code ...