UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit ed61b3d4 authored by Rob Mengert's avatar Rob Mengert Committed by andrew.greene
Browse files

feat: Created automation to sync kubevirt images between public locations and...

feat: Created automation to sync kubevirt images between public locations and repo1 [SKIP INTEGRATION]
parent 53fc8126
No related branches found
No related tags found
1 merge request!14Created automation to sync kubevirt images between public locations and repo1 [SKIP INTEGRATION]
......@@ -2,8 +2,12 @@
Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
## [0.1.3-alpha-bb.3] - unreleased
- Script written with skopeo in order to synchronize images between public locations and repo1
## [0.1.3-alpha-bb.1] - unreleased
- Pipeline fixes
## [0.1.3-alpha-bb.0] - 2022-06-24
- Initial Chart creation
\ No newline at end of file
# kubevirt
![Version: 0.1.3-alpha-bb.1](https://img.shields.io/badge/Version-0.1.3--alpha--bb.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.53.0](https://img.shields.io/badge/AppVersion-0.53.0-informational?style=flat-square)
![Version: 0.1.3-alpha-bb.3](https://img.shields.io/badge/Version-0.1.3--alpha--bb.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.53.0](https://img.shields.io/badge/AppVersion-0.53.0-informational?style=flat-square)
KubeVirt Big Bang package
......@@ -43,4 +43,4 @@ helm install kubevirt chart/
## Contributing
Please see the [contributing guide](./CONTRIBUTING.md) if you are interested in contributing.
Please see the [contributing guide](./CONTRIBUTING.md) if you are interested in contributing.
\ No newline at end of file
......@@ -2,5 +2,5 @@ apiVersion: v2
name: kubevirt
description: KubeVirt Big Bang package
type: application
version: 0.1.3-alpha-bb.1
version: 0.1.3-alpha-bb.3
appVersion: "0.53.0"
# Registry Sync
The registrySync.sh script uses a tool called [skopeo](https://github.com/containers/skopeo) in order to synchronize images between the public internet and registry.dso.mil which is required for pipelines to pass.
There is one step which is required before executing the registrySync.sh script and that is to log skopeo into repo1.
```
[rmengert@Robs-MacBook-Pro:~/projects/harness/utils]
$ skopeo login -u rmengert registry.dso.mil
Password:
Login Succeeded!
[rmengert@Robs-MacBook-Pro:~/projects/harness/utils]
$
```
Note, the credential used to perform the skopeo login MUST be a [personal access token](https://repo1.dso.mil/help/user/profile/personal_access_tokens) if you are using two factor authentication.
After logging in, the registrySync.sh can be safely run and will pull a copy of all of the images in skopeo-harness-sync.yaml from their specified locations and push them into registry.dso.mil. Specifically the container registry attached to the Harness third party repo.
# New Image Version
New versions of containers can easily be added by appending a new version to the list in skopeo-harness-sync.yaml.
For example:
```yaml
docker.io/harness:
images:
mongo:
- 4.2.8
```
To add 4.2.9, simply update skopeo-harness-sync.yaml with this version:
```yaml
docker.io/harness:
images:
mongo:
- 4.2.8
- 4.2.9
```
\ No newline at end of file
#!/bin/bash
skopeo sync --override-arch amd64 --override-os linux --src yaml --dest docker skopeo-kubevirt-sync.yaml registry.dso.mil/platform-one/big-bang/apps/third-party/kubevirt
quay.io/kubevirt:
images:
virt-controller:
- v0.54.0
- v0.53.1
virt-api:
- v0.54.0
- v0.53.1
virt-handler:
- v0.54.0
- v0.53.1
virt-launcher:
- v0.54.0
- v0.53.1
virt-operator:
- v0.54.0
- v0.53.1
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment