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 how to run integration tests command #17

Merged
merged 3 commits into from
Jun 7, 2023

Conversation

gciavarrini
Copy link
Collaborator

To reflect changes in PR parodos-dev/parodos#376

Depends on parodos-dev/parodos#376

Copy link
Contributor

@pkliczewski pkliczewski left a comment

Choose a reason for hiding this comment

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

/lgtm


```bash
export SERVER_IP=$(kubectl get nodes kind-control-plane -o json | jq -r '[.status.addresses[] | select(.type=="InternalIP")] | .[0].address')
```

Finally, use the value of `$SERVER_IP` to configure services hosts in your
`/etc/hosts` file:
Copy link
Collaborator

Choose a reason for hiding this comment

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

@gciavarrini I think this is the missing piece that prevented me from working with kind without port forwarding.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I didn't have, prior to parodos-dev/parodos#376 , any entry in my /etc/hosts 🤷

To reflect changes in PR parodos-dev/parodos#376

Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com>
Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com>
Signed-off-by: Gloria Ciavarrini <gciavarrini@redhat.com>
@gciavarrini gciavarrini force-pushed the integration-test-fix-env-var branch from 83227bd to 91c3009 Compare June 7, 2023 07:41
@openshift-ci openshift-ci bot removed the lgtm label Jun 7, 2023
@openshift-ci
Copy link

openshift-ci bot commented Jun 7, 2023

New changes are detected. LGTM label has been removed.

@masayag masayag merged commit 286f7bd into parodos-dev:main Jun 7, 2023
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.

3 participants