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
74 changes: 0 additions & 74 deletions .github/workflows/docker.yml

This file was deleted.

66 changes: 0 additions & 66 deletions .github/workflows/unstable.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
inputSet:
name: split_synchronizer
tags: {}
identifier: split_synchronizer
orgIdentifier: PROD
projectIdentifier: Harness_Split
pipeline:
identifier: deploy_qos_v3
stages:
- parallel:
- stage:
identifier: CI
type: CI
spec:
execution:
steps:
- step:
identifier: custom_tag
type: Run
spec:
command: VERSION="$(awk '/^const Version/{gsub(/"/, "", $4); print $4}' splitio/version.go)"
when:
condition: "true"
- step:
identifier: BuildAndPush
type: BuildAndPushDockerRegistry
spec:
repo: <+trigger.payload.repository.name>/split-<+matrix.app><+<+matrix.fips_mode>=="enabled"?"-fips":"">
tags:
- <+pipeline.stages.CI<+strategy.identifierPostFix>.spec.execution.steps.custom_tag.output.outputVariables.VERSION>
- latest
dockerfile: docker/Dockerfile.<+matrix.app>
context: ""
buildArgs:
FIPS_MODE: <+matrix.fips_mode>
envVariables:
PLUGIN_NO_PUSH: <+<+trigger.payload.ref>!="refs/heads/main"?"true":"false">
PLUGIN_PLATFORM: linux/amd64,linux/arm64
strategy:
matrix:
app:
- synchronizer
- proxy
fips_mode:
- enabled
- disabled
- stage:
identifier: ECR
type: CI
spec:
execution:
steps:
- step:
identifier: custom_tag
type: Run
spec:
command: VERSION="$(awk '/^const Version/{gsub(/"/, "", $4); print $4}' splitio/version.go)"
when:
condition: "true"
- step:
identifier: BuildAndPushECR
type: BuildAndPushECR
spec:
imageName: <+trigger.payload.repository.name>/split-<+matrix.app><+<+matrix.fips_mode>=="enabled"?"-fips":"">
tags:
- <+pipeline.stages.ECR<+strategy.identifierPostFix>.spec.execution.steps.custom_tag.output.outputVariables.VERSION>
- latest
dockerfile: docker/Dockerfile.<+matrix.app>
context: ""
buildArgs:
FIPS_MODE: <+matrix.fips_mode>
envVariables:
PLUGIN_NO_PUSH: <+<+trigger.payload.ref>!="refs/heads/main"?"true":"false">
PLUGIN_PLATFORM: linux/amd64,linux/arm64
strategy:
matrix:
app:
- synchronizer
- proxy
fips_mode:
- enabled
- disabled
properties:
ci:
codebase:
build:
type: branch
spec:
branch: <+trigger.branch>
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
inputSet:
name: split_synchronizer_unstable
tags: {}
identifier: split_synchronizer_unstable
orgIdentifier: PROD
projectIdentifier: Harness_Split
pipeline:
identifier: deploy_qos_v3
stages:
- parallel:
- stage:
identifier: CI
type: CI
spec:
execution:
steps:
- step:
identifier: custom_tag
type: Run
spec:
command: VERSION="$(git rev-parse --short HEAD)"
when:
condition: "true"
- step:
identifier: BuildAndPush
type: BuildAndPushDockerRegistry
spec:
repo: <+trigger.payload.repository.name>/split-<+matrix.app><+<+matrix.fips_mode>=="enabled"?"-fips":"">
tags:
- <+pipeline.stages.CI<+strategy.identifierPostFix>.spec.execution.steps.custom_tag.output.outputVariables.VERSION>
- latest
dockerfile: docker/Dockerfile.<+matrix.app>
context: ""
buildArgs:
FIPS_MODE: <+matrix.fips_mode>
envVariables:
PLUGIN_PLATFORM: linux/amd64,linux/arm64
strategy:
matrix:
app:
- synchronizer
- proxy
fips_mode:
- enabled
- disabled
- stage:
identifier: ECR
type: CI
spec:
execution:
steps:
- step:
identifier: custom_tag
type: Run
spec:
command: VERSION="$(git rev-parse --short HEAD)"
when:
condition: "true"
- step:
identifier: BuildAndPushECR
type: BuildAndPushECR
spec:
imageName: <+trigger.payload.repository.name>/split-<+matrix.app><+<+matrix.fips_mode>=="enabled"?"-fips":"">
tags:
- <+pipeline.stages.ECR<+strategy.identifierPostFix>.spec.execution.steps.custom_tag.output.outputVariables.VERSION>
- latest
dockerfile: docker/Dockerfile.<+matrix.app>
context: ""
buildArgs:
FIPS_MODE: <+matrix.fips_mode>
envVariables:
PLUGIN_PLATFORM: linux/amd64,linux/arm64
strategy:
matrix:
app:
- synchronizer
- proxy
fips_mode:
- enabled
- disabled
properties:
ci:
codebase:
build:
type: branch
spec:
branch: <+trigger.branch>
Loading