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

api_transformer: use go env to detect mod cache dir #269

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

dgn
Copy link
Collaborator

@dgn dgn commented Aug 13, 2024

This is more realiable than relying on the environment variables, because the GOMODCACHE directory can be constructed in numerous ways, eg it can be set explicitly or derived from GOPATH like we did before.

@dgn dgn requested a review from a team as a code owner August 13, 2024 11:50
@dgn dgn force-pushed the support-gomodcache-env-var branch from 9577824 to 69e180c Compare August 13, 2024 11:52
This is more realiable than relying on the environment variables,
because the GOMODCACHE directory can be constructed in numerous ways,
eg it can be set explicitly or derived from GOPATH like we did before.

Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
@dgn dgn force-pushed the support-gomodcache-env-var branch from 69e180c to c45d5ac Compare August 13, 2024 11:53
@istio-testing istio-testing merged commit 3758a4a into istio-ecosystem:main Aug 13, 2024
11 checks passed
@dgn dgn deleted the support-gomodcache-env-var branch August 13, 2024 12:42
dgn added a commit to dgn/sail-operator that referenced this pull request Aug 13, 2024
…m#269)

This is more realiable than relying on the environment variables,
because the GOMODCACHE directory can be constructed in numerous ways,
eg it can be set explicitly or derived from GOPATH like we did before.

Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
openshift-service-mesh-bot referenced this pull request in openshift-service-mesh-bot/sail-operator Aug 13, 2024
* upstream/main:
  Ensure `make gen-check` works when go mod cache is empty (openshift-service-mesh#270)
  Introduce RemoteIstio (openshift-service-mesh#202)
  api_transformer: use `go env` to detect mod cache dir (openshift-service-mesh#269)
  Add field values.experimental to API (openshift-service-mesh#264)
  Fix errors in tables for api reference documentation (openshift-service-mesh#263)
  Generate CNIGlobalConfig from GlobalConfig automatically (openshift-service-mesh#260)
  Fix errors in api reference doc (openshift-service-mesh#262)
  Rename `addTags` to `addComments` in API transformer (openshift-service-mesh#259)
  Add relatedImages to ClusterServiceVersion (openshift-service-mesh#243)
  Generate API from versions defined in go.mod (openshift-service-mesh#258)
  Fix issues identified during API review (openshift-service-mesh#254)

# Conflicts:
#	bundle/manifests/sailoperator.clusterserviceversion.yaml
istio-testing pushed a commit that referenced this pull request Aug 13, 2024
This is more realiable than relying on the environment variables,
because the GOMODCACHE directory can be constructed in numerous ways,
eg it can be set explicitly or derived from GOPATH like we did before.

Signed-off-by: Daniel Grimm <dgrimm@redhat.com>
openshift-service-mesh-bot referenced this pull request in openshift-service-mesh-bot/sail-operator Aug 13, 2024
* upstream/main:
  Add `RemoteIstio` to API concepts in docs (openshift-service-mesh#272)
  Ensure `make gen-check` works when go mod cache is empty (openshift-service-mesh#270)
  Introduce RemoteIstio (openshift-service-mesh#202)
  api_transformer: use `go env` to detect mod cache dir (openshift-service-mesh#269)
  Add field values.experimental to API (openshift-service-mesh#264)
  Fix errors in tables for api reference documentation (openshift-service-mesh#263)
  Generate CNIGlobalConfig from GlobalConfig automatically (openshift-service-mesh#260)
  Fix errors in api reference doc (openshift-service-mesh#262)
  Rename `addTags` to `addComments` in API transformer (openshift-service-mesh#259)
  Add relatedImages to ClusterServiceVersion (openshift-service-mesh#243)
  Generate API from versions defined in go.mod (openshift-service-mesh#258)
  Fix issues identified during API review (openshift-service-mesh#254)

# Conflicts:
#	bundle/manifests/sailoperator.clusterserviceversion.yaml
FilipB pushed a commit to FilipB/sail-operator that referenced this pull request Mar 6, 2025
…t/none-main-merge_upstream_main-38a843ce

Automator: merge upstream changes to openshift-service-mesh/sail-operator@main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants