You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix travis
* WIP use deploy
* Manage master deploy only
* Add some documentation
* Add some configuration
* fix helm install
* Test on a dev branch
* Add some documentation and fix bucket creation
* Fix directory name and make deploy.sh executable
* fix gcloud config
* Add missing skip cleanup in travis deploy stage
* fix
* exit on missing environment variable
* Update
* Update
* Update
* Update
* Update
* configure gcloud sooner in order that bucket creation can work
* Update
* Test if empty env var are displayed
* Update deploy script to feet the branch naming process
* Add todo
* reset config for master deployment
* Remove useless static ip
* Update deploy script to feet the branch naming process
* Try in dev mode
* Add documentation, fix xdebug removing, update management of IPs and DNS for multi branch
* Do not deploy on pull request on master branch
* start the configuration of circle CI and check which CI is choose to deploy
* test circle CI
* move some environment variables in a script file
* test env var circleci
* test without filters
* try to disable macos
* wording
* Choose machine between machine and docker executor type
* Use command to avoid duplicate instructions
* Use command to avoid duplicate instructions
* Use command to avoid duplicate instructions
* Fix use of formatbranch command
* Fix use of formatbranch command
* Fix use of formatbranch command
* Fix use of formatbranch command
* Fix use of formatbranch command
* move some script instructions in sh files to improve reusability and test failure while lack of circleCI environment variables declaration
* Check current directory and stuff in it
* Check current directory and stuff in it
* Check current directory and stuff in it
* Check env var are load from env.sh file
* Reset machine executor type
* Fix directories not imported
* Fix directories not imported
* Fix directories not imported
* Check env var form env.sh are loaded
* Check env var form env.sh are loaded
* Check env var form env.sh are loaded
* Check env var form env.sh are loaded
* Check env var form env.sh are loaded
* Check env var form env.sh are loaded
* Make test.sh executable and add missing end of file line to it
* move some script instructions in sh files to improve reusability and improve deploy script
* move some script instructions in sh files to improve reusability and improve deploy script
* move some script instructions in sh files to improve reusability and improve deploy script
* move some script instructions in sh files to improve reusability and improve deploy script
* move some script instructions in sh files to improve reusability and improve deploy script
* Wording to be more relevant
* Wording to be more relevant
* test
* test
* test
* test
* test
* Change executor to use default circleCI running ubuntu with docker and cocker-compose ready to use
* install npm
* install npm
* install npm
* install npm
* upgrade docker compose to be able to use 3.4 version file
* Set circleCI machine image to one with Docker Engine version enable to support docker compose 3.4 version file
* Set circleCI machine image to one with Docker Engine version enable to support docker compose 3.4 version file
* wording to check when test are done
* wording to check when test are done
* wording to check when test are done
* Removing circleCI files
* Move test.sh in script stage
* move some script instructions in sh files to improve reusability and improve before_deploy script
* Add missing new line
* Add missing new line
* Check TRAVIS_PULL_REQUEST eenv var value
* Skip check on environment variables for pull request
* Wording and adding missing new end of file line
# If you want to use multi branch deployment or branch naming, set MULTI_BRANCH value to 1 and set your DEPLOYMENT_BRANCH.
17
+
# Don't forget to change the repo name to fit your needs.
18
+
# If you need explanation about Parameter expansion, just see https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html
19
+
# TODO change the name of the service account to CI_SERVICE_ACCOUNT here, in GCP and in CI repositories env var in order to improve reusability and be able to use before_install.sh script in before_install stage.
15
20
env:
16
21
global:
17
-
- APP_ENV=prod
18
-
- KUBERNETES_ENV=prod
22
+
- BRANCH=${TRAVIS_BRANCH}
23
+
- BRANCH=`echo $BRANCH | sed -E "s/\//-/g"`
24
+
- BRANCH=${BRANCH,,}
25
+
- CI_SERVICE_ACCOUNT=${TRAVIS_SERVICE_ACCOUNT}
19
26
27
+
# Check that all needed travis environment variables are set.
28
+
# When working in dev branchs we don't want to override the master builds so we need to define à DEV_ADMIN_BUCKET and a DEV_CLIENT_BUCKET.
29
+
# If you really want branch naming, you can instead create buckets on the fly using subdomains e.g gs://${BRANCH}.you-domain.com
20
30
before_install:
21
-
- |
22
-
if [ TRAVIS_BRANCH = "master" ] && [ $TRAVIS_REPO_SLUG = "api-platform/demo" ]; then
# TODO: Keep looking to https://github.com/kubernetes/kubernetes/pull/64034 as it is in an experimental state in order to use "wait" with new implementation (to replace sleep 60).
0 commit comments