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

release 3.14.0 #1407

Merged
merged 3 commits into from
Jul 25, 2023
Merged

release 3.14.0 #1407

merged 3 commits into from
Jul 25, 2023

Conversation

eguzki
Copy link
Member

@eguzki eguzki commented Jul 25, 2023

how to generate policy file

Run apicast

$ cat <<EOF >config.json
{
   "services": [
      {
         "proxy": {
             "hosts": ["one"],
             "proxy_rules": [],
             "api_backend": "https://echo-api.3scale.net",
             "policy_chain": []
         }
      }
   ]
}
EOF

$ docker run -ti --name apicast --rm -v $PWD/config.json:/opt/app/config.json:ro --env THREESCALE_CONFIG_FILE=/opt/app/config.json --env APICAST_LOG_LEVEL=debug --env APICAST_CONFIGURATION_LOADER=lazy --env APICAST_CONFIGURATION_CACHE=0 --env THREESCALE_DEPLOYMENT_ENV=staging --env BACKEND_ENDPOINT_OVERRIDE=http://127.0.0.1:3000 --env APICAST_WORKERS=1 quay.io/3scale/apicast:latest

Fetch policies

$ APICAST_IP=$(docker inspect apicast | yq e -P '.[0].NetworkSettings.Networks.bridge.IPAddress' -)
$ curl -v -H "Host: one" http://${APICAST_IP}:8090/policies -o policies.latest.json
# pretty print and fix string encoding issues
$ cat policies.latest.json | jq '.' > policies.latest.p.json

@eguzki eguzki marked this pull request as ready for review July 25, 2023 09:52
@eguzki eguzki requested review from a team as code owners July 25, 2023 09:52
Copy link
Contributor

@dfennessy dfennessy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@eguzki
Copy link
Member Author

eguzki commented Jul 25, 2023

Only failing link for

 [✖] https://github.com/3scale/apicast/compare/v3.14.0...HEAD → Status: 404
  [✖] https://github.com/3scale/apicast/compare/v3.13.2..v3.14.0 → Status: 404

They will be valid after merging

@eguzki eguzki merged commit 32b8f07 into master Jul 25, 2023
3 of 6 checks passed
@eguzki eguzki deleted the release-3.14 branch July 25, 2023 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants