-
Notifications
You must be signed in to change notification settings - Fork 19
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
PR submitted using forked repos are failing #86
Comments
Lets do it this way : - on a pull request, the pipeline will build and run tests using the container on the runner in auto mode and sample test data. On merge to the main branch, the pipeline will build and push the Docker image to DockerHub and build a release. |
I am trying to run the image in auto mode, and I have the following error message.
Output:
I think some configuration issue with input file. |
It's not an issue with the configuration, it's just not finding the partition file that it made for some reason. NGIAB-CloudInfra/docker/HelloNGEN.sh Line 59 in da87260
On the end here in auto mode it's expecting that file to be generated in the same directory that it's going to be run from. try: All I added was an update to the directory we use for the data stream (using Not sure if this will fix it but when I tried it here locally again it worked. |
Getting the same error message after changing /ngen/data to /ngen/ngen/data. |
Running the same image in Command:
Output:
|
I would not recommend build locally. |
There are some security concerns proceeding to fixing this issue. Please look at the below articles. And, |
PR from forked branch verified in Actions. |
Current behavior
The current behavior of the CI pipeline is that it fails when someone uses a forked repository to submit a pull request due to DockerHub secrets not being available.
Error message at:
https://github.com/CIROH-UA/NGIAB-CloudInfra/actions/runs/7558470899
Run echo "" | docker login --username awiciroh --password-stdin
echo "" | docker login --username awiciroh --password-stdin
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
TAG_NAME: merge
Error: Cannot perform an interactive login from a non TTY device
Expected behavior
CI pipeline should run successfully for forked repositories as well as pull requests submitted using branches.
Steps to replicate behavior (include URLs)
Submit a PR using a forked repo.
Screenshots
The text was updated successfully, but these errors were encountered: