Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Add list of external images to server when offline registry is built #128

Merged
merged 3 commits into from
Oct 24, 2019

Conversation

amisevsk
Copy link
Contributor

What does this PR do?

Adds building a list of externally-referenced images to the offline build to make it easier for users to know which images need to be pulled into a private registry.

Required for eclipse-che/che#14866

Also rewrites the build.sh script to be similar to the one in the plugin registry (with options)

To aid in deploying Che in an offline scenario, it's necessary to have a
list of images used in plugins.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
Adds various options to build.sh script:

    --tag, -t [TAG]
        Docker image tag to be used for image; default: 'nightly'
    --registry, -r [REGISTRY]
        Docker registry to be used for image; default 'quay.io'
    --organization, -o [ORGANIZATION]
        Docker image organization to be used for image; default: 'eclipse'
    --offline
        Build offline version of registry, with all sample projects
        cached in the registry; disabled by default.
    --rhel
        Build registry using UBI images instead of default

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
@amisevsk amisevsk changed the title List referenced images Add list of external images to server when offline registry is built Oct 23, 2019
build.sh Show resolved Hide resolved
build.sh Outdated Show resolved Hide resolved
build.sh Show resolved Hide resolved
Copy link
Contributor

@nickboldt nickboldt left a comment

Choose a reason for hiding this comment

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

See comments. -1.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
@amisevsk
Copy link
Contributor Author

@nickboldt Sorry for the confusion, that build.sh script was a big ol' copy paste error from plugin registry. Should be fixed now.

Copy link
Contributor

@nickboldt nickboldt left a comment

Choose a reason for hiding this comment

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

Maximum approval.

@nickboldt nickboldt merged commit a8a2d74 into eclipse-che:master Oct 24, 2019
ibuziuk pushed a commit to ibuziuk/che-devfile-registry that referenced this pull request Oct 28, 2019
…clipse-che#128)

* Add list of external images to server when offline registry is built

To aid in deploying Che in an offline scenario, it's necessary to have a
list of images used in plugins.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>

* Improve build.sh to take options

Adds various options to build.sh script:

    --tag, -t [TAG]
        Docker image tag to be used for image; default: 'nightly'
    --registry, -r [REGISTRY]
        Docker registry to be used for image; default 'quay.io'
    --organization, -o [ORGANIZATION]
        Docker image organization to be used for image; default: 'eclipse'
    --offline
        Build offline version of registry, with all sample projects
        cached in the registry; disabled by default.
    --rhel
        Build registry using UBI images instead of default

Signed-off-by: Angel Misevski <amisevsk@redhat.com>

* fixup: fix copy-paste errors in build.sh

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
ibuziuk pushed a commit that referenced this pull request Oct 28, 2019
…128)

* Add list of external images to server when offline registry is built

To aid in deploying Che in an offline scenario, it's necessary to have a
list of images used in plugins.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>

* Improve build.sh to take options

Adds various options to build.sh script:

    --tag, -t [TAG]
        Docker image tag to be used for image; default: 'nightly'
    --registry, -r [REGISTRY]
        Docker registry to be used for image; default 'quay.io'
    --organization, -o [ORGANIZATION]
        Docker image organization to be used for image; default: 'eclipse'
    --offline
        Build offline version of registry, with all sample projects
        cached in the registry; disabled by default.
    --rhel
        Build registry using UBI images instead of default

Signed-off-by: Angel Misevski <amisevsk@redhat.com>

* fixup: fix copy-paste errors in build.sh

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
monaka referenced this pull request in PizzaFactory/che-devfile-registry Nov 25, 2019
…128)

* Add list of external images to server when offline registry is built

To aid in deploying Che in an offline scenario, it's necessary to have a
list of images used in plugins.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>

* Improve build.sh to take options

Adds various options to build.sh script:

    --tag, -t [TAG]
        Docker image tag to be used for image; default: 'nightly'
    --registry, -r [REGISTRY]
        Docker registry to be used for image; default 'quay.io'
    --organization, -o [ORGANIZATION]
        Docker image organization to be used for image; default: 'eclipse'
    --offline
        Build offline version of registry, with all sample projects
        cached in the registry; disabled by default.
    --rhel
        Build registry using UBI images instead of default

Signed-off-by: Angel Misevski <amisevsk@redhat.com>

* fixup: fix copy-paste errors in build.sh

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
monaka referenced this pull request in PizzaFactory/che-devfile-registry Nov 25, 2019
…128)

* Add list of external images to server when offline registry is built

To aid in deploying Che in an offline scenario, it's necessary to have a
list of images used in plugins.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>

* Improve build.sh to take options

Adds various options to build.sh script:

    --tag, -t [TAG]
        Docker image tag to be used for image; default: 'nightly'
    --registry, -r [REGISTRY]
        Docker registry to be used for image; default 'quay.io'
    --organization, -o [ORGANIZATION]
        Docker image organization to be used for image; default: 'eclipse'
    --offline
        Build offline version of registry, with all sample projects
        cached in the registry; disabled by default.
    --rhel
        Build registry using UBI images instead of default

Signed-off-by: Angel Misevski <amisevsk@redhat.com>

* fixup: fix copy-paste errors in build.sh

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
sparkoo pushed a commit to sparkoo/che-devfile-registry that referenced this pull request Dec 4, 2020
Add shellcheck to CircleCI config
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants