Skip to content
Merged
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
1 change: 0 additions & 1 deletion .github/CODEOWNERS

This file was deleted.

7 changes: 0 additions & 7 deletions .github/pull_request_template.md

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/s3.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .github/workflows/test.yml

This file was deleted.

45 changes: 0 additions & 45 deletions .github/workflows/update-license-year.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
pipeline:
name: split_synchronizer_cd_s3
identifier: split_synchronizer_cd_s3
projectIdentifier: Harness_Split
orgIdentifier: PROD
tags: {}
properties:
ci:
codebase:
connectorRef: fmegithubrunnersci
repoName: split-synchronizer
build: <+input>
depth: 0
sparseCheckout: []
stages:
- stage:
name: Build and Deploy to S3
identifier: Build_and_Deploy_to_S3
type: CI
spec:
cloneCodebase: true
buildIntelligence:
enabled: false
execution:
steps:
- step:
type: Run
name: Build Release Assets
identifier: Build_Release_Assets
spec:
connectorRef: dockerhub
image: golang:1.26.3
shell: Bash
resources:
limits:
memory: 4Gi
cpu: "2"
command: |-
apt-get update -qq && apt-get install -y -qq python3-packaging zip wget
mkdir -p build
make release_assets
- step:
type: Run
name: Deploy to S3
identifier: Deploy_to_S3
when:
stageStatus: Success
condition: <+trigger.event> == "PUSH"
spec:
connectorRef: dockerhub
image: amazon/aws-cli:2.31.5
shell: Bash
command: aws s3 sync ./build s3://downloads.split.io
envVariables:
AWS_DEFAULT_REGION: us-east-1
infrastructure:
type: KubernetesDirect
spec:
connectorRef: use1prod1cd
namespace: harness-delegate
serviceAccountName: use1-prod-1-split-synchronizer-downloads
automountServiceAccountToken: false
nodeSelector: {}
os: Linux
delegateSelectors:
- use1-prod-1-cd
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
inputSet:
name: split_synchronizer_cd_s3_pr
identifier: split_synchronizer_cd_s3_pr
orgIdentifier: PROD
projectIdentifier: Harness_Split
tags: {}
pipeline:
identifier: split_synchronizer_cd_s3
properties:
ci:
codebase:
build:
type: PR
spec:
number: <+trigger.prNumber>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
inputSet:
name: split_synchronizer_cd_s3_push
identifier: split_synchronizer_cd_s3_push
orgIdentifier: PROD
projectIdentifier: Harness_Split
tags: {}
pipeline:
identifier: split_synchronizer_cd_s3
properties:
ci:
codebase:
build:
type: branch
spec:
branch: <+trigger.branch>
Loading