chore(ci): temporarily disable cache
This commit is contained in:
parent
4a1b402e62
commit
1b7a6cecfe
1 changed files with 77 additions and 76 deletions
153
.drone.yml
153
.drone.yml
|
@ -18,23 +18,24 @@ services:
|
||||||
VIKUNJA_LOG_LEVEL: DEBUG
|
VIKUNJA_LOG_LEVEL: DEBUG
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: restore-cache
|
# Disabled until we figure out why it is so slow
|
||||||
image: meltwater/drone-cache:dev
|
# - name: restore-cache
|
||||||
pull: true
|
# image: meltwater/drone-cache:dev
|
||||||
environment:
|
# pull: true
|
||||||
AWS_ACCESS_KEY_ID:
|
# environment:
|
||||||
from_secret: cache_aws_access_key_id
|
# AWS_ACCESS_KEY_ID:
|
||||||
AWS_SECRET_ACCESS_KEY:
|
# from_secret: cache_aws_access_key_id
|
||||||
from_secret: cache_aws_secret_access_key
|
# AWS_SECRET_ACCESS_KEY:
|
||||||
settings:
|
# from_secret: cache_aws_secret_access_key
|
||||||
restore: true
|
# settings:
|
||||||
bucket: kolaente.dev-drone-dependency-cache
|
# restore: true
|
||||||
endpoint: https://s3.fr-par.scw.cloud
|
# bucket: kolaente.dev-drone-dependency-cache
|
||||||
region: fr-par
|
# endpoint: https://s3.fr-par.scw.cloud
|
||||||
path_style: true
|
# region: fr-par
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
# path_style: true
|
||||||
mount:
|
# cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
||||||
- '.cache'
|
# mount:
|
||||||
|
# - '.cache'
|
||||||
|
|
||||||
- name: dependencies
|
- name: dependencies
|
||||||
image: node:16
|
image: node:16
|
||||||
|
@ -44,28 +45,28 @@ steps:
|
||||||
CYPRESS_CACHE_FOLDER: .cache/cypress/
|
CYPRESS_CACHE_FOLDER: .cache/cypress/
|
||||||
commands:
|
commands:
|
||||||
- yarn --frozen-lockfile --network-timeout 100000
|
- yarn --frozen-lockfile --network-timeout 100000
|
||||||
depends_on:
|
# depends_on:
|
||||||
- restore-cache
|
# - restore-cache
|
||||||
|
|
||||||
- name: rebuild-cache
|
# - name: rebuild-cache
|
||||||
image: meltwater/drone-cache:dev
|
# image: meltwater/drone-cache:dev
|
||||||
pull: true
|
# pull: true
|
||||||
environment:
|
# environment:
|
||||||
AWS_ACCESS_KEY_ID:
|
# AWS_ACCESS_KEY_ID:
|
||||||
from_secret: cache_aws_access_key_id
|
# from_secret: cache_aws_access_key_id
|
||||||
AWS_SECRET_ACCESS_KEY:
|
# AWS_SECRET_ACCESS_KEY:
|
||||||
from_secret: cache_aws_secret_access_key
|
# from_secret: cache_aws_secret_access_key
|
||||||
settings:
|
# settings:
|
||||||
rebuild: true
|
# rebuild: true
|
||||||
bucket: kolaente.dev-drone-dependency-cache
|
# bucket: kolaente.dev-drone-dependency-cache
|
||||||
endpoint: https://s3.fr-par.scw.cloud
|
# endpoint: https://s3.fr-par.scw.cloud
|
||||||
region: fr-par
|
# region: fr-par
|
||||||
path_style: true
|
# path_style: true
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
# cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
||||||
mount:
|
# mount:
|
||||||
- '.cache'
|
# - '.cache'
|
||||||
depends_on:
|
# depends_on:
|
||||||
- dependencies
|
# - dependencies
|
||||||
|
|
||||||
- name: lint
|
- name: lint
|
||||||
image: node:16
|
image: node:16
|
||||||
|
@ -166,23 +167,23 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
|
|
||||||
- name: restore-cache
|
# - name: restore-cache
|
||||||
image: meltwater/drone-cache:dev
|
# image: meltwater/drone-cache:dev
|
||||||
pull: true
|
# pull: true
|
||||||
environment:
|
# environment:
|
||||||
AWS_ACCESS_KEY_ID:
|
# AWS_ACCESS_KEY_ID:
|
||||||
from_secret: cache_aws_access_key_id
|
# from_secret: cache_aws_access_key_id
|
||||||
AWS_SECRET_ACCESS_KEY:
|
# AWS_SECRET_ACCESS_KEY:
|
||||||
from_secret: cache_aws_secret_access_key
|
# from_secret: cache_aws_secret_access_key
|
||||||
settings:
|
# settings:
|
||||||
restore: true
|
# restore: true
|
||||||
bucket: kolaente.dev-drone-dependency-cache
|
# bucket: kolaente.dev-drone-dependency-cache
|
||||||
endpoint: https://s3.fr-par.scw.cloud
|
# endpoint: https://s3.fr-par.scw.cloud
|
||||||
region: fr-par
|
# region: fr-par
|
||||||
path_style: true
|
# path_style: true
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
# cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
||||||
mount:
|
# mount:
|
||||||
- '.cache'
|
# - '.cache'
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: node:16
|
image: node:16
|
||||||
|
@ -196,8 +197,8 @@ steps:
|
||||||
- "echo '{\"VERSION\": \"'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'\"}' > src/version.json"
|
- "echo '{\"VERSION\": \"'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'\"}' > src/version.json"
|
||||||
- yarn run build
|
- yarn run build
|
||||||
- sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing
|
- sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing
|
||||||
depends_on:
|
# depends_on:
|
||||||
- restore-cache
|
# - restore-cache
|
||||||
|
|
||||||
- name: static
|
- name: static
|
||||||
image: kolaente/zip
|
image: kolaente/zip
|
||||||
|
@ -241,23 +242,23 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
|
|
||||||
- name: restore-cache
|
# - name: restore-cache
|
||||||
image: meltwater/drone-cache:dev
|
# image: meltwater/drone-cache:dev
|
||||||
pull: true
|
# pull: true
|
||||||
environment:
|
# environment:
|
||||||
AWS_ACCESS_KEY_ID:
|
# AWS_ACCESS_KEY_ID:
|
||||||
from_secret: cache_aws_access_key_id
|
# from_secret: cache_aws_access_key_id
|
||||||
AWS_SECRET_ACCESS_KEY:
|
# AWS_SECRET_ACCESS_KEY:
|
||||||
from_secret: cache_aws_secret_access_key
|
# from_secret: cache_aws_secret_access_key
|
||||||
settings:
|
# settings:
|
||||||
restore: true
|
# restore: true
|
||||||
bucket: kolaente.dev-drone-dependency-cache
|
# bucket: kolaente.dev-drone-dependency-cache
|
||||||
endpoint: https://s3.fr-par.scw.cloud
|
# endpoint: https://s3.fr-par.scw.cloud
|
||||||
region: fr-par
|
# region: fr-par
|
||||||
path_style: true
|
# path_style: true
|
||||||
cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
# cache_key: '{{ .Repo.Name }}_{{ checksum "yarn.lock" }}_{{ arch }}_{{ os }}'
|
||||||
mount:
|
# mount:
|
||||||
- '.cache'
|
# - '.cache'
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: node:16
|
image: node:16
|
||||||
|
@ -271,8 +272,8 @@ steps:
|
||||||
- "echo '{\"VERSION\": \"'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'\"}' > src/version.json"
|
- "echo '{\"VERSION\": \"'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'\"}' > src/version.json"
|
||||||
- yarn run build
|
- yarn run build
|
||||||
- sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing
|
- sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing
|
||||||
depends_on:
|
# depends_on:
|
||||||
- restore-cache
|
# - restore-cache
|
||||||
|
|
||||||
- name: static
|
- name: static
|
||||||
image: kolaente/zip
|
image: kolaente/zip
|
||||||
|
|
Loading…
Reference in a new issue