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

Test deployment locally with tmt (from packit branch) #581

Merged
merged 12 commits into from
Sep 16, 2024

Commits on Sep 10, 2024

  1. Test deployment locally with tmt

    Using a Vagrant libvirt based virtual machine
    and OpenShift Local.
    majamassarini committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    660f7cb View commit details
    Browse the repository at this point in the history
  2. Run packit-service deployment test inside tmt

    This commit breaks vagrant test!
    To be able to run OpenShift Local inside a local provisione tmt virtual machine you need to change tmt sources:
    change DEFAULT_CPU_COUNT in tmt/steps/provision/testcloud.py to 6
    2 cpus are not enough for Openshift Local and is is not custumizable (will open an issue in tmt but our goal is to provision the machine in the cloud so this is not strictly necessary, for local usage is probably better to make vagrant work again)
    majamassarini committed Sep 10, 2024
    Configuration menu
    Copy the full SHA
    37346b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83f273e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1a9e5bb View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Manually repeat changes in deploy role and update deploy test after r…

    …ebase
    
    Before using the deploy role in the deploy playbook.
    Wait for the deploy tests to be reviewed, up and running.
    Every change in the deploy playbook has to be repeated manually
    back in the deploy role, in the meantime.
    
    Co-authored-by: Laura Barcziová <[email protected]>
    majamassarini and lbarcziova committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    006a156 View commit details
    Browse the repository at this point in the history
  2. Create Makefile for Vagrant related targets

    Co-authored-by: Matej Focko <[email protected]>
    majamassarini and mfocko committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    6968837 View commit details
    Browse the repository at this point in the history
  3. Always install python3-cryptography

    Instead of python-cryptography.
    CentOS 8 Stream was not able to resolve python-cryptography.
    We don't need to support old CentOS versions anymore,
    so we can use the python3 package.
    majamassarini committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    8673ec1 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Improve docs related with testing changes

    Co-authored-by: Laura Barcziová <[email protected]>
    Co-authored-by: Matej Focko <[email protected]>
    3 people committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    b7b7804 View commit details
    Browse the repository at this point in the history
  2. Deploy github-app-private-key for worker and service

    Tokman is no longer used.
    The github-app-private-key is now used directly by the service and the workers.
    majamassarini committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    e906d88 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4dcdc99 View commit details
    Browse the repository at this point in the history
  4. Disable by default plans designed to be used manually

    Co-authored-by: Matej Focko <[email protected]>
    majamassarini and mfocko committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    49425a1 View commit details
    Browse the repository at this point in the history
  5. Do not call deploy test from zuul

    Now we are using testing farm for it.
    majamassarini committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    9702af0 View commit details
    Browse the repository at this point in the history