Loading manifests/monitoringservice.yaml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -36,7 +36,7 @@ spec: - containerPort: 9192 - containerPort: 9192 env: env: - name: LOG_LEVEL - name: LOG_LEVEL value: "DEBUG" value: "INFO" envFrom: envFrom: - secretRef: - secretRef: name: qdb-data name: qdb-data Loading my_deploy.sh +1 −1 Original line number Original line Diff line number Diff line Loading @@ -20,7 +20,7 @@ export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" # Set the list of components, separated by spaces, you want to build images for, and deploy. # Set the list of components, separated by spaces, you want to build images for, and deploy. export TFS_COMPONENTS="context device automation monitoring pathcomp service slice compute webui load_generator policy" export TFS_COMPONENTS="context device automation monitoring pathcomp service slice compute webui load_generator" # Set the tag you want to use for your images. # Set the tag you want to use for your images. export TFS_IMAGE_TAG="dev" export TFS_IMAGE_TAG="dev" Loading src/policy/.gitlab-ci.yml +18 −18 Original line number Original line Diff line number Diff line Loading @@ -79,21 +79,21 @@ unit_test policy: - manifests/${IMAGE_NAME_POLICY}service.yaml - manifests/${IMAGE_NAME_POLICY}service.yaml - .gitlab-ci.yml - .gitlab-ci.yml # Deployment of policy service in Kubernetes Cluster ## Deployment of policy service in Kubernetes Cluster deploy policy: #deploy policy: stage: deploy # stage: deploy needs: # needs: - build policy # - build policy - unit_test policy # - unit_test policy script: # script: - kubectl version # - kubectl version - kubectl get all # - kubectl get all - kubectl delete --ignore-not-found=true -f "manifests/policyservice.yaml" # - kubectl delete --ignore-not-found=true -f "manifests/policyservice.yaml" - kubectl apply -f "manifests/policyservice.yaml" # - kubectl apply -f "manifests/policyservice.yaml" - kubectl delete pods --selector app=policyservice # - kubectl delete pods --selector app=policyservice - kubectl get all # - kubectl get all rules: # 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 == "merge_request_event" && ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH)' when: manual # when: manual - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "develop"' # - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "develop"' when: manual # when: manual No newline at end of file No newline at end of file Loading
manifests/monitoringservice.yaml +1 −1 Original line number Original line Diff line number Diff line Loading @@ -36,7 +36,7 @@ spec: - containerPort: 9192 - containerPort: 9192 env: env: - name: LOG_LEVEL - name: LOG_LEVEL value: "DEBUG" value: "INFO" envFrom: envFrom: - secretRef: - secretRef: name: qdb-data name: qdb-data Loading
my_deploy.sh +1 −1 Original line number Original line Diff line number Diff line Loading @@ -20,7 +20,7 @@ export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" # Set the list of components, separated by spaces, you want to build images for, and deploy. # Set the list of components, separated by spaces, you want to build images for, and deploy. export TFS_COMPONENTS="context device automation monitoring pathcomp service slice compute webui load_generator policy" export TFS_COMPONENTS="context device automation monitoring pathcomp service slice compute webui load_generator" # Set the tag you want to use for your images. # Set the tag you want to use for your images. export TFS_IMAGE_TAG="dev" export TFS_IMAGE_TAG="dev" Loading
src/policy/.gitlab-ci.yml +18 −18 Original line number Original line Diff line number Diff line Loading @@ -79,21 +79,21 @@ unit_test policy: - manifests/${IMAGE_NAME_POLICY}service.yaml - manifests/${IMAGE_NAME_POLICY}service.yaml - .gitlab-ci.yml - .gitlab-ci.yml # Deployment of policy service in Kubernetes Cluster ## Deployment of policy service in Kubernetes Cluster deploy policy: #deploy policy: stage: deploy # stage: deploy needs: # needs: - build policy # - build policy - unit_test policy # - unit_test policy script: # script: - kubectl version # - kubectl version - kubectl get all # - kubectl get all - kubectl delete --ignore-not-found=true -f "manifests/policyservice.yaml" # - kubectl delete --ignore-not-found=true -f "manifests/policyservice.yaml" - kubectl apply -f "manifests/policyservice.yaml" # - kubectl apply -f "manifests/policyservice.yaml" - kubectl delete pods --selector app=policyservice # - kubectl delete pods --selector app=policyservice - kubectl get all # - kubectl get all rules: # 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 == "merge_request_event" && ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "develop" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH)' when: manual # when: manual - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "develop"' # - if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == "develop"' when: manual # when: manual No newline at end of file No newline at end of file