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

Allow bundle deploy from unauth'd repo #437

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

leifmadsen
Copy link
Member

Allow bundle deployments to happen from unauthorized container
repositories.

Allow bundle deployments to happen from unauthorized container
repositories.
@leifmadsen leifmadsen requested a review from csibbitt June 7, 2023 17:29
@leifmadsen
Copy link
Member Author

Proof of implementation

ansible-playbook -e __service_telemetry_storage_ephemeral_enabled=true -e __local_build_enabled=false -e __deploy_from_bundles_enabled=true -e __service_telemetry_bundle_image_path=quay.io/infrawatch-operators/service-telemetry-operator-bundle:nightly-head -e __smart_gateway_bundle_image_path=quay.io/infrawatch-operators/smart-gateway-operator-bundle:nightly-head --skip-tags bundle_registry_tls_ca --skip-tags bundle_registry_auth build/run-ci.yaml
TASK [stf-run-ci : debug] *********************************************************************************************************************************************************************************************************************************************************************************************************************************
ok: [localhost] => {
    "validate_deployment.stdout_lines": [
        "Already on project \"service-telemetry\" on server \"https://api.stf15ocp412.lab.upshift.rdu2.redhat.com:6443\".",
        "",
        "* [info] Waiting for QDR deployment to complete",
        "",
        "Waiting for deployment \"default-interconnect\" rollout to finish: 0 of 1 updated replicas are available...",
        "deployment \"default-interconnect\" successfully rolled out",
        "",
        "* [info] Waiting for prometheus deployment to complete",
        "",
        "Waiting for 1 pods to be ready...",
        "statefulset rolling update complete 1 pods at revision prometheus-default-5d5b565566...",
        "",
        "* [info] Waiting for elasticsearch deployment to complete ",
        "",
        "",
        "* [info] Waiting for alertmanager deployment to complete",
        "",
        "statefulset rolling update complete 1 pods at revision alertmanager-default-7d985f9f99...",
        "",
        "* [info] Waiting for smart-gateway deployment to complete",
        "",
        "deployment \"default-cloud1-coll-meter-smartgateway\" successfully rolled out",
        "deployment \"default-cloud1-coll-event-smartgateway\" successfully rolled out",
        "deployment \"default-cloud1-ceil-event-smartgateway\" successfully rolled out",
        "deployment \"default-cloud1-ceil-meter-smartgateway\" successfully rolled out",
        "deployment \"default-cloud1-sens-meter-smartgateway\" successfully rolled out",
        "",
        "* [info] Waiting for all pods to show Ready/Complete",
        "",
        "default-cloud1-ceil-event-smartgateway-867b68484-6dfxj            1/2     NotReady    0             35s",
        "",
        "* [info] CI Build complete. You can now run tests."
    ]
}

PLAY RECAP ************************************************************************************************************************************************************************************************************************************************************************************************************************************************
localhost                  : ok=36   changed=15   unreachable=0    failed=0    skipped=10   rescued=0    ignored=0   

@leifmadsen
Copy link
Member Author

Merging as there is no automated test path, and I provided proof of function manually.

@leifmadsen leifmadsen merged commit 153bdb1 into master Jun 7, 2023
@leifmadsen leifmadsen deleted the feature/allow-bundle-deploys-no-auth branch June 7, 2023 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants