Skip to content

Commit

Permalink
fix(pipelines): dereference all symlink
Browse files Browse the repository at this point in the history
seems like jenkinks doesn't run pipelines which are symlink
and fails like the following:

```
09:48:17  org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
09:48:17  WorkflowScript: 1: unexpected token: .. @ line 1, column 1.
09:48:17     ../artifacts/artifacts-centos8.jenkinsfile
09:48:17     ^
09:48:17
09:48:17  1 error
```

so we'll copy all the symlink, until we can figure out a better option
for this use case of identical pipelines, we need in multiple locations
  • Loading branch information
fruch committed Feb 13, 2024
1 parent 91d028c commit 04cf9f7
Show file tree
Hide file tree
Showing 23 changed files with 301 additions and 23 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: '''["test-cases/artifacts/amazon2.yaml", "configurations/arm/amazon2.yaml"]''',
backend: 'aws',
region: 'eu-west-1',
provision_type: 'spot_low_price',

timeout: [time: 30, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: 'test-cases/artifacts/amazon2.yaml',
backend: 'aws',
region: 'eu-west-1',
provision_type: 'spot_low_price',

timeout: [time: 60, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: 'test-cases/artifacts/centos7.yaml',
backend: 'gce',
provision_type: 'spot',

timeout: [time: 30, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: '''["test-cases/artifacts/centos8.yaml", "configurations/arm/centos8.yaml"]''',
backend: 'aws',
region: 'eu-west-1',
provision_type: 'spot_low_price',

timeout: [time: 30, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: 'test-cases/artifacts/centos8-selinux.yaml',
backend: 'gce',
provision_type: 'spot',

timeout: [time: 30, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: 'test-cases/artifacts/centos8.yaml',
backend: 'gce',
provision_type: 'spot',

timeout: [time: 30, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: '''["test-cases/artifacts/debian10.yaml", "configurations/arm/debian10.yaml"]''',
backend: 'aws',
region: 'eu-west-1',
provision_type: 'spot_low_price',

timeout: [time: 30, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: 'test-cases/artifacts/debian10.yaml',
backend: 'gce',
provision_type: 'spot',

timeout: [time: 30, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: 'test-cases/artifacts/debian11.yaml',
backend: 'gce',
provision_type: 'spot',

timeout: [time: 30, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: 'test-cases/artifacts/oel76.yaml',
backend: 'aws',
region: 'eu-west-1',
provision_type: 'spot_low_price',

timeout: [time: 60, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: 'test-cases/artifacts/oel81.yaml',
backend: 'aws',
region: 'eu-west-1',
provision_type: 'spot_low_price',

timeout: [time: 60, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: 'test-cases/artifacts/rocky8.yaml',
backend: 'gce',
provision_type: 'spot',

timeout: [time: 30, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: 'test-cases/artifacts/rocky9.yaml',
backend: 'gce',
provision_type: 'spot',

timeout: [time: 30, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: '''["test-cases/artifacts/ubuntu2004.yaml", "configurations/arm/ubuntu2004.yaml"]''',
backend: 'aws',
region: 'eu-west-1',
provision_type: 'spot_low_price',

timeout: [time: 30, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: 'test-cases/artifacts/ubuntu2004.yaml',
backend: 'gce',
provision_type: 'spot',

timeout: [time: 35, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: '''["test-cases/artifacts/ubuntu2204.yaml", "configurations/arm/ubuntu2204.yaml"]''',
backend: 'aws',
region: 'eu-west-1',
provision_type: 'spot_low_price',

timeout: [time: 30, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#! groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

artifactsPipeline(
test_config: 'test-cases/artifacts/ubuntu2204.yaml',
backend: 'gce',
provision_type: 'spot',

timeout: [time: 35, unit: 'MINUTES'],
post_behavior_db_nodes: 'destroy'
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

perfRegressionParallelPipeline(
base_versions: '', // auto mode
backend: "aws",
test_name: "performance_regression_test.PerformanceRegressionUpgradeTest",
test_config: """["test-cases/performance/perf-regression-latency-650gb-with-nemesis.yaml", "configurations/perf-regression-upgrade.yaml"]""",
sub_tests: ["test_latency_write_with_upgrade", "test_latency_read_with_upgrade", "test_latency_mixed_with_upgrade"]
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

perfRegressionParallelPipeline(
backend: "aws",
availability_zone: 'a,b,c',
test_name: "performance_regression_test.PerformanceRegressionTest",
test_config: """["test-cases/performance/perf-regression-latency-650gb-grow-shrink.yaml"]""",
sub_tests: ["test_latency_write_with_nemesis", "test_latency_read_with_nemesis", "test_latency_mixed_with_nemesis"]
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

perfRegressionParallelPipeline(
backend: "aws",
test_name: "performance_regression_test.PerformanceRegressionTest",
test_config: """["test-cases/performance/perf-regression-latency-650gb-with-nemesis.yaml"]""",
sub_tests: ["test_latency_write_with_nemesis", "test_latency_read_with_nemesis", "test_latency_mixed_with_nemesis"]
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

perfRegressionParallelPipeline(
backend: "aws",
region: "us-east-1",
test_name: "performance_regression_test.PerformanceRegressionTest",
test_config: '''["test-cases/performance/perf-regression-latency-1TB.yaml", "configurations/perf-loaders-shard-aware-config.yaml", "configurations/run_db_node_benchmarks.yaml"]''',
sub_tests: ["test_latency"],
test_email_title: "shard-aware"
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

longevityPipeline(
backend: 'aws',
region: 'eu-west-1',
test_name: 'microbenchmarking_test.PerfSimpleQueryTest.test_perf_simple_query',
test_config: 'test-cases/microbenchmarking/amazon_perf_simple_query_ARM.yaml',
email_recipients: "[email protected]"
)

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!groovy

// trick from https://github.com/jenkinsci/workflow-cps-global-lib-plugin/pull/43
def lib = library identifier: 'sct@snapshot', retriever: legacySCM(scm)

longevityPipeline(
backend: 'aws',
region: 'eu-west-1',
test_name: 'microbenchmarking_test.PerfSimpleQueryTest.test_perf_simple_query',
test_config: """[ 'test-cases/microbenchmarking/amazon_perf_simple_query_ARM.yaml', 'test-cases/microbenchmarking/amazon_perf_simple_query_x86.yaml' ]""",
email_recipients: "[email protected]"
)

0 comments on commit 04cf9f7

Please sign in to comment.