Loading ci_cd/problem1b.yml +6 −3 Original line number Diff line number Diff line Loading @@ -52,9 +52,12 @@ extra_1b: - job: exec_problem_1b artifacts: true script: - curl -s https://agile.bu.edu/ec330 - git clone https://trachten-gitlab:${HW0_INTERNAL}@agile.bu.edu/gitlab/ec330/ec330_staff/homeworks_internal/hw0_ec.git - cat README.md - git clone https://trachten-gitlab:${HW_INTERNAL}@agile.bu.edu/gitlab/ec330/ec330_staff/homeworks_internal/hw0_ec.git hw0_ec - cd hw0_ec - make extra1b - | score="$(./extra1b | tail -n 1 | tr -d '[:space:]')" curl -s https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1b&name=${GITLAB_USER_NAME}&score=${score} rules: - if: '$CI_COMMIT_REF_NAME == "problem1b"' tags: [ c++-17 ] No newline at end of file ci_cd/problem1c.yml +6 −2 Original line number Diff line number Diff line Loading @@ -56,8 +56,12 @@ extra_1c: - job: test_problem_1c artifacts: true script: - git clone https://trachten-gitlab:${HW0_INTERNAL}@agile.bu.edu/gitlab/ec330/ec330_staff/homeworks_internal/hw0_ec.git - cat README.md - git clone https://trachten-gitlab:${HW_INTERNAL}@agile.bu.edu/gitlab/ec330/ec330_staff/homeworks_internal/hw0_ec.git hw0_ec - cd hw0_ec - make extra1c - | score="$(./extra1c | tail -n 1 | tr -d '[:space:]')" curl -s https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1b&name=${GITLAB_USER_NAME}&score=${score} rules: - if: '$CI_COMMIT_REF_NAME == "problem1c"' tags: [c++-17] No newline at end of file Loading
ci_cd/problem1b.yml +6 −3 Original line number Diff line number Diff line Loading @@ -52,9 +52,12 @@ extra_1b: - job: exec_problem_1b artifacts: true script: - curl -s https://agile.bu.edu/ec330 - git clone https://trachten-gitlab:${HW0_INTERNAL}@agile.bu.edu/gitlab/ec330/ec330_staff/homeworks_internal/hw0_ec.git - cat README.md - git clone https://trachten-gitlab:${HW_INTERNAL}@agile.bu.edu/gitlab/ec330/ec330_staff/homeworks_internal/hw0_ec.git hw0_ec - cd hw0_ec - make extra1b - | score="$(./extra1b | tail -n 1 | tr -d '[:space:]')" curl -s https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1b&name=${GITLAB_USER_NAME}&score=${score} rules: - if: '$CI_COMMIT_REF_NAME == "problem1b"' tags: [ c++-17 ] No newline at end of file
ci_cd/problem1c.yml +6 −2 Original line number Diff line number Diff line Loading @@ -56,8 +56,12 @@ extra_1c: - job: test_problem_1c artifacts: true script: - git clone https://trachten-gitlab:${HW0_INTERNAL}@agile.bu.edu/gitlab/ec330/ec330_staff/homeworks_internal/hw0_ec.git - cat README.md - git clone https://trachten-gitlab:${HW_INTERNAL}@agile.bu.edu/gitlab/ec330/ec330_staff/homeworks_internal/hw0_ec.git hw0_ec - cd hw0_ec - make extra1c - | score="$(./extra1c | tail -n 1 | tr -d '[:space:]')" curl -s https://agile.bu.edu/ec330_scripts/saveScores.pl?key=${MAGIC_KEY}&file=extra1b&name=${GITLAB_USER_NAME}&score=${score} rules: - if: '$CI_COMMIT_REF_NAME == "problem1c"' tags: [c++-17] No newline at end of file