Skip to content

Integrate SCS compliance checker in zuul #279

Closed

Description

@fkr

As a first use-case for the SCS zuul we should integrate the SCS compliance checker.

Definition of Ready:

  • User Story is small enough to be finished within one sprint
  • User Story is clear and understood by the whole team
  • Acceptance criteria are defined
  • Acceptance criteria are clear and understood by the whole team

Definition of Done:

  • There should be a zuul job that runs the SCS compliance checker against gx-scs
  • All acceptance criteria are met
  • Changes have been reviewed
  • CI tests have run successfully
  • Documentation has been updated
  • Release Notes have been updated

Activity

  1. added
    Ops
    on Feb 16, 2023
  2. added this to the R4 (v5.0.0) milestone on Feb 16, 2023
  3. fkr commented on Feb 16, 2023

    @fkr
    MemberAuthor

    docker run -it --env OS_CLOUD=gxscs-capi -v ~/.config/openstack/root/.config/openstack:ro
    ghcr.io/sovereigncloudstack/scs-compliance-check:main

  4. itrich commented on Feb 23, 2023

    @itrich
    Contributor

    This has been achieved for GitHub.

  5. modified the milestones: R4 (v5.0.0), R5 (v6.0.0) on Apr 27, 2023
  6. added
    Sprint Bratislava
    on May 4, 2023
  7. moved this from Backlog to Doing in Sovereign Cloud Stackon May 4, 2023
  8. added
    Sprint Copenhagen
    on May 16, 2023
  9. removed
    Sprint Bratislava
    on May 16, 2023
  10. okautz commented on May 16, 2023

    @okautz

    We pushed this issue to the upcoming sprint due to the public holiday on thursday, because there is no sprint planning on that day.

  11. fkr commented on May 16, 2023

    @fkr
    MemberAuthor

    @o-otte we have a sprint planning tomorrow (we moved it from Thursday to tomorrow) ;)
    However, despite that, I think, it is fine to pull stuff into doing nevertheless! Thanks for being proactive!

  12. master-caster commented on May 16, 2023

    @master-caster

    Trying to port some checks to zuul jobs i tried to create some workflow sufficient to work with.
    Let's use the example for flavor name checks: https://github.com/SovereignCloudStack/standards/blob/main/Tests/iaas/flavor-naming/flavor-names-openstack.py

    This script can be called with various arguments to access information of the desired cloud.
    As Zuuls CI/CD nature it may run on pre-defined actions or on a time based interval.

    So how would you apply the information that zuul should go ahead and check a given cloud for compliance?
    At least Zuul will need access to that cloud by parameters often specified in a cloud.yaml.

    Right now you have to clone the repo or run a container for the compliance check to happen. (or do i miss something?)

  13. master-caster commented on May 24, 2023

    @master-caster

    For testing purposes i used to create a PR that will trigger a job that will fetch all available flavors from the given
    cloud.

    This seem to work. A small step for SCS a huge leap for me 😁

  14. master-caster commented on Jun 2, 2023

    @master-caster

    The already existing compliance checks are now run against wavestack. This is resulting in a failure or success
    if the compliance is given or not.

    I updated the zuul-config repository to fetch a badge from zuul to indicate the current status.
    And this is nearly working. Some caching issues on the github side is preventing the information
    from being the most recent one

  15. added
    Sprint Dublin
    on Jun 14, 2023
  16. moved this from Doing to Done in Sovereign Cloud Stackon Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

OpsSprint CopenhagenSprint Dublin

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions