rh-openstack-ci-team
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Sharing URL Help
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee
  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Content Provider / Parent-Child work items ###### tags: `Design` [TOC] # changes https://projects.engineering.redhat.com/browse/TRIPLEOCI-210 # to-do - [x] build a poc job ( sagi ) - [x] get review from tripleo, infra-team ( wes ) - [x] socialize w/ ci team ( wes ) # Documentation ## Glossary / Terms / Naming conventions ### Templates Create a new template w/ an additional **"-pipeline"** template name ### Parent of consumer job (when creating new parent) tripleo-ci-undercloud-content-consumer-centos-8 ## Doc # Plan - [x] (sshanidm) Define a job that can expose containers registry link and YUM repo link - [x] (chandan)Define a test job (i.e. scenario001) that consumes and uses these links - [x] Create a job that builds RPM and containers and pushing containers to local registry. Make these steps optional with parameters. - [x] To configure child job (scenario001) to use correctly these artifacts if need. Other branchful jobs should be able still to build/download containers by their own. - [x] demo DF. - [x] https://pdfhost.io/v/b8IOld.o6_New_CI_flowpdf.pdf - [ ] rename standalone-provider --> - [x] tripleo-ci-centos-8-content-provider (sagi) - [ ] tripleo-ci-centos-7-content-provider (sagi) - [x] communicate plan (wes) - [ ] move all rdo third party jobs to the rdo registry. (wes w/ sagi's review) - [x] plan out branchful jobs.. ( see below ) - [x] Test multinode jobs w/ a provider job (sagi) - [x] push ceph containers to openstack zuul registry or quay or both ( manual ) (sagi / chandan) - [ ] podman pull on the provider for non-tripleo containers (need code ) ( sagi / chandan ) - [ ] Need to add redundant registries to pull from quay, rdo-registry, docker.io, in that order - [ ] migrate ussuri ( sagi / chandan ) - [ ] migrate train centos8 ( sagi / chandan ) - [ ] migrate train centos7 ( pending decision re: Alex on c7 train ) - [ ] work out provider parent for changes that have both c7 and c8 jobs. - [ ] migrate stein centos7 ( pending results from just using quay.io) - [ ] migrate the rest ( pending results from just using quay.io ) ## Planning meeting Agenda, Discussion Items: ### address the current issues * atm we have gate jobs running that are not in check. #### to-do - [x] need a patch(s) to fix check vs gate ( sagi ) - [x] Unable to freeze job graph: Job tripleo-ci-centos-8-standalone depends on tripleo-ci-centos-8-content-provider which was not run. ( sagi ) * example https://review.opendev.org/#/c/749710/ * FIX https://review.opendev.org/#/c/752082/ ### Branchful parent / child jobs Plan * Idea * Add a content provider job for each release * Put it as a dependencies on the branchful job * Structure: * centos-7-train-content provider * standalone-7-train: * dependencies: * centos-7-train-content provider * centos-7-stein-content provider * standalone-7-stein: * dependencies: * centos-7-stein-content provider #### meeting notes * content provider for each release * question: how complicated is that zuul config.. every branchful job will have a dependency * really this is just for the tripleo-ci repo. * concern about time: * rocky, stein, queens * rocky.. let's drop all but one job * remove branchful * stein.. let's drop all but one job * remove branchful * queens.. need to keep what we have. ##### TO-DOs - [ ] remove centos-7 train container-multinode, -2 from wes atm (chandan) - https://review.opendev.org/#/q/topic:remove_centos7_multinode+(status:open+OR+status:merged) * branchful train-c7, train-c8, ussuri, victoria - [ ]( sagi ) we will have branchful content-provider nodes * https://review.opendev.org/#/c/752301/ - [ ] ( Chandan ) push docker registry container to rdo-registry - [x] ( Mariios ) push docker registry container to QUAY - [ ] (chandan) Use Quay.io docker regitry container * https://review.opendev.org/#/c/752642/ * https://review.opendev.org/#/c/752643/ ### CentOS -7 based content provider jobs * Idea * run runv3 playbook to set the env and perform build test packages then call tipleo-ci container-builds role and push the contents to local registry and pause th job and consume it in same fashion - [ ] ( Chandan ) https://review.opendev.org/752419 - [ ] ( Chandan ) https://review.opendev.org/752421 #### meeting notes * c7 is following the same pattern as c8 jobs w/ a content provider, however implementation jobs is different. * We may choose not to use c7 content providers and just pull containers from key. ### Confirm Promoter Server push docker.io && Quay.io - [ ] ( marios ) promoter verification re: pushing to both docker.io and quay.io ### update and upgrade jobs [Need discussion] Before that: How updates and upgrade jobs work? Ideas: * There is no issue with update jobs as there will be package updates only? so no changes required there * for upgrade job, we might to have two content provider for example * upgrade job from train to ussuri * we need to build containers for both train and ussuri and put both jobs as deps * layout ``` - c8-content-provider-previous-current-tripleo - c8-content-provider-current-tripleo - c8-update job: dependencies: - c8-content-provider-previous-current-tripleo - c8-content-provider-current-tripleo - c8-standalone job: dependencies: - c8-content-provider-current-tripleo ``` #### meeting notes * deploys w/ previous-current-tripleo updates to current-tripleo * two content providers for update / upgrade jobs * n + 1 jobs * n content provider * build gerrit changes for n * provide yum repo for n * provide containers for n * n +1 * build gerrit change for n+1 * provide yum repo for n+1 * provide container for n+1 * in CI after deployment, prior to upgrade switch the yum repos, and update the containers-prepare-params.yml #### update / upgrade TO-DO Focus here should be soley on CentOS-8. Once we have validated this w/ C8, come back to CentOS-7 - [ ] create two content-provider jobs - [ ] one for previous-current-tripleo - [ ] one for current-tripleo ( exists ) - [ ] ensure the switch from previous-build-content-provider - [ ] yum repo change (this may exist) - [ ] switch container-prepare-params - [ ] review and validate this work - call 22 sep: - update job should be OK sshnaidm already fixed - he will verify - standalone-upgrade - pull for tripleo-u deployment and then re-use the built containers for the upgrade (master current-tripleo) from provider - then can workout the building of tripleo-u too... - TBD if there will be one provider job with different namespace in same registry for example - or just build in the standalone-upgrade job... since no-one else will consume tripleo-u (maybe the multinode upgrade job can re-use.) ### For rdo software factory jobs * ~~push containers to quay.io with different namespace and consuming it in rdo third party jobs~~ * Also pushing non-tripleo containers to rdo registry under ceph namespace * rdo registry will be THE registry for jobs running in rdo software factory. - [ ] update rdo env config, - [ ] WATCH LIST, do not change yet.. update release files move from docker.io to either quay or rdo registry - [ ] e.g. https://opendev.org/openstack/tripleo-quickstart/src/branch/master/config/release/tripleo-ci/CentOS-8/master.yml#L23 - [ ] https://review.opendev.org/#/c/752685/ - [ ] all rdo env or job config points to rdo registry #### meeting notes ### Handling jobs defined in zuul layouts outside of tripleo-ci. * https://opendev.org/openstack/tripleo-heat-templates/src/branch/master/zuul.d/layout.yaml#L14 - [ ] Ensure any job outside of tripleo is using standalone w/ build-containers flag set. - [ ] victoria, ussuri, train c8 - [ ] stein, rocky, queens - [ ] set the jobs to use quay.io - [ ] consider a non-tripleo job template that is the standard for non-standalone jobs. - [ ] consider asking other projects to drop tripleo jobs if quay.io is a problem ### Any changes to component pipeline? * these jobs should all use the rdo-registry - [ ] env override https://review.opendev.org/#/c/752685/ --- # Templates tripleo-ci templates that need to switch to the new content provider: - ~~tripleo-ci-build-containers-jobs~~ - ~~tripleo-build-containers-jobs~~ - ~~tripleo-ansible-role-jobs~~ - ~~tripleo-ci-buildimage-jobs~~ - ~~tripleo-buildimage-jobs~~ - ~~tripleo-multinode-baremetal-minimal~~ - https://review.opendev.org/756919 - [x] tripleo-multinode-container-minimal >> ready - [x] tripleo-periodic >> ready - [ ] tripleo-undercloud-jobs >> wip - [ ] https://review.opendev.org/#/c/756128 - [ ] https://review.rdoproject.org/r/#/c/29894/ - [x] tripleo-standalone-scenarios-full >> ready # tripleo-repos https://projects.engineering.redhat.com/browse/TRIPLEOCI-210 Switch to content provider jobs/templates - tripleo-common: https://review.opendev.org/#/c/756382 - python-tripleoclient: https://review.opendev.org/#/c/756516/ - puppet-tripleo: https://review.opendev.org/756554 - tripleo-ansible: https://review.opendev.org/756561 - tripleo-quickstart: https://review.opendev.org/756572 - tripleo-quickstart-extras: https://review.opendev.org/756575 # Q&A (Sprint #34) ### gerrit-topic: new-ci-job (~~NOT new-ci-jobs~~) https://review.opendev.org/#/q/branch:master+topic:new-ci-job ### Original provider patch for reference https://opendev.org/openstack/tripleo-ci/commit/f360f4168f7933bb561093a04c5c7f3c26200cd5 ### How does content provider jobs work? > https://zuul-ci.org/docs/zuul/reference/jobs.html#pausing-the-job ### Where is it implemented in our jobs? > https://github.com/openstack/tripleo-ci/blob/7acd24cec0d0ab97a7c5d17c5d2ab1dc85df3106/playbooks/tripleo-ci/run-provider.yml#L14 ### Which jobs are using content provider parent ? > standalone* and multinode* jobs parent content provider job (or any job that has dependencies on content provider) ``` dependencies: - tripleo-ci-centos-8-content-provider ``` ### Clarify what needs to be done in this task: Wire-up content provider pipeline into tripleo repos > Switch to content-provider jobs in all tripleo/ci repos > See https://projects.engineering.redhat.com/browse/TRIPLEOCI-210

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully