This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to get capability to alpha (#26)
* Add proper baseline docs * Update CHANGELOG * Add DEVELOPMENT_MAINTENANCE doc * Update DEVELOPMENT_MAINTENANCE doc * Cleanup
- Loading branch information
1 parent
96b1c50
commit c426826
Showing
4 changed files
with
69 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,11 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
## [0.0.0] - 2023-08-22 | ||
PRE RELEASE | ||
|
||
### Added | ||
- Initial CHANGELOG.md | ||
- CONTRIBUTING.md | ||
- CODEOWNERS |
Validating CODEOWNERS rules …
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 @@ | ||
* @defenseunicorns/software-factory-package-core |
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,27 @@ | ||
# Welcome to the Gitlab UDS Capability | ||
|
||
Thank you for your interest in this Defense Unicorns UDS Capability! | ||
|
||
This document describes the process and requirements for contributing to this UDS Capability. | ||
|
||
## Developer Experience | ||
|
||
Continuous Delivery is core to our development philosophy. Check out [https://minimumcd.org](https://minimumcd.org) for a good baseline agreement on what that means. | ||
|
||
Specifically: | ||
|
||
* We do trunk-based development (main) with short-lived feature branches that originate from the trunk, get merged into the trunk, and are deleted after the merge | ||
* We don't merge code into main that isn't releasable | ||
* We perform automated testing on all changes before they get merged to main | ||
* Continuous integration (CI) pipeline tests are definitive | ||
* We create immutable release artifacts | ||
|
||
## Definition of Done | ||
|
||
We apply these general principles to all User Stories and activities contributing to the UDS SWF. | ||
|
||
* Automated continuous integration (CI) pipeline tests pass | ||
* CI pipeline tests have been updated to meet system changes | ||
* Changes are peer reviewed | ||
* Acceptance criteria is met | ||
* Documentation is updated to reflect what changed |
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,30 @@ | ||
# UDS Capability Gitlab | ||
|
||
## How to upgrade this capability | ||
|
||
This package is pulling in the [bigbang gitlab chart](https://repo1.dso.mil/big-bang/product/packages/gitlab) | ||
|
||
The [gitlab-flux-values.yaml](../gitlab-flux-values.yaml) file contains values used when creating the flux resources for this capability. This includes the version of the chart and the base values used for this capability. | ||
|
||
To upgrade | ||
1) Point `application.ref.tag` to the updated version of the chart. | ||
1) Update any base values if necessary. | ||
1) Update the `gitlab` component in the [zarf.yaml](../zarf.yaml) file to pull in the correct images needed for the updated version of the chart. | ||
|
||
## How to test this capability | ||
|
||
1) With docker running and while connected to an aws account. | ||
2) Set these env variables. | ||
```bash | ||
export REPO_URL=https://github.com/defenseunicorns/uds-capability-gitlab.git | ||
export GIT_BRANCH=<REPLACE_ME> | ||
export REGISTRY1_USERNAME=<REPLACE_ME> | ||
export REGISTRY1_PASSWORD=<REPLACE_ME> | ||
export GHCR_USERNAME=<REPLACE_ME> | ||
export GHCR_PASSWORD=<REPLACE_ME> | ||
export AWS_AVAILABILITY_ZONE=a | ||
``` | ||
|
||
3) At the root of this repository, you can run `make test`. This will provision an ec2 instance, build and deploy all dependencies and packages, and run an e2e test to insure the capability is deploying successfully, available and ready. | ||
|
||
You can also follow the bread crumbs of the Makefile to manually create the cluster as well as build and deploy all the necessary packages. |