added fg logo and improved drone.yml
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
7db4cf31d9
commit
0499617ec1
30
.drone.yml
30
.drone.yml
@ -16,11 +16,11 @@ volumes:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: notify_start
|
- name: notify_start
|
||||||
image: plugins/slack
|
image: appleboy/drone-telegram
|
||||||
settings:
|
settings:
|
||||||
webhook: https://team.wizewerx.tech/hooks/5eq841fropn3prt4kzgoaoprgr
|
token: 6138074869:AAHQcUundL70GMUZH-AVala4Ej8dKNGLim4
|
||||||
channel: builds
|
to: 1558971280
|
||||||
template: >
|
message: >
|
||||||
{{uppercase repo.name}}:{{uppercase build.branch}}:{{build.number}} CI build started
|
{{uppercase repo.name}}:{{uppercase build.branch}}:{{build.number}} CI build started
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: wizewerx/wizewerx-docker-compose
|
image: wizewerx/wizewerx-docker-compose
|
||||||
@ -32,25 +32,27 @@ steps:
|
|||||||
from_secret: registryLogins
|
from_secret: registryLogins
|
||||||
commands:
|
commands:
|
||||||
- mkdir -p "/root/.docker" && echo $DOCKER_AUTH_CONFIG > "/root/.docker/config.json"
|
- mkdir -p "/root/.docker" && echo $DOCKER_AUTH_CONFIG > "/root/.docker/config.json"
|
||||||
- pwd
|
- export BUILD_TARGET=wizewerx/${DRONE_REPO_NAME}:${DRONE_COMMIT_BRANCH}
|
||||||
- export BUILD_TARGET=wizewerx/${DRONE_REPO_NAME}
|
- export PULL_IMAGE=`docker manifest inspect $BUILD_TARGET > /dev/null;echo $?`
|
||||||
- docker build -t $BUILD_TARGET .
|
- if [[ "$PULL_IMAGE" -eq 0 ]]; then docker pull $BUILD_TARGET ;fi
|
||||||
|
- echo ${DRONE_COMMIT_SHA} > ./version.txt
|
||||||
|
- docker build --cache-from $BUILD_TARGET --build-arg GEM_CACHE=$BUILD_TARGET -f ./docker/Dockerfile -t $BUILD_TARGET .
|
||||||
- docker push $BUILD_TARGET
|
- docker push $BUILD_TARGET
|
||||||
trigger:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
- production
|
||||||
|
|
||||||
- name: notify_end
|
- name: notify_end
|
||||||
image: plugins/slack
|
image: appleboy/drone-telegram
|
||||||
settings:
|
settings:
|
||||||
webhook: https://team.wizewerx.tech/hooks/5eq841fropn3prt4kzgoaoprgr
|
token: 6138074869:AAHQcUundL70GMUZH-AVala4Ej8dKNGLim4
|
||||||
channel: builds
|
to: 1558971280
|
||||||
username: mike
|
message: >
|
||||||
template: >
|
|
||||||
{{uppercase repo.name}}:{{uppercase build.branch}}:{{build.number}}{{#success build.status}} succeeded. Good job. {{else}} failed. FIX THE BUILD!!!.{{/success}}
|
{{uppercase repo.name}}:{{uppercase build.branch}}:{{build.number}}{{#success build.status}} succeeded. Good job. {{else}} failed. FIX THE BUILD!!!.{{/success}}
|
||||||
Build took {{since build.started}}
|
Build took {{since build.started}}
|
||||||
when:
|
when:
|
||||||
status: [ success, failure ]
|
status: [ success, failure ]
|
||||||
trigger:
|
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
- production
|
||||||
|
7
public/fitness_giving/logo.svg
Normal file
7
public/fitness_giving/logo.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 16 KiB |
Loading…
x
Reference in New Issue
Block a user