Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tank
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
tank
Commits
04ceeff3
Commit
04ceeff3
authored
2 years ago
by
robwa
Browse files
Options
Downloads
Patches
Plain Diff
fix: do not allow tests to fail
parent
ce6d7aa5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-4
4 additions, 4 deletions
.gitlab-ci.yml
with
4 additions
and
4 deletions
.gitlab-ci.yml
+
4
−
4
View file @
04ceeff3
...
...
@@ -181,7 +181,7 @@ test-scheme:
-
CHECKS
:
response_schema_conformance
script
:
-
schemathesis run -c "$CHECKS" -b http://tank:"$TANK_PORT" --hypothesis-suppress-health-check too_slow api/docs/openapi/openapi.yaml
allow_failure
:
tru
e
allow_failure
:
fals
e
docker-hub-push
:
# Use the official docker image.
...
...
@@ -206,16 +206,16 @@ docker-hub-push:
fi
# TODO: maybe isolate docker build and docker push
-
docker push "$AURA_IMAGE_NAME" --all-tags
rules
:
rules
:
-
*release-rules
# every commit on master/main branch should trigger a push to docker-hub as unstable without a release
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
exists
:
-
Dockerfile
release_job
:
stage
:
release
needs
:
needs
:
-
docker-hub-push
image
:
registry.gitlab.com/gitlab-org/release-cli:latest
rules
:
*release-rules
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment