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

Embed the environment variables before PreExec in ACC test #177

Merged
merged 2 commits into from
Feb 3, 2021
Merged

Embed the environment variables before PreExec in ACC test #177

merged 2 commits into from
Feb 3, 2021

Conversation

sshota0809
Copy link
Contributor

Q A
πŸ› Bug fix? yes
πŸš€ New feature? no
⚠ Deprecations? no
❌ BC Break no
πŸ”— Related issues #175
❓ Documentation no

Description

I fixed #175.
Please review my commit!

Closed: #175

Signed-off-by: sshota0809 <8736380+sshota0809@users.noreply.github.com>
@sshota0809 sshota0809 requested a review from a team as a code owner February 1, 2021 09:49
Copy link
Contributor

@eliecharra eliecharra left a comment

Choose a reason for hiding this comment

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

LGTM, thanks a lot @sshota0809 πŸŽ‰

@eliecharra
Copy link
Contributor

eliecharra commented Feb 1, 2021

@sshota0809 Could you remove your fork of driftctl from circleCI ? It prevent our CircleCI check to run on your PR.

https://circleci.com/docs/2.0/oss/#build-pull-requests-from-forked-repositories

@eliecharra eliecharra added the kind/bug Something isn't working label Feb 1, 2021
@eliecharra eliecharra added this to the v0.4.0 milestone Feb 1, 2021
@sshota0809
Copy link
Contributor Author

sshota0809 commented Feb 1, 2021

@eliecharra

I checked the document you gave me, and according to the document,

Note: If a user submits a pull request to your repository from a fork, but no pipeline is triggered, then the user most likely is following a project fork on their personal account rather than the project itself of CircleCi, causing the jobs to trigger under the user’s personal account and not the organization account.
To resolve this issue, have the user unfollow their fork of the project on CircleCI and instead follow the source project.
This will trigger their jobs to run under the organization when they submit pull requests.

But I didn't follow my fork of driftctl on circleCI.

This screen shot is the list of projects.
γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2021-02-01 19 47 48

What should I do? I'm so sorry I'm not familiar with circleCI 😒

@eliecharra
Copy link
Contributor

What a weird behavior from CircleCI ... Can you try to follow our project in circle from this page https://app.circleci.com/projects/project-dashboard/github/cloudskiff/ ?

Then try to update this PR by rebasing it on main

@eliecharra
Copy link
Contributor

@wbeuil Maybe we could open a support ticket for this ?

@wbeuil
Copy link
Contributor

wbeuil commented Feb 1, 2021

@wbeuil Maybe we could open a support ticket for this ?

I will open a ticket on their side then

@sshota0809
Copy link
Contributor Author

@eliecharra @wbeuil
Thanks for your help!

This URL seems 404...
https://app.circleci.com/projects/project-dashboard/github/cloudskiff/

γ‚Ήγ‚―γƒͺγƒΌγƒ³γ‚·γƒ§γƒƒγƒˆ 2021-02-01 20 00 57

@eliecharra
Copy link
Contributor

@sshota0809 We just opened a support ticket on CircleCI.

Thanks for trying to fix this but we don't want you to spend too much time on it. We'll keep you informed when we get some update from Circle πŸ˜‰

@eliecharra
Copy link
Contributor

Merging since we do not have any response from CircleCI, I've updated the PR onto main to trigger test but this is a weird workaround.

Thanks a lot for your work @sshota0809

@codecov
Copy link

codecov bot commented Feb 3, 2021

Codecov Report

Merging #177 (58be0f9) into main (992b658) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #177   +/-   ##
=======================================
  Coverage   69.71%   69.71%           
=======================================
  Files         190      190           
  Lines        4379     4379           
=======================================
  Hits         3053     3053           
  Misses       1086     1086           
  Partials      240      240           

@eliecharra eliecharra merged commit d565ba6 into snyk:main Feb 3, 2021
@sshota0809
Copy link
Contributor Author

@eliecharra
Thank you for merging.
I would like to contribute this awesome tool more, so I have to solve this wired issue😒

@wbeuil
Copy link
Contributor

wbeuil commented Feb 3, 2021

Thanks @sshota0809 for your contribution ! No worry we're gonna find what's blocking. We're still waiting for a response from CircleCI. We'll keep you posted !

@wbeuil
Copy link
Contributor

wbeuil commented Feb 4, 2021

@sshota0809, CircleCI just came back to us saying that you are following your own forked project and not the main project.

Can you double check that you are not following your forked project in CircleCI, but the cloudskiff/driftctl project?

@sshota0809
Copy link
Contributor Author

sshota0809 commented Feb 4, 2021

@wbeuil
Thank you for reply.

I have checked that I don't follow my own forked repository for sure. I have an idea now that I will try to delete my own forked repository once, and fork origin repository again.

And after that, if you don't mind I would like to push PR to origin repository as a test to confirm if circleCI test will be kicked correctly. Is that ok?

@wbeuil
Copy link
Contributor

wbeuil commented Feb 4, 2021

Sure @sshota0809 let's try that !

@sshota0809
Copy link
Contributor Author

@wbeuil
I have confirmed that CircleCI test was kicked correctly from my new forked repository. Thanks a lot for your support!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Acceptance Test for AWS instance failed when AWS Region is not us-east-1 in my AWS profile
3 participants