reduce targets
This commit is contained in:
parent
8b72d9ab11
commit
afaef66783
|
@ -71,24 +71,19 @@ selenium:
|
|||
- export K8S_NAMESPACE=$(kubectl get pods -o=custom-columns=NS:.metadata.namespace | tail -1)
|
||||
- python3 tests/integration/selenium_test.py
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
needs:
|
||||
- job: phpunit-integration
|
||||
|
||||
selenium:branch:
|
||||
extends: selenium
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH && $CI_REGISTRY_USER != null
|
||||
when: manual
|
||||
|
||||
phpunit-integration:branch:
|
||||
phpunit-integration:
|
||||
image: ${PHP_IMAGE}
|
||||
extends: selenium
|
||||
script:
|
||||
- export K8S_NAMESPACE=$(kubectl get pods -o=custom-columns=NS:.metadata.namespace | tail -1)
|
||||
- export API_URL="http://tt-rss-${CI_COMMIT_SHORT_SHA}-app.$K8S_NAMESPACE.svc.cluster.local/tt-rss/api/"
|
||||
- env
|
||||
- php82 vendor/bin/phpunit --group integration
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH && $CI_REGISTRY_USER != null
|
||||
- if: $CI_COMMIT_BRANCH
|
||||
|
||||
ttrss-web-nginx:publish:
|
||||
stage: publish
|
||||
|
|
Loading…
Reference in New Issue