mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-01 14:31:42 +00:00
Merge branch 'rails' into production.panel.sutty.nl
This commit is contained in:
commit
49831a14d0
3 changed files with 22 additions and 6 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
stages:
|
||||||
|
- "test"
|
||||||
|
- "deploy"
|
||||||
.apk-add: &apk-add
|
.apk-add: &apk-add
|
||||||
- "apk add go-task diffutils gitlab_ci_log_section"
|
- "apk add go-task diffutils gitlab_ci_log_section"
|
||||||
.disable-hainish: &disable-hainish
|
.disable-hainish: &disable-hainish
|
||||||
|
@ -24,6 +27,19 @@ variables:
|
||||||
LC_ALL: "C.UTF-8"
|
LC_ALL: "C.UTF-8"
|
||||||
HAINISH: ""
|
HAINISH: ""
|
||||||
cache:
|
cache:
|
||||||
|
push:
|
||||||
|
stage: "test"
|
||||||
|
only:
|
||||||
|
- "rails"
|
||||||
|
except:
|
||||||
|
- "schedules"
|
||||||
|
before_script:
|
||||||
|
- "git config --global user.email \"${GIT_USER_EMAIL:-$GITLAB_USER_EMAIL}\""
|
||||||
|
- "git config --global user.name \"${GIT_USER_NAME:-$GITLAB_USER_NAME}\""
|
||||||
|
- "git remote set-url --push origin \"https://GITLAB_CI_PUSH_TOKEN:${GITLAB_CI_PUSH_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git\""
|
||||||
|
script:
|
||||||
|
- "git commit --allow-empty -m \"ci: test [skip ci]\""
|
||||||
|
- "git push -o ci.skip origin HEAD:${CI_COMMIT_BRANCH}"
|
||||||
assets:
|
assets:
|
||||||
stage: "deploy"
|
stage: "deploy"
|
||||||
only:
|
only:
|
||||||
|
@ -41,7 +57,7 @@ assets:
|
||||||
- "gitlab_ci_log_section --name git --header=\"Configuring git\""
|
- "gitlab_ci_log_section --name git --header=\"Configuring git\""
|
||||||
- "git config --global user.email \"${GIT_USER_EMAIL:-$GITLAB_USER_EMAIL}\""
|
- "git config --global user.email \"${GIT_USER_EMAIL:-$GITLAB_USER_EMAIL}\""
|
||||||
- "git config --global user.name \"${GIT_USER_NAME:-$GITLAB_USER_NAME}\""
|
- "git config --global user.name \"${GIT_USER_NAME:-$GITLAB_USER_NAME}\""
|
||||||
- "git remote set-url --push origin \"https://${GITLAB_USERNAME}:${GITLAB_CI_PUSH_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git\""
|
- "git remote set-url --push origin \"https://GITLAB_CI_PUSH_TOKEN:${GITLAB_CI_PUSH_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git\""
|
||||||
- "gitlab_ci_log_section --name git --end"
|
- "gitlab_ci_log_section --name git --end"
|
||||||
- "gitlab_ci_log_section --name apk --header=\"Installing dependencies\""
|
- "gitlab_ci_log_section --name apk --header=\"Installing dependencies\""
|
||||||
- "apk add brotli"
|
- "apk add brotli"
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
"@rails/activestorage": "^6.1.3-1",
|
"@rails/activestorage": "^6.1.3-1",
|
||||||
"@rails/ujs": "^6.1.3-1",
|
"@rails/ujs": "^6.1.3-1",
|
||||||
"@rails/webpacker": "5.4.4",
|
"@rails/webpacker": "5.4.4",
|
||||||
"@suttyweb/editor": "^0.1.27",
|
"@suttyweb/editor": "^0.1.29",
|
||||||
"babel-loader": "^8.2.2",
|
"babel-loader": "^8.2.2",
|
||||||
"bs-custom-file-input": "^1.3.4",
|
"bs-custom-file-input": "^1.3.4",
|
||||||
"chart.js": "^3.5.1",
|
"chart.js": "^3.5.1",
|
||||||
|
|
|
@ -1975,10 +1975,10 @@
|
||||||
resolved "https://registry.npmjs.org/@stimulus/webpack-helpers/-/webpack-helpers-1.1.1.tgz"
|
resolved "https://registry.npmjs.org/@stimulus/webpack-helpers/-/webpack-helpers-1.1.1.tgz"
|
||||||
integrity sha512-XOkqSw53N9072FLHvpLM25PIwy+ndkSSbnTtjKuyzsv8K5yfkFB2rv68jU1pzqYa9FZLcvZWP4yazC0V38dx9A==
|
integrity sha512-XOkqSw53N9072FLHvpLM25PIwy+ndkSSbnTtjKuyzsv8K5yfkFB2rv68jU1pzqYa9FZLcvZWP4yazC0V38dx9A==
|
||||||
|
|
||||||
"@suttyweb/editor@^0.1.27":
|
"@suttyweb/editor@^0.1.29":
|
||||||
version "0.1.27"
|
version "0.1.29"
|
||||||
resolved "https://registry.yarnpkg.com/@suttyweb/editor/-/editor-0.1.27.tgz#9415a0b767e72dbe4fbf42ce87e62fb8f5125c31"
|
resolved "https://registry.yarnpkg.com/@suttyweb/editor/-/editor-0.1.29.tgz#8b5c6ae4e4d546002a96ecd65765d77d2a88d415"
|
||||||
integrity sha512-Ts9TZtGiRIaHm+ffVBRl+/nuVcANWZNtFsrGacoajgEsagaIyA1cq8qjiNpPoM5ne9vTba3cAaLP04V/uEIhBw==
|
integrity sha512-GshI8wE5UqXge2RhwAUxUXTRLPoOX7US9xVu1aLqT/deT/hDyN9S3PxVn9cJBf7uPHEqBzYXGDKWWF79PLqGHw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@floating-ui/dom" "^1.5.1"
|
"@floating-ui/dom" "^1.5.1"
|
||||||
linkifyjs "^4.1.1"
|
linkifyjs "^4.1.1"
|
||||||
|
|
Loading…
Reference in a new issue