Skip to content

Commit

Permalink
Publish license file of oc on downloads-openshift-console
Browse files Browse the repository at this point in the history
Publish the license file with oc binary on downloads-openshift-console
since oc binary is applied Apache License 2.0.

This depends on openshift/oc#337 to provide the license in cli-artifacts.
  • Loading branch information
eramoto authored and openshift-cherrypick-robot committed Jun 16, 2020
1 parent 4fa2804 commit 9b377f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions manifests/07-downloads-deployment.yaml
Expand Up @@ -89,10 +89,14 @@ spec:
os.mkdir(arch)
for operating_system in ['linux', 'mac', 'windows']:
os.mkdir(os.path.join(arch, operating_system))
target_path = os.path.join(arch, operating_system, 'LICENSE')
os.symlink('/usr/share/openshift/LICENSE', target_path)
for arch in ['arm64', 'ppc64le', 's390x']:
os.mkdir(arch)
for operating_system in ['linux']:
os.mkdir(os.path.join(arch, operating_system))
target_path = os.path.join(arch, operating_system, 'LICENSE')
os.symlink('/usr/share/openshift/LICENSE', target_path)
for arch, operating_system, path in [
('amd64', 'linux', '/usr/share/openshift/linux_amd64/oc'),
Expand Down

0 comments on commit 9b377f2

Please sign in to comment.