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
fa6faeaf
Commit
fa6faeaf
authored
4 years ago
by
Manuel Kieweg
Browse files
Options
Downloads
Patches
Plain Diff
make ceos tag pipeline specific
parent
8b0aef9b
No related branches found
No related tags found
1 merge request
!167
add proper transport options
Pipeline
#75397
passed
4 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/ci/.build-container.yml
+1
-0
1 addition, 0 deletions
build/ci/.build-container.yml
build/ci/.terraform-ci.yml
+1
-2
1 addition, 2 deletions
build/ci/.terraform-ci.yml
with
2 additions
and
2 deletions
build/ci/.build-container.yml
+
1
−
0
View file @
fa6faeaf
...
...
@@ -22,6 +22,7 @@ variables:
-
docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
-
docker push $DOCKER_IMAGE_SHA
-
docker tag $DOCKER_IMAGE_SHA $TAG
-
docker tag $DOCKER_IMAGE_SHA registry.code.fbi.h-da.de/cocsn/gosdn:${CI_PIPELINE_ID}
-
docker push $TAG
build:develop
:
...
...
This diff is collapsed.
Click to expand it.
build/ci/.terraform-ci.yml
+
1
−
2
View file @
fa6faeaf
...
...
@@ -21,6 +21,7 @@ cache:
-
export TF_VAR_integration_access_token=${TERRAFORM_API_TOKEN}
-
export TF_VAR_integration_registry=${CI_REGISTRY}
-
export TF_VAR_ceos_tag=registry.code.fbi.h-da.de/cocsn/gosdn/ceos:${CI_PIPELINE_ID}
-
export TF_VAR_container_tag=registry.code.fbi.h-da.de/cocsn/gosdn:${CI_PIPELINE_ID}
-
export TF_VAR_tls_key=${DOCKER_TLS_KEY}
-
export TF_VAR_tls_cert=${DOCKER_TLS_CERT}
-
export TF_VAR_tls_ca_cert=${DOCKER_TLS_CA}
...
...
@@ -28,8 +29,6 @@ cache:
-
export TF_VAR_gosdn_address=172.24.$(cat secondOctet).$(cat firstOctet)
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event" && ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'develop')
variables
:
TF_VAR_container_tag
:
$DOCKER_IMAGE_SHA
-
if
:
$CI_COMMIT_BRANCH == "integration-test"
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
-
if
:
$CI_NIGHTLY
...
...
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