{"id":43052784,"url":"https://github.com/cloud-native-toolkit/ibm-garage-cloud-web-cli","last_synced_at":"2026-01-31T10:38:20.686Z","repository":{"id":38018056,"uuid":"284877861","full_name":"cloud-native-toolkit/ibm-garage-cloud-web-cli","owner":"cloud-native-toolkit","description":"Cloud-Native Toolkit CLI for web drivers","archived":false,"fork":false,"pushed_at":"2024-09-17T05:53:11.000Z","size":3149,"stargazers_count":0,"open_issues_count":75,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-22T03:02:55.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloud-native-toolkit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-04T04:34:39.000Z","updated_at":"2020-10-22T22:08:37.000Z","dependencies_parsed_at":"2023-10-04T09:26:14.535Z","dependency_job_id":"2577fed1-8f2f-462d-9136-be1d285dc365","html_url":"https://github.com/cloud-native-toolkit/ibm-garage-cloud-web-cli","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/cloud-native-toolkit/ibm-garage-cloud-web-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-native-toolkit%2Fibm-garage-cloud-web-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-native-toolkit%2Fibm-garage-cloud-web-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-native-toolkit%2Fibm-garage-cloud-web-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-native-toolkit%2Fibm-garage-cloud-web-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloud-native-toolkit","download_url":"https://codeload.github.com/cloud-native-toolkit/ibm-garage-cloud-web-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloud-native-toolkit%2Fibm-garage-cloud-web-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28938842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T10:18:23.202Z","status":"ssl_error","status_checked_at":"2026-01-31T10:18:22.693Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-31T10:38:20.619Z","updated_at":"2026-01-31T10:38:20.677Z","avatar_url":"https://github.com/cloud-native-toolkit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IBM Garage Cloud Native Toolkit Web CLI\n\nCommand-line tool to automate web tasks with puppeteer. The \ncommands provided can be used directly from the command-line but \nmost typically will be used in the context of a Job running in\na cluster to automate the configuration of a tool that cannot be\nconfigured otherwise.\n\n## Usage\n\n1. Install the latest CLI by running:\n\n    ```\n    npm i -g @ibmgaragecloud/cloud-native-toolkit-web-cli\n    ```\n   \n2. Run the following to list the available commands:\n\n    ```\n    igc-web --help\n    ```\n\n## Available commands\n\n### jenkins-auth\n\nIn order to use the API calls with Jenkins, an API token must be generated. With the Helm\ninstall of Jenkins, the only way to generate an API token is through the UI.\n\nThis command connects to a Jenkins instance and generates the API Token then creates\nthe `jenkins-config` and `jenkins-access` ConfigMap and Secret with the results.\n\n#### Pre-requisites\n\nThe command assumes that the target cluster has already been configured or that the command is\nrunning in a pod in the cluster and the `--inCluster` argument has been passed\n\n#### Options\n\n- `-n` - the namespace where Artifactory has been installed. If not provided defaults to `tools`\n- `--inCluster` - a flag indicating that the command is running within a pod in the cluster. If \nthe flag is set, the command will retrieve the kube config from the cluster and will use the\ninternal url to connect to the Artifactory instance\n\n### setup-artifactory\n\nThe OpenSource version of Artifactory has limited API support for configuring\nthe Artifactory instance after deployment. At a minimum, there are a number of \ntasks that must be done manually to make the instance ready for use:\n\n1. Reset the admin password\n2. Set the base url of the instance\n3. Configure the repositories\n4. Retrieve the encrypted password for use with the Artifactory APIS\n\nThis command will read the Artifactory configuration information from the \n`artifactory-access` secret, log in to the Artifactory UI using puppeteer and\ncomplete a number of configuration steps, then update the `artifactory-access`\nsecret with the results of the automation.\n\n#### Pre-requisites\n\nThe command assumes that the target cluster has already been configured or that the command is\nrunning in a pod in the cluster and the `--inCluster` argument has been passed\n\n#### Options\n\n- `-n` - the namespace where Artifactory has been installed. If not provided defaults to `tools`\n- `--inCluster` - a flag indicating that the command is running within a pod in the cluster. If \nthe flag is set, the command will retrieve the kube config from the cluster and will use the\ninternal url to connect to the Artifactory instance\n\n#### Example usage\n\n```shell script\nigc-web setup-artifactory -n tools\n```\n\n### setup-sonarqube\n\nThe SonarQube helm package does not expose a mechanism to provide a password during the install process. As such, every\nnew instance of SonarQube has the username and password set to `admin`/`admin`. In order to change the password, one must\nlog into the console and change it via the UI. Additionally, an API token can be used when interacting with SonarQube that\nprovides added security by not exposing the user password. The only way to generate the token is via the UI.\n\nThere are two actions that need to be performed to set up SonarQube:\n\n- Change the password to a more complex one\n- Generate an authentication token\n\nThis command will read the SonarQube configuration information from the \n`sonarqube-access` secret, log in to the SonarQube UI using puppeteer and\nreset the password, then update the `sonarqube-access` secret with the results of the automation.\n\n#### Pre-requisites\n\nThe command assumes that the target cluster has already been configured or that the command is\nrunning in a pod in the cluster and the `--inCluster` argument has been passed\n\n#### Options\n\n- `-n` - the namespace where SonarQube has been installed. If not provided defaults to `tools`\n- `--inCluster` - a flag indicating that the command is running within a pod in the cluster. If \nthe flag is set, the command will retrieve the kube config from the cluster and will use the\ninternal url to connect to the SonarQube instance\n\n#### Example usage\n\n```shell script\nigc-web setup-sonarqube -n tools\n```\n\n## Development\n\n### Run the tests\n\n```shell script\nnpm test\n```\n\n### Run the cli locally\n\n```shell script\n./igc-web\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-native-toolkit%2Fibm-garage-cloud-web-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloud-native-toolkit%2Fibm-garage-cloud-web-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloud-native-toolkit%2Fibm-garage-cloud-web-cli/lists"}