Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ines
Drupal9 skeleton
Commits
95211adc
Commit
95211adc
authored
Apr 11, 2021
by
Ines WALLON
Browse files
fix:
#3
remove gitlab-ci exemple
parent
f851234a
Pipeline
#800
passed with stage
in 2 minutes and 17 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
config/.init_files/exemple.gitlab-ci.yml
deleted
100644 → 0
View file @
f851234a
stages
:
-
test
-
deploy
test_qa
:
stage
:
test
script
:
-
docker pull hussainweb/drupalqa
-
docker run --init --rm -v $(pwd):/project -w /project hussainweb/drupalqa pareview /project/web/modules/custom
job_integ_delivery
:
stage
:
deploy
script
:
-
cd $DRUPAL_DIR
-
cp -ra ${CI_PROJECT_DIR}/* .
-
docker run --init --rm -v $(pwd):/project -w /project hussainweb/drupalqa drupal-check /project/web/modules/custom
-
make update
variables
:
DRUPAL_DIR
:
"
/data/$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME"
only
:
refs
:
-
integ
job_prod_delivery
:
stage
:
deploy
script
:
-
cd $DRUPAL_DIR
-
cp -ra ${CI_PROJECT_DIR}/* .
-
make update
variables
:
DRUPAL_DIR
:
"
/data/$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME"
only
:
refs
:
-
master
when
:
manual
scripts/init.sh
View file @
95211adc
#!/bin/bash
rsync
-avzq
--ignore-existing
${
INIT_FILES
}
/exemple.docker-compose.yml docker-compose.yml
rsync
-avzq
--ignore-existing
${
INIT_FILES
}
/exemple.gitlab-ci.yml .gitlab-ci.yml
rsync
-avzq
--ignore-existing
${
INIT_FILES
}
/exemple.env .env
rsync
-avzq
--ignore-existing
config/drupal/example.settings.local.php config/drupal/settings.local.php
mkdir
-p
web/sites/default/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment