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

Update base image to 3scale 2.15.2 (apicast-gateway 1.25.0-35) #49

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

slopezz
Copy link
Member

@slopezz slopezz commented Mar 3, 2025

Procedure

Base image creation

  • Check required image tag from https://catalog.redhat.com/software/containers/3scale-amp2/apicast-gateway-rhel8/5df398c85a13466876712703?container-tabs=overview, on that case 3scale-amp2-apicast-gateway-rhel8:1.25.0-35

  • Locally, connect to RH VPN (to be able to get image from private registry registry-proxy.engineering.redhat.com/rh-osbs/3scale-amp2-apicast-gateway-rhel8), and push the base image to quay

    • Obtain desired base image from private RH registry
    docker pull registry-proxy.engineering.redhat.com/rh-osbs/3scale-amp2-apicast-gateway-rhel8:1.25.0-35
    
    • Re-tag base image to quay.io image including 3scale 2.15.2 and apicast 1.25.0-35 versions
    docker tag registry-proxy.engineering.redhat.com/rh-osbs/3scale-amp2-apicast-gateway-rhel8:1.25.0-35 quay.io/3scale/apicast-cloud-hosted:3scale2.15.2-1.25.0-35
    
    • Push base image to quay
    docker push quay.io/3scale/apicast-cloud-hosted:3scale2.15.2-1.25.0-35
    

2 Local tests

  1. apicast image build, test and probe:
$ cd apicast && make test && make prove
...


t/blacklist.t .. ok
All tests successful.
Files=1, Tests=14, 13 wallclock secs ( 0.01 usr  0.01 sys +  2.43 cusr  0.54 csys =  2.99 CPU)
Result: PASS
  1. mapping-service image build, test and probe:
$ cd mapping-service && make busted && make test && make prove
...

5 successes / 0 failures / 0 errors / 0 pending : 0.013689 seconds

...

t/001-mapping-service.t .. ok
All tests successful.
Files=1, Tests=18, 27 wallclock secs ( 0.01 usr  0.01 sys +  0.17 cusr  0.08 csys =  0.27 CPU)
Result: PASS

And all tests are passing.

Once PR gets merged, GitHub Action will do the real release to repo quay.io/3scale/apicast-cloud-hosted

@slopezz slopezz requested review from raelga and roivaz March 3, 2025 09:13
@slopezz slopezz self-assigned this Mar 3, 2025
@slopezz slopezz merged commit a9c8977 into master Mar 3, 2025
2 checks passed
@slopezz slopezz deleted the release/3scale2.15.2-1.25.0-35 branch March 3, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants