Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
inputSet:
name: Build_testgo_1738062830911-pr-trigger-input-set
identifier: Build_testgo_1738062830911prtriggerinputset
orgIdentifier: default
projectIdentifier: ebtasamDevTest
pipeline:
identifier: Build_testgo_1738062830911
properties:
ci:
codebase:
build:
type: PR
spec:
number: <+trigger.prNumber>
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
inputSet:
name: Build_testgo_1738062830911-push-trigger-input-set
identifier: Build_testgo_1738062830911pushtriggerinputset
orgIdentifier: default
projectIdentifier: ebtasamDevTest
pipeline:
identifier: Build_testgo_1738062830911
properties:
ci:
codebase:
build:
type: branch
spec:
branch: <+trigger.branch>
54 changes: 54 additions & 0 deletions .harness/pipelines/testgo-1738062826558.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
pipeline:
identifier: Build_testgo_1738062830911
name: Build testgo
orgIdentifier: default
projectIdentifier: ebtasamDevTest
properties:
ci:
codebase:
build: <+input>
connectorRef: account.DhirajGithubv2
repoName: testgo
stages:
- stage:
identifier: build
name: build
spec:
caching:
enabled: true
cloneCodebase: true
execution:
steps:
- step:
identifier: gobuild
name: go_build
spec:
connectorRef: account.harnessImage
image: alpine
shell: Sh
command: |-
echo "FROM alpine:latest" >> Dockerfile
cat Dockerfile
timeout: ""
type: Run
- step:
identifier: dockerbuild
name: docker_build
spec:
caching: true
connectorRef: <+input>
repo: hello/world
tags:
- latest
timeout: ""
type: BuildAndPushDockerRegistry
infrastructure:
type: KubernetesDirect
spec:
connectorRef: pod_test_name
namespace: default
automountServiceAccountToken: true
nodeSelector: {}
os: Linux
type: CI
description: ""
1 change: 1 addition & 0 deletions temp.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
asdasdfasfafafaasdasdasd