-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
110 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,47 @@ | ||
--- | ||
title: GitHub Actions Integration | ||
category: 62cdf6722c2c1602a4b69643 | ||
hidden: false | ||
--- | ||
# GitHub Actions Integration | ||
|
||
## Overview | ||
|
||
Integrations with the GitHub Actions environment are available in several forms. The primary method is through the | ||
`phylum-dev/phylum-analyze-pr-action` action. This action is available for direct use now and full documentation can be | ||
found by viewing the [Phylum Analyze PR action repository](https://github.com/phylum-dev/phylum-analyze-pr-action). | ||
Integrations with the GitHub Actions environment are available in several forms. | ||
The primary method is through the `phylum-dev/phylum-analyze-pr-action` action. | ||
This action is available in the [GitHub Actions Marketplace][marketplace]. | ||
Full documentation can be found there or by viewing the [Phylum Analyze PR action repository][repo] directly. | ||
|
||
The action will be available for discovery in the [GitHub Actions Marketplace](https://github.com/marketplace) soon. | ||
The Phylum Analyze PR action is a [Docker container action][container_action]. | ||
This has the advantage of ensuring everything needed to work with Phylum for analyzing a PR | ||
for dependencies in a lockfile is self contained and known to function as a single unit. | ||
There are some disadvantages and some users may prefer a different solution. | ||
|
||
The Phylum Analyze PR action is a [Docker container action][container]. This has the advantage of ensuring everything | ||
needed to work with Phylum for analyzing a PR for dependencies in a lockfile is self contained and known to function as | ||
a single unit. There are some disadvantages and some users may prefer a different solution. | ||
|
||
[container]: https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action | ||
[marketplace]: https://github.com/marketplace/actions/phylum-analyze-pr | ||
[repo]: https://github.com/phylum-dev/phylum-analyze-pr-action | ||
[container_action]: https://docs.github.com/en/actions/creating-actions/creating-a-docker-container-action | ||
|
||
## Alternatives | ||
|
||
### Direct `phylum` Python Package Use | ||
|
||
It is also possible to make direct use of the [`phylum` Python package](https://pypi.org/project/phylum/) within CI. | ||
This may be necessary if the Docker image is unavailable or undesirable for some reason. To use the `phylum` package, | ||
install it and call the desired entry points from a script under your control. See the | ||
[Installation](../README.md#installation) and [Usage](../README.md#usage) sections of the [README file](../README.md) | ||
for more detail. | ||
It is also possible to make direct use of the [`phylum` Python package][pypi] within CI. | ||
This may be necessary if the Docker image is unavailable or undesirable for some reason. | ||
To use the `phylum` package, install it and call the desired entry points from a script under your control. | ||
See the [Installation][installation] and [Usage][usage] sections of the [README file][readme] for more detail. | ||
|
||
[pypi]: https://pypi.org/project/phylum/ | ||
[readme]: https://github.com/phylum-dev/phylum-ci/blob/main/README.md | ||
[installation]: https://github.com/phylum-dev/phylum-ci/blob/main/README.md#installation | ||
[usage]: https://github.com/phylum-dev/phylum-ci/blob/main/README.md#usage | ||
|
||
### Container Jobs | ||
|
||
There is another way to use the `phylumio/phylum-ci` Docker image, but without it being encapsulated in the Phylum | ||
Analyze PR action directly. GitHub Actions allows for workflows to run a job within a container, using the `container:` | ||
statement in the workflow file. These are known as container jobs. More information can be found in GitHub | ||
documentation: ["Running jobs in a container"](https://docs.github.com/actions/using-jobs/running-jobs-in-a-container). | ||
There is another way to use the `phylumio/phylum-ci` Docker image, | ||
but without it being encapsulated in the Phylum Analyze PR action directly. | ||
GitHub Actions allows for workflows to run a job within a container, | ||
using the `container:` statement in the workflow file. | ||
These are known as container jobs. | ||
More information can be found in GitHub documentation: ["Running jobs in a container"][container_job]. | ||
|
||
[container_job]: https://docs.github.com/actions/using-jobs/running-jobs-in-a-container |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
title: Integrations Overview | ||
category: 62cdf6722c2c1602a4b69643 | ||
hidden: false | ||
--- | ||
# Integrations | ||
|
||
Phylum is the future of software supply chain security and is eager to provide integrations across the diverse | ||
set of environments and ecosystems used by developers. | ||
|
||
## Current Integrations | ||
|
||
The current Continuous Integration (CI) platforms/environments supported are: | ||
|
||
### GitHub Actions | ||
|
||
See the [GitHub Actions Integration documentation][github_docs] for more info. | ||
|
||
[github_docs]: https://docs.phylum.io/docs/github_actions | ||
|
||
### GitLab CI | ||
|
||
See the [GitLab CI Integration documentation][gitlab_docs] for more info. | ||
|
||
[gitlab_docs]: https://docs.phylum.io/docs/gitlab_ci | ||
|
||
## Future Integrations | ||
|
||
If there is an unsupported use case for managing the security of your dependencies, we want to know about it. | ||
If there is a way Phylum can be used to make your life as a developer easier, we want to be there for you and do it! | ||
|
||
Please let us know what you need by either creating a [GitHub issue](https://github.com/phylum-dev/phylum-ci/issues) | ||
or sending a note through the general [Contact Us](https://docs.phylum.io/docs/support) options. |