-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
427c95a
commit 00c2290
Showing
1 changed file
with
40 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# IS Dev Workflows | ||
|
||
This repository contains a set of standardized, reusable GitHub Actions workflows designed to streamline the CI/CD processes for the IS Dev team. These workflows cover various aspects of the development lifecycle, including building and pushing Docker images, running tests, deploying to Kubernetes, and sending notifications. | ||
|
||
## Available Workflows | ||
|
||
1. **sync-postman-collection.yml**: Synchronizes Postman collections with a specified workspace. | ||
2. **newman-k8s-contract-tests.yml**: Runs contract tests for Kubernetes deployments. | ||
3. **kustomize-deploy-commit.yml**: Updates and commits Kubernetes manifests using Kustomize. | ||
4. **docker-build-and-push.yml**: Builds and pushes Docker images to a registry. | ||
5. **slack-notify.yml**: Sends notifications to Slack about workflow status. | ||
6. **newman-k8s-tests.yml**: Runs functional tests for Kubernetes deployments. | ||
7. **golangci-lint.yml**: Performs linting for Go projects. | ||
|
||
## Usage | ||
|
||
To use these workflows in your project, reference them in your GitHub Actions workflow file using the `uses` keyword. For example: | ||
|
||
```yaml | ||
jobs: | ||
build: | ||
uses: expedient/is-dev-workflows/.github/workflows/[email protected] | ||
with: | ||
tags: myapp:latest | ||
secrets: | ||
IS_DOCKER_HUB_USERNAME: ${{ secrets.IS_DOCKER_HUB_USERNAME }} | ||
IS_DOCKER_HUB_PASSWORD: ${{ secrets.IS_DOCKER_HUB_PASSWORD }} | ||
``` | ||
Refer to each workflow file for specific input parameters and required secrets. | ||
## Contributing | ||
To contribute to this repository, please follow these steps: | ||
1. Fork the repository | ||
2. Create a new branch for your feature or bug fix | ||
3. Make your changes and commit them | ||
4. Push your changes to your fork | ||
5. Submit a pull request |