Skip to content
Snippets Groups Projects
Commit 66363117 authored by Shayan Hajipour's avatar Shayan Hajipour
Browse files

ofc25 gitlab-ci change

parent e7a85c07
No related branches found
No related tags found
1 merge request!321Resolve: "(CTTC) CAMARA Demo Integration tests"
This commit is part of merge request !321. Comments created here will be created in the context of that merge request.
......@@ -12,27 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Build, tag, and push the Docker images to the GitLab Docker registry
build ofc25_camara_agg_net:
variables:
TEST_NAME: 'ofc25-camara-agg-net-controller'
IP_NAME: 'ip'
IP_PORT: '9092'
stage: build
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- docker images --filter="dangling=true" --quiet | xargs -r docker rmi
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH)'
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "develop"'
- changes:
- src/common/**/*.py
- proto/*.proto
- src/tests/${TEST_NAME}/**/*.{py,in,sh,yml}
- src/tests/${TEST_NAME}/Dockerfile
- .gitlab-ci.yml
# Deploy TeraFlowSDN and Execute end-2-end test
end2end_test ofc25_camara_agg_net:
variables:
......
......@@ -12,29 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Build, tag, and push the Docker images to the GitLab Docker registry
build ofc25_camara_e2e:
variables:
TEST_NAME: 'ofc25-camara-e2e-controller'
NCE_NAME: 'nce'
AGG_NET_NAME: 'agg_net'
NCE_PORT: '9090'
AGG_NET_PORT: '9091'
stage: build
before_script:
- docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" $CI_REGISTRY
script:
- docker images --filter="dangling=true" --quiet | xargs -r docker rmi
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH)'
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "develop"'
- changes:
- src/common/**/*.py
- proto/*.proto
- src/tests/${TEST_NAME}/**/*.{py,in,sh,yml}
- src/tests/${TEST_NAME}/Dockerfile
- .gitlab-ci.yml
# Deploy TeraFlowSDN and Execute end-2-end test
end2end_test ofc25_camara_e2e:
variables:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment