Skip to content

Commit 53de80c

Browse files
committed
Merge tag '26.0.2' into develop
26.0.2 26.0.2
2 parents 6e04970 + edef019 commit 53de80c

3 files changed

Lines changed: 44 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
# [26.0.2] - 2026-09-01
4+
- add `build_spec.yaml` for OCI CI/CD
5+
36
# [26.0.1] - 2026-07-25
47
- allow setting elasticsearch's `ssl_assert_hostname` with env var `ELASTICSEARCH8_ASSERT_HOSTNAME`
58

build_spec.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
version: 0.1
2+
component: build
3+
timeoutInSeconds: 3600
4+
shell: bash
5+
failImmediatelyOnError: true
6+
env:
7+
variables:
8+
GENERIC_BUILD_PIPELINE_OCID: "ocid1.devopsbuildpipeline.oc1.iad.amaaaaaa2jd6obqazeiqmcdnextophmsh2n5a5zt5aoty5hrddd5n6b5rmhq"
9+
HELM_CHART_NAME: "share"
10+
GIT_REPO_URL: "https://github.com/CenterForOpenScience/SHARE.git"
11+
steps:
12+
- type: Command
13+
name: "Install jq"
14+
command: |
15+
VERSION=1.8.2
16+
PLATFORM=linux-amd64
17+
wget https://github.com/jqlang/jq/releases/download/jq-${VERSION}/jq-${PLATFORM} -O /usr/local/bin/jq &&\
18+
chmod +x /usr/local/bin/jq
19+
- type: Command
20+
name: "Trigger Generic CICD Pipes"
21+
command: |
22+
GIT_BRANCH="${OCI_PRIMARY_SOURCE_BRANCH_NAME}"
23+
GIT_COMMIT="${OCI_PRIMARY_SOURCE_COMMIT_HASH}"
24+
# Trigger generic pipes with vars/params
25+
build_run_arguments=$(jq -cn \
26+
--arg helm_chart_name "${HELM_CHART_NAME}" \
27+
--arg git_repo_url "${GIT_REPO_URL}" \
28+
--arg git_branch "${GIT_BRANCH}" \
29+
--arg git_commit "${GIT_COMMIT}" \
30+
'{"items": [
31+
{"name": "HELM_CHART_NAME", "value": $helm_chart_name},
32+
{"name": "GIT_REPO_URL", "value": $git_repo_url},
33+
{"name": "GIT_BRANCH", "value": $git_branch},
34+
{"name": "GIT_COMMIT", "value": $git_commit}
35+
]}')
36+
37+
oci devops build-run create \
38+
--build-pipeline-id "${GENERIC_BUILD_PIPELINE_OCID}" \
39+
--display-name "build-${HELM_CHART_NAME}-${GIT_BRANCH}-${GIT_COMMIT}" \
40+
--build-run-arguments "${build_run_arguments}"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "shtrove"
3-
version = "26.0.1"
3+
version = "26.0.2"
44
description = ""
55
authors = [
66
{name = "CenterForOpenScience", email = "share-support@cos.io"}

0 commit comments

Comments
 (0)