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

ci: add e2e tests #47

Merged
merged 28 commits into from
Aug 6, 2024
Merged

ci: add e2e tests #47

merged 28 commits into from
Aug 6, 2024

Conversation

jgrer
Copy link
Collaborator

@jgrer jgrer commented Aug 5, 2024

  • Added new workflow e2e.yaml, which runs on new PR's and pushes to the main branch
  • Designed workflow to install required node packages and docker desktop, then run jest tests
  • Added new folder e2e, which contains the yarn packages needed to run the tests and setup for typescript
  • Created test file "test-copa-extension.test.ts"
  • Added test which inputs "nginx:1.21.6", runs a scan, and confirms that the patched image was created

Closes: #6

jgrer added 21 commits August 2, 2024 16:25
…y to not use multi-platform

Signed-off-by: Jackson Greer <[email protected]>
Signed-off-by: Jackson Greer <[email protected]>
Signed-off-by: Jackson Greer <[email protected]>
Signed-off-by: Jackson Greer <[email protected]>
Signed-off-by: Jackson Greer <[email protected]>
Signed-off-by: Jackson Greer <[email protected]>
Signed-off-by: Jackson Greer <[email protected]>
Signed-off-by: Jackson Greer <[email protected]>
Signed-off-by: Jackson Greer <[email protected]>
.github/workflows/e2e.yaml Outdated Show resolved Hide resolved
.github/workflows/e2e.yaml Outdated Show resolved Hide resolved
.github/workflows/e2e.yaml Outdated Show resolved Hide resolved
e2e/e2e.yaml Outdated Show resolved Hide resolved
@ashnamehrotra
Copy link
Contributor

could we try downgrading the dependency review due to actions/dependency-review-action#786?

@jgrer
Copy link
Collaborator Author

jgrer commented Aug 6, 2024

could we try downgrading the dependency review due to actions/dependency-review-action#786?

doesn't seem to work, will wait for update to the action

e2e/.eslintrc Outdated Show resolved Hide resolved
e2e/.gitignore Outdated Show resolved Hide resolved
.github/workflows/dependency-review.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@ashnamehrotra ashnamehrotra left a comment

Choose a reason for hiding this comment

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

LGTM

@ashnamehrotra ashnamehrotra merged commit cb05c3d into project-copacetic:main Aug 6, 2024
6 of 7 checks passed
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