![]() Then in step 6, $BLT validate simply means running script. In this example, we defined a variable named BLT which equals to. Define custom variables: These variables will later be used during the run of CI tasks. Or if none suits your purpose, you can create and push a custom Docker image for your team.Ģ. a specific PHP version, you can always find another prebuilt Docker image from DockerHub. If your CI/CD pipeline has specific requirements, e.g. Use Docker image composer: This defines the Docker image that the executor will run to perform CI tasks. $BLT artifact:deploy -commit-msg "$CI_COMMIT_TITLE" -branch "master" -ignore-dirty -ignore-platform-reqs -no-interaction -verbose Explanations:ġ. ![]() ![]() # Install required dependencies using composer echo "$DEPLOY_PRIVATE_KEY" > ~/.ssh/id_rsa & chmod 0600 ~/.ssh/id_rsa echo -e "Host *\n\tStrictHostKe圜hecking no\n\n" > ~/.ssh/config # Setup SSH key to push artifact to deploy to server additional setup, prior to running the main tasks cache, reused packages fetched from previous job Gitlab CI, by its name, is a service from Gitlab that integrates CI/CD pipelines to help build, test and deploy applications. Open the file blt/blt.yml and update git.remotes with the Git URL git: On your computer, create the project by running composer create-project -no-interaction acquia/blt-project drupal-books-api Create the project on PantheonĬreate the Drupal project on Pantheon, then switch into Git and collect the Git URL. In this tutorial, we'll set up a Drupal website with the name drupal-books-api.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |