Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ci cd content #61

Draft
wants to merge 88 commits into
base: master
Choose a base branch
from
Draft

Conversation

solvingj
Copy link
Contributor

@solvingj solvingj commented Dec 17, 2020

Status:

  • implemented separate docker-compose.yml and .env file for cicd which compose together
    • essentials/advanced training doesn't have to change anything
  • package pipeline : success
  • product pipeline : success
  • product pipeline (diamond with liba) : failure due to git conflict and then file-exists conflicts, needs fixing.
  • promotion pipeline : won't start, no event in logs, asking jenkins/gitbucket for help
    • worst-case scenario workaround is that the scheduled (or manually triggered) scan of develop will detect the changes and build
    • we can implement that the promotion pipeline will run under that condition

To execute, do the following

    $ docker-compose --env-file .cicd.env -f docker-compose-cicd.yml  \
          -f docker-compose.yml up -d
    $ docker exec -it conan-training-cicd bash 

The nice part is that the containers and network all come up with -cicd suffix, making them completely independent containers from the ones used in essentials. We won't overwrite your data or break anyting.

At the same time, we get the benefit that the common layers will be shared, so storage is great (thanks docker).

solvingj and others added 30 commits January 2, 2021 13:32
…create_package_id_map. more appropriate place, and enables it to capture the package_id_map in the commit
…_build_order to handle multiple product lockfiles properly
…nt custom condition for packagepipeline enabling rebuilds in PR after successive commits, fixed promotion bug which missed app package
…s for pipeline executions, solve develop branch build, fix handling of lockfile commit conflicts
… py scripts, install and promote 1-lockfile-per-container rather than per-package id for promote pipeline
Change cicd to ci in bootstrap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants