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

All 2.10.2 ROCKs #12

Merged
merged 19 commits into from
Jul 19, 2024
Merged

All 2.10.2 ROCKs #12

merged 19 commits into from
Jul 19, 2024

Conversation

aznashwan
Copy link
Contributor

This PR contains all the rockctaft specs and sanity tests for the following Harbor images:

  • docker.io/goharbor/nginx-photon:v2.10.2
  • docker.io/goharbor/harbor-portal:v2.10.2
  • docker.io/goharbor/harbor-core:v2.10.2
  • docker.io/goharbor/harbor-jobservice:v2.10.2
  • docker.io/goharbor/registry-photon:v2.10.2
  • docker.io/goharbor/harbor-registryctl:v2.10.2
  • docker.io/goharbor/trivy-adapter-photon:v2.10.2
  • docker.io/goharbor/harbor-db:v2.10.2
  • docker.io/goharbor/redis-photon:v2.10.2
  • docker.io/goharbor/harbor-exporter:v2.10.2

petrutlucian94 and others added 7 commits July 12, 2024 07:28
The Harbor project has some Photon-OS based images:

* docker.io/goharbor/nginx-photon:v2.10.2
* docker.io/goharbor/registry-photon:v2.10.2
* docker.io/goharbor/trivy-adapter-photon:v2.10.2
* docker.io/goharbor/redis-photon:v2.10.2
* docker.io/goharbor/harbor-portal:v2.10.2

We're defining Rock drop-in replacements, which obviously will
not be Photon based.

Note that the reference images have an install_cert.sh script that
is a no-op on non-Photon images. We're keeping it for now, mostly
for consistency.
Rockcraft does not allow two parts to stage the same files with
different content.

In our case, the nginx package includes a sample at
/usr/share/nginx/html that has to be removed.
Signed-off-by: Nashwan Azhari <[email protected]>
Adds rockcraft specs for following core Harbor component images:

* docker.io/goharbor/harbor-core:v2.10.2
* docker.io/goharbor/harbor-jobservice:v2.10.2
* docker.io/goharbor/harbor-registryctl:v2.10.2
* docker.io/goharbor/harbor-db:v2.10.2
* docker.io/goharbor/harbor-exporter:v2.10.2

Signed-off-by: Nashwan Azhari <[email protected]>
@aznashwan
Copy link
Contributor Author

Sanity tests all pass on my fork.

Loose ends are:

Copy link
Collaborator

@bschimke95 bschimke95 left a comment

Choose a reason for hiding this comment

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

Did a first review iteration, looks good - only a couple of comment.

.github/workflows/pull_request.yaml Outdated Show resolved Hide resolved
tests/sanity/test_harbor_core_v2_10_2.py Outdated Show resolved Hide resolved
tests/sanity/test_harbor_db_v2_10_2.py Show resolved Hide resolved
v2.10.2/README.txt Outdated Show resolved Hide resolved
v2.10.2/harbor-core/README.md Outdated Show resolved Hide resolved
v2.10.2/harbor-core/rockcraft.yaml Outdated Show resolved Hide resolved
v2.10.2/harbor-core/rockcraft.yaml Show resolved Hide resolved
petrutlucian94 and others added 11 commits July 19, 2024 14:31
On Ubuntu 22.04 with snap installed nodejs, one of the portal
dependencies fails to install:

cypress-io/cypress-documentation#5868

We'll apply the recommended workaround.
Signed-off-by: Nashwan Azhari <[email protected]>
Signed-off-by: Nashwan Azhari <[email protected]>
Signed-off-by: Nashwan Azhari <[email protected]>
Signed-off-by: Nashwan Azhari <[email protected]>
Copy link
Collaborator

@bschimke95 bschimke95 left a comment

Choose a reason for hiding this comment

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

LGTM, great stuff!

@bschimke95
Copy link
Collaborator

Merging as only the upload fails (because of external contributor)

@bschimke95 bschimke95 merged commit 7ef1172 into canonical:main Jul 19, 2024
2 of 22 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