Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
danet
goSDN
Commits
7051e902
Commit
7051e902
authored
4 years ago
by
Manuel Kieweg
Browse files
Options
Downloads
Patches
Plain Diff
always run k8s clean up and change wait to CI native wait
parent
611ba682
No related branches found
No related tags found
1 merge request
!136
always run k8s clean up and change wait to CI native wait
Pipeline
#68033
passed
4 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
build/ci/.deploy-k8s.yml
+2
-1
2 additions, 1 deletion
build/ci/.deploy-k8s.yml
build/ci/.terraform-ci.yml
+1
-1
1 addition, 1 deletion
build/ci/.terraform-ci.yml
build/ci/.test.yml
+4
-1
4 additions, 1 deletion
build/ci/.test.yml
with
7 additions
and
3 deletions
build/ci/.deploy-k8s.yml
+
2
−
1
View file @
7051e902
...
...
@@ -52,10 +52,11 @@ deploy:latest:
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
k8s:
destroy
:
destroy:
k8s
:
image
:
bitnami/kubectl:latest
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
when
:
always
before_script
:
-
echo "override global before script"
stage
:
.post
...
...
This diff is collapsed.
Click to expand it.
build/ci/.terraform-ci.yml
+
1
−
1
View file @
7051e902
...
...
@@ -64,7 +64,7 @@ apply:
-
plan
<<
:
*tf
tf:
destroy
:
destroy:
tf
:
stage
:
.post
script
:
-
gitlab-terraform destroy
...
...
This diff is collapsed.
Click to expand it.
build/ci/.test.yml
+
4
−
1
View file @
7051e902
...
...
@@ -9,10 +9,13 @@ integration-test:
GOSDN_TEST_API_ENDPOINT
:
http://gosdn-$CI_COMMIT_SHA.apps.ocp.fbi.h-da.de/api
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
when
:
delayed
start_in
:
2 minutes
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH
allow_failure
:
true
when
:
delayed
start_in
:
2 minutes
script
:
-
sleep 2m
-
go test -race ./test/integration -v -coverprofile=coverage.out
.test
:
&test
...
...
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