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

feat(mirror): mirror operator catalogs #1

Merged
merged 1 commit into from
Aug 12, 2021
Merged

feat(mirror): mirror operator catalogs #1

merged 1 commit into from
Aug 12, 2021

Conversation

estroz
Copy link
Contributor

@estroz estroz commented Jul 23, 2021

Closes #4

Signed-off-by: Eric Stroczynski ericstroczynski@gmail.com

pkg/bundle/operator.go Outdated Show resolved Hide resolved
@estroz
Copy link
Contributor Author

estroz commented Jul 24, 2021

You can test these commands out now. For diff:

make build
mkdir foo
cp testdata/configs/latest/bundle-config.yaml foo/
./bin/oc-bundle create diff --dir foo

You should see a bunch of blobs in foo/src/v2/estroz/test-catalog.

For full, just replace diff with full in the above command sequence. You should see even more blobs in that directory.

go.mod Outdated Show resolved Hide resolved
@estroz
Copy link
Contributor Author

estroz commented Aug 9, 2021

Blocking on #29 so a latest diff can be performed from metadata.

@estroz estroz changed the title [WIP] feat(mirror): mirror operator catalogs feat(mirror): mirror operator catalogs Aug 11, 2021
jpower432
jpower432 previously approved these changes Aug 12, 2021
Copy link
Contributor

@jpower432 jpower432 left a comment

Choose a reason for hiding this comment

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

/lgtm

@jpower432 jpower432 self-requested a review August 12, 2021 13:39
@jpower432 jpower432 dismissed their stale review August 12, 2021 13:40

E2E test is failing

Copy link
Contributor

@jpower432 jpower432 left a comment

Choose a reason for hiding this comment

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

E2E test is failing because it can't find mapping.txt. Other than that LGTM.

Signed-off-by: Eric Stroczynski <ericstroczynski@gmail.com>
@estroz estroz requested a review from jpower432 August 12, 2021 16:19
@estroz estroz merged commit ca99cda into openshift:main Aug 12, 2021
@estroz estroz deleted the feat/operator-mirroring branch August 12, 2021 17:38
dorzel pushed a commit to dorzel/oc-mirror that referenced this pull request May 23, 2023
- Update the .goreleaser.yaml to include s390x
- Update the cross build for s390x
- Link gcc to s390x-linux-gnu-gcc binary

On s390x go compiler seems to expect the gcc binary at
s390x-linux-gnu-gcc binary. However on rhel it is not installed there.

Signed-off-by: Jan Schintag <jan.schintag@de.ibm.com>
jschintag added a commit to jschintag/oc-mirror that referenced this pull request May 24, 2023
- Update the .goreleaser.yaml to include s390x
- Update the cross build for s390x
- Link gcc to s390x-linux-gnu-gcc binary

On s390x go compiler seems to expect the gcc binary at
s390x-linux-gnu-gcc binary. However on rhel it is not installed there.

Signed-off-by: Jan Schintag <jan.schintag@de.ibm.com>
jschintag added a commit to jschintag/oc-mirror that referenced this pull request May 24, 2023
- Update the .goreleaser.yaml to include s390x
- Update the cross build for s390x
- Link gcc to s390x-linux-gnu-gcc binary

On s390x go compiler seems to expect the gcc binary at
s390x-linux-gnu-gcc binary. However on rhel it is not installed there.

Signed-off-by: Jan Schintag <jan.schintag@de.ibm.com>
jschintag added a commit to jschintag/oc-mirror that referenced this pull request May 24, 2023
- Update the .goreleaser.yaml to include s390x
- Update the cross build for s390x
- Link gcc to s390x-linux-gnu-gcc binary

On s390x go compiler seems to expect the gcc binary at
s390x-linux-gnu-gcc binary. However on rhel it is not installed there.

Signed-off-by: Jan Schintag <jan.schintag@de.ibm.com>
dorzel pushed a commit to dorzel/oc-mirror that referenced this pull request May 24, 2023
- Update the .goreleaser.yaml to include s390x
- Update the cross build for s390x
- Link gcc to s390x-linux-gnu-gcc binary

On s390x go compiler seems to expect the gcc binary at
s390x-linux-gnu-gcc binary. However on rhel it is not installed there.

Signed-off-by: Jan Schintag <jan.schintag@de.ibm.com>
dorzel pushed a commit to dorzel/oc-mirror that referenced this pull request May 24, 2023
- Update the .goreleaser.yaml to include s390x
- Update the cross build for s390x
- Link gcc to s390x-linux-gnu-gcc binary

On s390x go compiler seems to expect the gcc binary at
s390x-linux-gnu-gcc binary. However on rhel it is not installed there.

Signed-off-by: Jan Schintag <jan.schintag@de.ibm.com>
openshift-merge-robot pushed a commit that referenced this pull request Jun 8, 2023
…sing dockerfile and add ppc64le build to Makefile (#624)

* MULTIARCH-3440: refine multiarch support for test-unit and test-e2e using dockerfile and add ppc64le build to Makefile

- Update the .goreleaser.yaml to include ppc64le
- Update the Dockerfile to include wget and pigz dependency
- Update the Dockerfile to consider arch it's built on
- Update the util.sh to be arch agnostic
- Update the cross build for ppc64le

Signed-off-by: Paul Bastide <pbastide@redhat.com>

* MULTIARCH-3440: Update per review

Signed-off-by: Paul Bastide <pbastide@us.ibm.com>

Co-authored-by: Jan Schintag <43986265+jschintag@users.noreply.github.com>

* MULTIARCH-3441: Enable builds for s390x (#1)

- Update the .goreleaser.yaml to include s390x
- Update the cross build for s390x
- Link gcc to s390x-linux-gnu-gcc binary

On s390x go compiler seems to expect the gcc binary at
s390x-linux-gnu-gcc binary. However on rhel it is not installed there.

Signed-off-by: Jan Schintag <jan.schintag@de.ibm.com>

* MULTIARCH-3441: Enable builds for s390x (#1) (#2)

- Update the .goreleaser.yaml to include s390x
- Update the cross build for s390x
- Link gcc to s390x-linux-gnu-gcc binary

On s390x go compiler seems to expect the gcc binary at
s390x-linux-gnu-gcc binary. However on rhel it is not installed there.

Signed-off-by: Jan Schintag <jan.schintag@de.ibm.com>

* MULTIARCH-3440: update the code to use go-containerregistry for all arches and add arm64

Signed-off-by: Paul Bastide <pbastide@redhat.com>

* MULTIARCH-3440: Adding cross-build for arm64

Signed-off-by: Paul Bastide <pbastide@redhat.com>

---------

Signed-off-by: Paul Bastide <pbastide@redhat.com>
Signed-off-by: Jan Schintag <jan.schintag@de.ibm.com>
Co-authored-by: Jan Schintag <43986265+jschintag@users.noreply.github.com>
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.

Add Operator Downloads by Catalog
2 participants