SIGN IN SIGN UP
TykTechnologies / tyk UNCLAIMED

Tyk Open Source API Gateway written in Go, supporting REST, GraphQL, TCP and gRPC protocols

0 0 1 Go
[TT-11549] Auto generated from templates by gromit (#6138) ## **User description** <!-- Provide a general summary of your changes in the Title above --> ## Description Remove python from Tyk docker images ## Related Issue <!-- This project only accepts pull requests related to open issues. --> <!-- If suggesting a new feature or change, please discuss it in an issue first. --> <!-- If fixing a bug, there should be an issue describing it with steps to reproduce. --> <!-- OSS: Please link to the issue here. Tyk: please create/link the JIRA ticket. --> ## Motivation and Context <!-- Why is this change required? What problem does it solve? --> ## How This Has Been Tested <!-- Please describe in detail how you tested your changes --> <!-- Include details of your testing environment, and the tests --> <!-- you ran to see how your change affects other areas of the code, etc. --> <!-- This information is helpful for reviewers and QA. --> ## Screenshots (if appropriate) ## Types of changes <!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Refactoring or add test (improvements in base code or adds test coverage to functionality) ## Checklist <!-- Go over all the following points, and put an `x` in all the boxes that apply --> <!-- If there are no documentation updates required, mark the item as checked. --> <!-- Raise up any additional concerns not covered by the checklist. --> - [ ] I ensured that the documentation is up to date - [ ] I explained why this PR updates go.mod in detail with reasoning why it's required - [ ] I would like a code coverage CI quality gate exception and have explained why ___ ## **Type** enhancement ___ ## **Description** - Removed Python installation steps from `ci/Dockerfile.std`, reducing CVE surface and aligning with the goal to remove Python from Tyk docker images. - Updated generation timestamps across multiple scripts and configuration files, ensuring they reflect the latest generation date. - Simplified artifact naming in `.github/workflows/release.yml` and removed the override option for cleaner and more straightforward CI/CD pipeline management. ___ ## **Changes walkthrough** <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Configuration changes</strong></td><td><details><summary>8 files</summary><table> <tr> <td> <details> <summary><strong>pc.sh</strong><dd><code>Update Generation Timestamp in pc.sh</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> ci/bin/pc.sh - Updated generation timestamp. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6138/files#diff-1ab5821f23841af3afa7d4b35ebe5bbf5f16f73d24efc0bc7ee1c9f7d139c343">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>unlock-agent.sh</strong><dd><code>Update Generation Timestamp in unlock-agent.sh</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> ci/bin/unlock-agent.sh - Updated generation timestamp. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6138/files#diff-dbe46dfd0ff7046494da4cb3ccfc6e7bba7c029f7ef9f0588d8926c585fcbd61">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>before_install.sh</strong><dd><code>Update Generation Timestamp in before_install.sh</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> ci/install/before_install.sh - Updated generation timestamp. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6138/files#diff-bd20b1ec658c22d4ecad9f2f07adf22d0076938f31d6cc09bc35c5ed0dc03807">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>post_install.sh</strong><dd><code>Update Generation Timestamp in post_install.sh</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> ci/install/post_install.sh - Updated generation timestamp. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6138/files#diff-16f232a53df862d740ca45c0a608e598b38a7211da8325b9f74ceaecc00280c5">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>post_remove.sh</strong><dd><code>Update Generation Timestamp in post_remove.sh</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> ci/install/post_remove.sh - Updated generation timestamp. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6138/files#diff-416f68b7ae081148bca909eab3eea39f9a41dd1f99271208954805c50de6d522">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>post_trans.sh</strong><dd><code>Update Generation Timestamp in post_trans.sh</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> ci/install/post_trans.sh - Updated generation timestamp. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6138/files#diff-08b47bd93f3e0b3bcc919878bd798d4785a57d386fa05b46ca2a9b586e432c2e">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>release.yml</strong><dd><code>Update and Simplify Workflow Artifact Naming</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> .github/workflows/release.yml <li>Updated generation timestamp.<br> <li> Simplified artifact naming and removed override option.<br> </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6138/files#diff-87db21a973eed4fef5f32b267aa60fcee5cbdf03c67fafdc2a9b553bb0b15f34">+3/-5</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>goreleaser.yml</strong><dd><code>Update Generation Timestamp in goreleaser.yml</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> ci/goreleaser/goreleaser.yml - Updated generation timestamp. </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6138/files#diff-fb944a05459e4d713bc7541efd6e721cbe992a556353c09c4eb66a8eae9b856e">+1/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr><tr><td><strong>Enhancement</strong></td><td><details><summary>1 files</summary><table> <tr> <td> <details> <summary><strong>Dockerfile.std</strong><dd><code>Remove Python Installation from Dockerfile</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> ci/Dockerfile.std <li>Updated generation timestamp.<br> <li> Removed Python installation steps.<br> <li> Removed unnecessary file deletions.<br> </details> </td> <td><a href="https://github.com/TykTechnologies/tyk/pull/6138/files#diff-a3b3e9cabd877d0bd0fc8f20a9fdca7f44d102547a5fdfcd398ea01637e5dfae">+1/-4</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></details></td></tr></tr></tbody></table> ___ > ✨ **PR-Agent usage**: >Comment `/help` on the PR to get a list of all available PR-Agent tools and their descriptions Co-authored-by: Gromit <policy@gromit>
2024-03-13 15:57:57 +05:30
### Tyk Gateway with Python Coprocess
Starting from Tyk Gateway version `v5.3.0`, Python is no longer bundled with the official Docker images.
However, Tyk Gateway continues to support Python plugins functionality.
If you wish to use Python plugins, you can extend the official Docker image by adding Python to it.
This directory contains a sample Dockerfile that demonstrates how to achieve this.