Skip to content
Closed
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
63 changes: 0 additions & 63 deletions .github/workflows/docker.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
inputSet:
name: split_evaluator
identifier: split_evaluator
orgIdentifier: PROD
projectIdentifier: Harness_Split
pipeline:
identifier: deploy_qos_v3
properties:
ci:
codebase:
build:
type: branch
spec:
branch: <+trigger.branch>
stages:
- parallel:
- stage:
identifier: CI
type: CI
spec:
execution:
steps:
- step:
identifier: custom_tag
type: Run
spec:
command: VERSION="$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')"
when:
condition: "true"
- step:
identifier: BuildAndPush
type: BuildAndPushDockerRegistry
spec:
repo: <+trigger.payload.repository.name>
tags:
- $VERSION
- latest
dockerfile: ""
context: ""
strategy:
matrix:
service:
- <+trigger.payload.repository.name>
- stage:
identifier: ECR
type: CI
spec:
execution:
steps:
- step:
identifier: custom_tag
type: Run
spec:
command: VERSION="$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')"
when:
condition: "true"
- step:
identifier: BuildAndPushECR
type: BuildAndPushECR
spec:
imageName: <+trigger.payload.repository.name>
tags:
- $VERSION
- latest
dockerfile: ""
context: ""
strategy:
matrix:
service:
- <+trigger.payload.repository.name>
- stage:
identifier: CI_Multi_Arch
type: CI
spec:
execution:
steps:
- step:
identifier: custom_tag
type: Run
spec:
command: VERSION="$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')"
when:
condition: "true"
- step:
identifier: BuildAndPush
type: BuildAndPushDockerRegistry
spec:
repo: <+trigger.payload.repository.name>
tags:
- $VERSION
- latest
when:
condition: "true"
strategy:
matrix:
service:
- <+trigger.payload.repository.name>
- stage:
identifier: ECR_Multi_Arch
type: CI
spec:
execution:
steps:
- step:
identifier: custom_tag
type: Run
spec:
command: VERSION="$(cat package.json | grep version | head -1 | awk '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]')"
when:
condition: "true"
- step:
identifier: BuildAndPushECR
type: BuildAndPushECR
spec:
imageName: <+trigger.payload.repository.name>
tags:
- $VERSION
- latest
when:
condition: "true"
strategy:
matrix:
service:
- <+trigger.payload.repository.name>
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,5 @@ For a comprehensive list of open source projects visit our [Github page](https:/
**Learn more about Split:**

Visit [split.io/product](https://www.split.io/product) for an overview of Split, or visit our documentation at [help.split.io](https://help.split.io) for more detailed information.

Trigger CI