-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mykhailo Kuznietsov <[email protected]>
- Loading branch information
1 parent
e1ebc29
commit 63ae5a0
Showing
3 changed files
with
81 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# | ||
# Copyright (c) 2019-2021 Red Hat, Inc. | ||
# This program and the accompanying materials are made | ||
# available under the terms of the Eclipse Public License 2.0 | ||
# which is available at https://www.eclipse.org/legal/epl-2.0/ | ||
# | ||
# SPDX-License-Identifier: EPL-2.0 | ||
# | ||
# Contributors: | ||
# Red Hat, Inc. - initial API and implementation | ||
# | ||
schemaVersion: 2.2.0 | ||
metadata: | ||
name: devspaces-images | ||
# add components:, unless basic udi component is good enough? | ||
components: | ||
- name: tools | ||
container: | ||
image: quay.io/mkuznets/devspaces-images-tools:latest | ||
memoryRequest: 1Gi | ||
memoryLimit: 8Gi | ||
cpuLimit: '4' | ||
cpuRequest: '0.5' | ||
env: | ||
- | ||
name: http_proxy | ||
value: socks5h://localhost:9999 | ||
- | ||
name: https_proxy | ||
value: socks5h://localhost:9999 | ||
- | ||
name: ftp_proxy | ||
value: socks5h://localhost:9999 | ||
- | ||
name: rsync_proxy | ||
value: socks5h://localhost:9999 | ||
- | ||
name: all_proxy | ||
value: socks5h://localhost:9999 | ||
- | ||
name: HTTP_PROXY | ||
value: socks5h://localhost:9999 | ||
- | ||
name: HTTPS_PROXY | ||
value: socks5h://localhost:9999 | ||
- | ||
name: FTPS_PROXY | ||
value: socks5h://localhost:9999 | ||
- | ||
name: RSYNC_PROXY | ||
value: socks5h://localhost:9999 | ||
- | ||
name: ALL_PROXY | ||
value: socks5h://localhost:9999 | ||
- | ||
name: NO_PROXY | ||
value: socks5h://localhost:9999 | ||
|
||
# add commands: for building all of the containers? | ||
commands: | ||
- id: start-socks5-proxy | ||
exec: | ||
commandLine: | | ||
read -p "ENTER Red Hat username: " REDHAT_USER && | ||
ssh -D 9999 ${REDHAT_USER}@bastion-rdu2.redhat.com -p 330 | ||
component: tools | ||
label: Connect to Red Hat internal network |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "devfile", | ||
"command": "read -p \"ENTER Red Hat username: \" REDHAT_USER &&\nssh -D 9999 ${REDHAT_USER}@bastion-rdu2.redhat.com -p 330\n", | ||
"workdir": "${PROJECT_SOURCE}", | ||
"component": "tools", | ||
"problemMatcher": [], | ||
"label": "devfile: Connect to Red Hat internal network" | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.