{"id":18371236,"url":"https://github.com/sub-mod/tf-tekton","last_synced_at":"2025-04-10T22:47:16.446Z","repository":{"id":80654172,"uuid":"209423159","full_name":"sub-mod/tf-tekton","owner":"sub-mod","description":null,"archived":false,"fork":false,"pushed_at":"2020-06-24T19:15:22.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T22:47:13.712Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sub-mod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-09-18T23:44:53.000Z","updated_at":"2020-06-24T19:15:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"9935ebed-d140-4ede-aead-15bb2018bc22","html_url":"https://github.com/sub-mod/tf-tekton","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sub-mod%2Ftf-tekton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sub-mod%2Ftf-tekton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sub-mod%2Ftf-tekton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sub-mod%2Ftf-tekton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sub-mod","download_url":"https://codeload.github.com/sub-mod/tf-tekton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312192,"owners_count":21082637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-05T23:43:23.119Z","updated_at":"2025-04-10T22:47:16.426Z","avatar_url":"https://github.com/sub-mod.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tensorflow Build Pipeline\n\nTensorflow build pipeline is developed with tekton and openshift pipelines.\u003cbr\u003e\nThese build pipeline executes source build process of tensorflow with different CPU and GPU build parameters.\n\n## Setup Environment\n\nThe Build environment is currently setup on OpenShift 3.11 cluster.\u003cbr\u003e\n`[tekton-trigger](https://github.com/tektoncd/pipeline/tree/v0.10.2)`: `v0.10.2` is being used for pipelines.\n\nFollowing commands can be executed to setup similar pipeline of openshift 3.11 cluster:\n\n```bash\noc new-project tekton-pipelines\noc adm policy add-scc-to-user anyuid -z tekton-pipelines-controller\noc apply --filename https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.10.2/release.yaml\n```\n\nAdditional details for tekton pipeline setup can be found [here](https://github.com/tektoncd/pipeline/blob/v0.10.2/docs/install.md#installing-tekton-pipelines-on-openshiftminishift)\n\nBuild environment is also setup with tekton trigger.\u003cbr\u003e\n`[tekton-trigger](https://github.com/tektoncd/triggers/tree/v0.3.1)`: `v0.3.1`\n\n```bash\noc apply --filename https://storage.googleapis.com/tekton-releases/triggers/previous/v0.3.0/release.yaml\n```\n\nAdditional details for tekton trigger setup can be found [here](https://github.com/tektoncd/triggers/blob/v0.3.1/docs/install.md)\n\n## Local Testing\n\n1. Setup Tekton Pipeline and Tekton Trigger in cluster. Follow [Tekton Pipeline Documentation](https://github.com/tektoncd/pipeline/blob/master/docs/install.md) and [Tekton Trigger Documentation](https://github.com/tektoncd/triggers/blob/master/docs/install.md)\n\n2. Create the resources for the example:\n\n  ```bash\n  oc apply -f trigger/serviceaccount.yaml\n  oc apply -f trigger/role.yaml\n  oc apply -f trigger/binding.yaml\n  oc apply -f trigger/triggertemplate.yaml\n  oc apply -f trigger/triggerbinding.yaml\n  oc apply -f trigger/eventlistener.yaml\n  oc apply -f trigger/task.yaml\n  oc apply -f task/buildah.yaml\n  oc apply -f trigger/pipeline.yaml\n  ```\n\n3. Send a payload to the listener at port 8080\u003cbr\u003e\n  port-forwarded with `oc port-forward $(oc get pod -o=name -l eventlistener=listener) 8080`\n\n```bash\ncurl -X POST \\\n  http://localhost:8080 \\\n  -H 'Content-Type: application/json' \\\n  -H 'X-Hub-Signature: sha1=2da37dcb9404ff17b714ee7a505c384758ddeb7b' \\\n  -d '{\n    \"head_commit\":\n    {\n        \"id\": \"r1.14\"\n    },\n    \"repository\":\n    {\n        \"url\": \"https://github.com/tensorflow/tensorflow.git\",\n        \"branch\": \"r1.14\"\n    }\n}'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsub-mod%2Ftf-tekton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsub-mod%2Ftf-tekton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsub-mod%2Ftf-tekton/lists"}