Loading ci_cd/lab0.yml +3 −5 Original line number Diff line number Diff line Loading @@ -78,11 +78,9 @@ test_lab_0: internal_tests_lab_0: stage: tests script: - echo "$DUMMY" - echo "$DUMMY2" - git clone https://trachten-gitlab:$INTERNAL_LAB_TESTS@agile.bu.edu/gitlab/ec327/ec327-staff/lab-tests/lab-0-tests.git - cp -f lab0.cpp lab-0-tests/internal_tests/ - cd lab-0-tests/internal_tests - git clone https://trachten-gitlab:$INTERNAL_LAB_TESTS@agile.bu.edu/gitlab/ec327/ec327-staff/lab-tests.git - cp -f lab0.cpp lab-tests/internal_tests/ - cd lab-tests/internal_tests - make lab0 rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"' Loading ci_cd/lab1.yml +5 −8 Original line number Diff line number Diff line Loading @@ -78,15 +78,12 @@ test_lab_1: internal_tests_lab_1: stage: tests script: - | curl -X POST \ --data "token=$TRIGGER_TOKEN" \ --data "ref=master" \ --data "variables[STUDENT]=$GITLAB_USER_LOGIN" \ --data-urlencode "description=$GITLAB_USER_LOGIN - Lab 1 internal tests" \ https://agile.bu.edu/gitlab/api/v4/projects/1519/trigger/pipeline - git clone https://trachten-gitlab:$INTERNAL_LAB_TESTS@agile.bu.edu/gitlab/ec327/ec327-staff/lab-tests.git - cp -f lab1.cpp lab-tests/internal_tests/ - cd lab-tests/internal_tests - make lab1 rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"' changes: - "lab1.cpp" tags: [curl] tags: [ c++-17 ] Loading
ci_cd/lab0.yml +3 −5 Original line number Diff line number Diff line Loading @@ -78,11 +78,9 @@ test_lab_0: internal_tests_lab_0: stage: tests script: - echo "$DUMMY" - echo "$DUMMY2" - git clone https://trachten-gitlab:$INTERNAL_LAB_TESTS@agile.bu.edu/gitlab/ec327/ec327-staff/lab-tests/lab-0-tests.git - cp -f lab0.cpp lab-0-tests/internal_tests/ - cd lab-0-tests/internal_tests - git clone https://trachten-gitlab:$INTERNAL_LAB_TESTS@agile.bu.edu/gitlab/ec327/ec327-staff/lab-tests.git - cp -f lab0.cpp lab-tests/internal_tests/ - cd lab-tests/internal_tests - make lab0 rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"' Loading
ci_cd/lab1.yml +5 −8 Original line number Diff line number Diff line Loading @@ -78,15 +78,12 @@ test_lab_1: internal_tests_lab_1: stage: tests script: - | curl -X POST \ --data "token=$TRIGGER_TOKEN" \ --data "ref=master" \ --data "variables[STUDENT]=$GITLAB_USER_LOGIN" \ --data-urlencode "description=$GITLAB_USER_LOGIN - Lab 1 internal tests" \ https://agile.bu.edu/gitlab/api/v4/projects/1519/trigger/pipeline - git clone https://trachten-gitlab:$INTERNAL_LAB_TESTS@agile.bu.edu/gitlab/ec327/ec327-staff/lab-tests.git - cp -f lab1.cpp lab-tests/internal_tests/ - cd lab-tests/internal_tests - make lab1 rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"' changes: - "lab1.cpp" tags: [curl] tags: [ c++-17 ]