Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ljtill/bicep-drupal
Drupal platform built with Bicep including GitHub Actions
https://github.com/ljtill/bicep-drupal
azure azure-bicep bitnami drupal github-actions
Last synced: about 2 months ago
JSON representation
Drupal platform built with Bicep including GitHub Actions
- Host: GitHub
- URL: https://github.com/ljtill/bicep-drupal
- Owner: ljtill
- License: mit
- Created: 2022-11-16T13:34:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-06T11:44:41.000Z (11 months ago)
- Last Synced: 2024-10-29T18:22:23.621Z (3 months ago)
- Topics: azure, azure-bicep, bitnami, drupal, github-actions
- Language: Bicep
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Drupal
Drupal is content management software. It's used to make many of the websites and applications you use every day. Drupal has great standard features, like easy content authoring, reliable performance, and excellent security. But what sets it apart is its flexibility; modularity is one of its core principles. Its tools help you build the versatile, structured content that dynamic web experiences need.
This repository contains the infra-as-code components to quickly scaffold a new Drupal environment.
_Please note these artifacts are under development and subject to change._
---
### Getting Started
Before deploying the Drupal resources, the parameters file `src/parameters/main.json` needs to be updated.
#### Using locally with Azure CLI
```bash
az deployment sub create \
--name 'Microsoft.Bicep' \
--location 'uksouth' \
--template-file './src/main.bicep' \
--parameters \
'@./src/parameters/main.json' \
--parameters \
username=replace \
password=replace
```#### Using with GitHub Actions
Azure Active Directory - Application
- Navigate to the 'App Registration' blade wihin the Azure portal
- Select 'New registration' and provide a Name for the application
- Select the newly created application and select 'Certificates & secrets'
- Select 'Federated Credentials' and 'Add credential'
- Provide the 'Organization (username)' and Repository for the credential
- Select 'Entity type' - Branch and provide 'main'
- Repeat process for 'Entity type' - Pull RequestAzure Resource Manager - Role Assignment
- Navigate to the Subscription in the Azure portal
- Select 'Access control (IAM)' and 'Add' - 'Add role assignment'
- Select Role - Contributor and select 'Members'
- Provide the 'Name' of the application from the previous stepsGitHub Actions - Secrets
- Navigate to 'Settings' on the repository
- Select 'Secrets' and 'Actions' link
- Select 'New repository secret' and create secrets for the following:
- AZURE_TENANT_ID
- AZURE_SUBSCRIPTION_ID
- AZURE_CLIENT_ID---
### Links
- [Drupal](https://www.drupal.org/)
- [Bicep](https://github.com/Azure/bicep)
- [Templates](https://learn.microsoft.com/azure/templates/)