-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #164 from SU-SWS/release-2.0.5
Release 2.0.5
- Loading branch information
Showing
63 changed files
with
2,235 additions
and
772 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,18 +27,19 @@ jobs: | |
docroot/core | ||
docroot/libraries | ||
docroot/modules/contrib | ||
key: 2.x-${{ hashFiles('composer.json') }}-${{ hashFiles('composer.lock') }} | ||
key: 2.x-20230621-${{ hashFiles('composer.json') }}-${{ hashFiles('composer.lock') }} | ||
restore-keys: | | ||
2.x-${{ hashFiles('composer.json') }}-${{ hashFiles('composer.lock') }} | ||
2.x-${{ hashFiles('composer.json') }}- | ||
2.x- | ||
2.x-20230621-${{ hashFiles('composer.json') }}-${{ hashFiles('composer.lock') }} | ||
2.x-20230621-${{ hashFiles('composer.json') }}- | ||
2.x-20230621- | ||
- name: Install SSH key | ||
uses: shimataro/ssh-key-action@v2 | ||
with: | ||
key: ${{ secrets.ACQUIA_SSH_KEY }} | ||
name: id_rsa | ||
known_hosts: ${{ secrets.KNOWN_HOSTS }} | ||
if_key_exists: fail | ||
- run: git config --system --add safe.directory '*' | ||
- name: Deploy Artifact | ||
run: | | ||
git config --global user.email "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
github: | ||
prebuilds: | ||
master: true | ||
branches: false | ||
pullRequests: true | ||
pullRequestsFromForks: false | ||
addCheck: false | ||
addComment: false | ||
addBadge: false | ||
ports: | ||
- name: database | ||
description: Mysql database | ||
port: 3306 | ||
onOpen: ignore | ||
visibility: private | ||
- port: 33060 | ||
onOpen: ignore | ||
visibility: private | ||
- name: drupal | ||
description: Drupal | ||
port: 8001 | ||
onOpen: ignore | ||
visibility: public | ||
- port: 8002-9999 | ||
onOpen: ignore | ||
image: pookmish/drupal8ci:gitpod | ||
tasks: | ||
- name: Drupal Prep | ||
init: > | ||
export PREVIEW_FULL_URL=`gp url 8001` && | ||
export PREVIEW_URL=${PREVIEW_FULL_URL#"https://"} && | ||
cp .gitpod/blt.yml blt/local.blt.yml && | ||
composer install --no-interaction && | ||
blt blt:telemetry:disable --no-interaction && | ||
blt settings && | ||
blt drupal:install -n && | ||
blt sbsc | ||
command: | | ||
cd $GITPOD_REPO_ROOT && | ||
echo 'Restarting Apache' && | ||
apache2ctl restart && | ||
gp ports await 8001 && | ||
find docroot -name 'local.drush.yml' | xargs rm && | ||
export PREVIEW_FULL_URL=`gp url 8001` && | ||
export PREVIEW_URL=${PREVIEW_FULL_URL#"https://"} && | ||
blt blt:telemetry:disable --no-interaction && | ||
echo 'Establishing Settings' && | ||
blt settings && | ||
echo 'Logging Into Drupal' && | ||
drush st && | ||
echo "drush uli --uri=$PREVIEW_FULL_URL" && | ||
drush uli --uri=$PREVIEW_FULL_URL && | ||
echo "drush uli --uri=$PREVIEW_FULL_URL | xargs gp preview --external" && | ||
drush uli --uri=$PREVIEW_FULL_URL | xargs gp preview --external && | ||
git config core.fileMode false | ||
- name: SSH Keys | ||
command: | | ||
rm -rf ~/.ssh/id_rsa && | ||
rm -rf ~/.ssh/id_rsa.pub && | ||
eval $(command gp env -e) && | ||
mkdir -p ~/.ssh && | ||
[[ ! -z $SSH_PUBLIC_KEY ]] && | ||
echo $SSH_PUBLIC_KEY | base64 -d > ~/.ssh/id_rsa.pub && | ||
chmod 644 ~/.ssh/id_rsa.pub && | ||
[[ ! -z $SSH_PRIVATE_KEY ]] && | ||
echo $SSH_PRIVATE_KEY | base64 -d > ~/.ssh/id_rsa && | ||
chmod 600 ~/.ssh/id_rsa && | ||
cd $GITPOD_REPO_ROOT && | ||
git remote set-url origin [email protected]:SU-SWS/ace-sdssgryphon.git && | ||
[[ ! -z $GITCONFIG ]] && | ||
echo $GITCONFIG | base64 -d > ~/.gitconfig && | ||
chmod 644 ~/.gitconfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Override any settings as necessary by copying to local.blt.yml | ||
#project: | ||
# local: | ||
# protocol: http | ||
# hostname: mysite.dev | ||
|
||
# You can set custom project aliases in drush/sites/*.site.yml. | ||
# All local:* targets are run against drush.aliases.local. | ||
#drush: | ||
# aliases: | ||
# local: local.mysite.dev | ||
|
||
drupal: | ||
account: | ||
mail: [email protected] | ||
db: | ||
port: 3306 | ||
host: localhost | ||
username: root | ||
password: '' | ||
database: 'drupal' | ||
project: | ||
local: | ||
protocol: https | ||
hostname: '${env.PREVIEW_URL}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.