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

plugin-compiler: use a dynamic package path #3196

Merged
merged 1 commit into from Jul 9, 2020

Conversation

matiasinsaurralde
Copy link
Contributor

Workaround for #3195.

To test this without having to rebuild the tyk-plugin-compiler image, the build.sh can be replaced on runtime using the volume flag:

$ docker run --rm -v `pwd`/build.sh:/build.sh -v `pwd`:/plugin-source tykio/tyk-plugin-compiler:v2.9.4.2 plugin1.so

With this fix, the scenario described in the original ticket will perform as expected, allowing the usage of multiple Docker-built Go plugins.

@buger buger merged commit b638cf3 into TykTechnologies:master Jul 9, 2020
@buger
Copy link
Member

buger commented Jul 9, 2020

/release to release-2.10

@buger
Copy link
Member

buger commented Jul 9, 2020

/release to release-2.9

@tykbot
Copy link

tykbot bot commented Jul 9, 2020

Working on it! Note that it can take a few minutes.

1 similar comment
@tykbot
Copy link

tykbot bot commented Jul 9, 2020

Working on it! Note that it can take a few minutes.

tykbot bot pushed a commit that referenced this pull request Jul 9, 2020
Workaround for #3195.

To test this without having to rebuild the `tyk-plugin-compiler` image, the `build.sh` can be replaced on runtime using the volume flag:
```
$ docker run --rm -v `pwd`/build.sh:/build.sh -v `pwd`:/plugin-source tykio/tyk-plugin-compiler:v2.9.4.2 plugin1.so
``` 
With this fix, the scenario described in the original ticket will perform as expected, allowing the usage of multiple Docker-built Go plugins.

(cherry picked from commit b638cf3)
@tykbot
Copy link

tykbot bot commented Jul 9, 2020

@buger Succesfully merged b638cf3aa4f3c4c3953344de69fda962c01832bb to release-2.10 branch.

@tykbot
Copy link

tykbot bot commented Jul 9, 2020

@buger Seems like there is conflict and it require manual merge.

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.

None yet

2 participants