2020-08-31 11:41:45 +00:00
|
|
|
stages:
|
2023-01-30 11:54:16 +00:00
|
|
|
- test
|
|
|
|
- build
|
2024-01-22 11:57:56 +00:00
|
|
|
- build-manifest
|
|
|
|
|
|
|
|
variables:
|
|
|
|
DOCKER_HOST: tcp://docker:2375
|
|
|
|
VERSION: latest
|
|
|
|
VERSIONARCH: ${VERSION}-${ARCH}
|
2020-08-31 11:41:45 +00:00
|
|
|
|
2020-08-23 02:30:18 +00:00
|
|
|
# This folder is cached between builds
|
|
|
|
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
|
|
|
|
cache:
|
2023-03-25 13:16:42 +00:00
|
|
|
key: ${CI_COMMIT_REF_SLUG}
|
2020-08-23 02:30:18 +00:00
|
|
|
paths:
|
2023-04-13 00:21:52 +00:00
|
|
|
- public/css/app.css
|
|
|
|
- public/js/app.js
|
|
|
|
- public/js/manifest.js
|
|
|
|
- public/js/vendor.js
|
2023-04-13 00:05:10 +00:00
|
|
|
- public/*/vendor/
|
2023-03-25 13:16:42 +00:00
|
|
|
- node_modules/
|
2023-01-30 11:54:16 +00:00
|
|
|
- vendor/
|
2020-08-31 11:41:45 +00:00
|
|
|
|
2024-01-22 11:57:56 +00:00
|
|
|
image: docker:latest
|
|
|
|
services:
|
|
|
|
- docker:dind
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
- docker info && docker version
|
|
|
|
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin
|
|
|
|
- if [ -n "$GITHUB_TOKEN" ]; then cat $GITHUB_TOKEN |base64 -d > auth.json; fi
|
|
|
|
|
2021-03-02 12:16:19 +00:00
|
|
|
include:
|
2023-01-30 11:54:16 +00:00
|
|
|
- .gitlab-test.yml
|
|
|
|
- .gitlab-docker-x86_64.yml
|
2024-01-22 11:57:56 +00:00
|
|
|
- .gitlab-docker-armv7l.yml
|
|
|
|
- .gitlab-docker-arm64.yml
|
|
|
|
- .gitlab-docker-manifest.yml
|