sclorg / httpd-container

Apache HTTP container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
http://softwarecollections.org
Apache License 2.0
47 stars 123 forks source link

[DO-NOT-MERGE] This is a testing pull request for httpd-ex repository #196

Closed phracek closed 10 months ago

phracek commented 10 months ago

This is a testing pull request for httpd-ex repository with Deployment instead of DeploymentConfig object

See Referenced pull request https://github.com/sclorg/httpd-ex/pull/43

phracek commented 10 months ago

As soon as pr https://github.com/sclorg/httpd-ex/pull/43 is merged, then close this pull request and do not merge it.

phracek commented 10 months ago

[test-openshift]

phracek commented 10 months ago

[test-openshift]

phracek commented 10 months ago

Tests are passing:

 [PASSED] for 'openshift-remote-cluster' test_httpd_imagestream (00:01:04)
 [PASSED] for 'openshift-remote-cluster' test_httpd_example_repo (00:01:27)
 [PASSED] for 'openshift-remote-cluster' test_latest_imagestreams (00:00:00)

See detail log:

Writing manifest to image destination
warning: Cannot check if git requires authentication.
--> Found image e002e10 (2 minutes old) in image stream "sclorg-test-25313/httpd-24" under tag "2.4" for "httpd-24:2.4"

    Apache httpd 2.4 
    ---------------- 
    Apache httpd 2.4 available as container, is a powerful, efficient, and extensible web server. Apache supports a variety of features, many implemented as compiled modules which extend the core functionality. These can range from server-side programming language support to authentication schemes. Virtual hosting allows one Apache installation to serve many different Web sites.

    Tags: builder, httpd, httpd-24

    * A source build using source code from https://github.com/phracek/httpd-ex#migrate_deployment will be created
      * The resulting image will be pushed to image stream tag "httpd-24-testing:latest"
      * Use 'oc start-build' to trigger a new build

--> Creating resources ...
    imagestream.image.openshift.io "httpd-24-testing" created
    buildconfig.build.openshift.io "httpd-24-testing" created
Warning: would violate PodSecurity "restricted:v1.24": allowPrivilegeEscalation != false (container "httpd-24-testing" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (container "httpd-24-testing" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or container "httpd-24-testing" must set securityContext.runAsNonRoot=true), seccompProfile (pod or container "httpd-24-testing" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost")
    deployment.apps "httpd-24-testing" created
    service "httpd-24-testing" created
--> Success
    Build scheduled, use 'oc logs -f buildconfig/httpd-24-testing' to track its progress.
    Application is not exposed. You can expose services to the outside world by executing one or more of the commands below:
     'oc expose service/httpd-24-testing' 
    Run 'oc status' to view your app.
httpd-24-testing-1-build
phracek commented 10 months ago

As example repo is working. CLosing this issue.