Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects

Removing some duplicated code.

Merged Diego MENDEZ requested to merge feature/duplicated_ci_code into develop
1 unresolved thread

Self explained.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
55 IMAGE_TAG: "latest"
56 script:
57 - ansible-playbook ansible/deliver.yml
58 rules:
59 - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
60
61 deliver-tagged-job:
62 stage: deliver
63 variables:
64 IMAGE_TAG: $CI_COMMIT_TAG
65 script:
66 - ansible-playbook ansible/deliver.yml
67 rules:
68 - if: $CI_COMMIT_TAG
69
70 52 deliver-testing-branch-job:
  • Change the name of the job to a more general one since you are using it to deliver everything, testing branch, latest or tagged. If possible move the logic for for the "tagged deliver" to the rules part so that we have everything in the same place

  • Diego MENDEZ changed this line in version 8 of the diff

    changed this line in version 8 of the diff

  • Please register or sign in to reply
  • Diego MENDEZ added 1 commit

    added 1 commit

    • d4d63f8c - removing some duplicated code.

    Compare with previous version

  • Frederico SEQUEIRA approved this merge request

    approved this merge request

  • Diego MENDEZ mentioned in commit 69538868

    mentioned in commit 69538868

  • merged

  • Please register or sign in to reply
    Loading