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)
|
- export K8S_NAMESPACE=$(kubectl get pods -o=custom-columns=NS:.metadata.namespace | tail -1)
|
||||||
- python3 tests/integration/selenium_test.py
|
- python3 tests/integration/selenium_test.py
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
- if: $CI_COMMIT_BRANCH
|
||||||
|
needs:
|
||||||
|
- job: phpunit-integration
|
||||||
|
|
||||||
selenium:branch:
|
phpunit-integration:
|
||||||
extends: selenium
|
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH && $CI_REGISTRY_USER != null
|
|
||||||
when: manual
|
|
||||||
|
|
||||||
phpunit-integration:branch:
|
|
||||||
image: ${PHP_IMAGE}
|
image: ${PHP_IMAGE}
|
||||||
extends: selenium
|
extends: selenium
|
||||||
script:
|
script:
|
||||||
- export K8S_NAMESPACE=$(kubectl get pods -o=custom-columns=NS:.metadata.namespace | tail -1)
|
- 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/"
|
- 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
|
- php82 vendor/bin/phpunit --group integration
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH && $CI_REGISTRY_USER != null
|
- if: $CI_COMMIT_BRANCH
|
||||||
|
|
||||||
ttrss-web-nginx:publish:
|
ttrss-web-nginx:publish:
|
||||||
stage: publish
|
stage: publish
|
||||||
|
|
Loading…
Reference in New Issue