mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 16:56:21 +00:00
ci: diffutils
This commit is contained in:
parent
ad017f5598
commit
6d24e7c56a
1 changed files with 9 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
||||||
.add-go-task: &add-go-task
|
.apk-add: &apk-add
|
||||||
- "apk add go-task"
|
- "apk add go-task diffutils"
|
||||||
.disable-hainish: &disable-hainish
|
.disable-hainish: &disable-hainish
|
||||||
- "echo \"HAINISH=\" >> .env.production"
|
- "echo \"HAINISH=\" >> .env.production"
|
||||||
|
|
||||||
|
@ -19,8 +19,8 @@ assets:
|
||||||
- "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_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git\""
|
- "git remote set-url --push origin \"https://${GITLAB_USERNAME}:${GITLAB_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git\""
|
||||||
- "apk add brotli diffutils"
|
- "apk add brotli"
|
||||||
- *add-go-task
|
- *apk-add
|
||||||
- *disable-hainish
|
- *disable-hainish
|
||||||
script:
|
script:
|
||||||
- "go-task assets"
|
- "go-task assets"
|
||||||
|
@ -31,14 +31,14 @@ gem-audit:
|
||||||
stage: "test"
|
stage: "test"
|
||||||
before_script:
|
before_script:
|
||||||
- "gem install bundler-audit"
|
- "gem install bundler-audit"
|
||||||
- *add-go-task
|
- *apk-add
|
||||||
- *disable-hainish
|
- *disable-hainish
|
||||||
script:
|
script:
|
||||||
- "go-task gem-audit"
|
- "go-task gem-audit"
|
||||||
node-audit:
|
node-audit:
|
||||||
stage: "test"
|
stage: "test"
|
||||||
before_script:
|
before_script:
|
||||||
- *add-go-task
|
- *apk-add
|
||||||
- *disable-hainish
|
- *disable-hainish
|
||||||
script:
|
script:
|
||||||
- "apk add go-task"
|
- "apk add go-task"
|
||||||
|
@ -48,7 +48,7 @@ brakeman:
|
||||||
rules:
|
rules:
|
||||||
- if: "$CI_PIPELINE_SOURCE == 'merge_request_event'"
|
- if: "$CI_PIPELINE_SOURCE == 'merge_request_event'"
|
||||||
before_script:
|
before_script:
|
||||||
- *add-go-task
|
- *apk-add
|
||||||
- *disable-hainish
|
- *disable-hainish
|
||||||
script:
|
script:
|
||||||
- "go-task bundle -- exec brakeman"
|
- "go-task bundle -- exec brakeman"
|
||||||
|
@ -57,7 +57,7 @@ rubocop:
|
||||||
rules:
|
rules:
|
||||||
- if: "$CI_PIPELINE_SOURCE == 'merge_request_event'"
|
- if: "$CI_PIPELINE_SOURCE == 'merge_request_event'"
|
||||||
before_script:
|
before_script:
|
||||||
- *add-go-task
|
- *apk-add
|
||||||
- *disable-hainish
|
- *disable-hainish
|
||||||
script:
|
script:
|
||||||
- "./bin/modified_files | grep .rb | xargs go-task bundle -- exec rubocop"
|
- "./bin/modified_files | grep .rb | xargs go-task bundle -- exec rubocop"
|
||||||
|
@ -66,7 +66,7 @@ haml:
|
||||||
rules:
|
rules:
|
||||||
- if: "$CI_PIPELINE_SOURCE == 'merge_request_event'"
|
- if: "$CI_PIPELINE_SOURCE == 'merge_request_event'"
|
||||||
before_script:
|
before_script:
|
||||||
- *add-go-task
|
- *apk-add
|
||||||
- *disable-hainish
|
- *disable-hainish
|
||||||
script:
|
script:
|
||||||
- "./bin/modified_files | grep .haml | xargs go-task bundle -- exec haml-lint"
|
- "./bin/modified_files | grep .haml | xargs go-task bundle -- exec haml-lint"
|
||||||
|
|
Loading…
Reference in a new issue