-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from splunk/develop
for release
- Loading branch information
Showing
7,633 changed files
with
1,537,470 additions
and
16,638 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
version: 2.1 | ||
orbs: | ||
go: circleci/[email protected] | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/python:3.7-node | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- poetry-{{ checksum "poetry.lock" }} | ||
- restore_cache: | ||
keys: | ||
- npm-deps-{{ checksum "splunk_add_on_ucc_framework/UCC-UI-lib/package-lock.json" }} | ||
- run: | ||
name: Install Tools | ||
command: | | ||
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python | ||
mkdir ~/.npm-global || true | ||
npm config set prefix '~/.npm-global' | ||
export PATH=~/.npm-global/bin:$PATH | ||
npm install -g bower | ||
- run: | ||
name: Build | ||
command: | | ||
source $HOME/.poetry/env | ||
export PATH=~/.npm-global/bin:$PATH | ||
poetry install | ||
poetry run poetry-dynamic-versioning | ||
poetry run build-ucc | ||
poetry build | ||
- save_cache: | ||
key: poetry-{{ checksum "poetry.lock" }} | ||
paths: | ||
- ~/.poetry | ||
- save_cache: | ||
paths: | ||
- ~/.npm-global # location depends on npm version | ||
key: npm-deps-{{ checksum "splunk_add_on_ucc_framework/UCC-UI-lib/package-lock.json" }} | ||
- store_artifacts: | ||
path: dist | ||
- store_artifacts: | ||
path: output | ||
- persist_to_workspace: | ||
# Must be an absolute path, or relative path from working_directory. This is a directory on the container which is | ||
# taken to be the root directory of the workspace. | ||
root: . | ||
# Must be relative path from root | ||
paths: | ||
- dist | ||
- output | ||
|
||
test: | ||
docker: | ||
- image: circleci/python:3.7-node | ||
steps: | ||
- checkout | ||
- attach_workspace: | ||
at: /tmp/workspace | ||
- run: | ||
name: Install Tools | ||
command: | | ||
pip install /tmp/workspace/dist/* | ||
publish: | ||
docker: | ||
- image: circleci/python:3.7-node | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- poetry-{{ checksum "poetry.lock" }} | ||
- restore_cache: | ||
keys: | ||
- npm-deps-{{ checksum "splunk_add_on_ucc_framework/UCC-UI-lib/package-lock.json" }} | ||
- run: | ||
name: Install Tools | ||
command: | | ||
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python | ||
mkdir ~/.npm-global | ||
npm config set prefix '~/.npm-global' | ||
export PATH=~/.npm-global/bin:$PATH | ||
npm install -g bower | ||
- run: | ||
name: Build | ||
command: | | ||
source $HOME/.poetry/env | ||
export PATH=~/.npm-global/bin:$PATH | ||
poetry install | ||
poetry run poetry-dynamic-versioning | ||
poetry run build-ucc | ||
poetry build | ||
poetry publish -u ${TWINE_USERNAME} -p ${TWINE_PASSWORD} | ||
- save_cache: | ||
key: poetry-{{ checksum "poetry.lock" }} | ||
paths: | ||
- ~/.poetry | ||
- save_cache: | ||
paths: | ||
- ~/.npm-global # location depends on npm version | ||
key: npm-deps-{{ checksum "splunk_add_on_ucc_framework/UCC-UI-lib/package-lock.json" }} | ||
- store_artifacts: | ||
path: dist | ||
- store_artifacts: | ||
path: output | ||
- persist_to_workspace: | ||
# Must be an absolute path, or relative path from working_directory. This is a directory on the container which is | ||
# taken to be the root directory of the workspace. | ||
root: . | ||
# Must be relative path from root | ||
paths: | ||
- dist | ||
- output | ||
workflows: | ||
version: 2 | ||
build_test: | ||
jobs: | ||
- build | ||
- test: | ||
requires: | ||
- build | ||
build_release: | ||
jobs: | ||
- publish: | ||
filters: | ||
branches: | ||
ignore: /.*/ | ||
tags: | ||
only: /^v\d*\.\d*\.\d*/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
[submodule "contrib/common"] | ||
path = contrib/common | ||
url = ssh://[email protected]:7999/soln/common.git | ||
[submodule "deps/build/addonfactory_test_matrix_splunk"] | ||
path = deps/build/addonfactory_test_matrix_splunk | ||
url = [email protected]:splunk/addonfactory_test_matrix_splunk.git | ||
[submodule "deps/apps/Splunk_SA_CIM"] | ||
path = deps/apps/Splunk_SA_CIM | ||
url = [email protected]:splunk/addonfactory-splunk_sa_cim.git | ||
[submodule "deps/apps/splunk_env_indexer"] | ||
path = deps/apps/splunk_env_indexer | ||
url = [email protected]:splunk/addonfactory-splunk_env_indexer.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
3.7.8 | ||
2.7.18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ARG SPLUNK_VERSION=latest | ||
FROM splunk/splunk:$SPLUNK_VERSION | ||
ARG SPLUNK_VERSION=latest | ||
ARG SPLUNK_APP_ID=TA_UNKNOWN | ||
ARG SPLUNK_APP_PACKAGE=output | ||
RUN echo Splunk VERSION=$SPLUNK_VERSION | ||
|
||
COPY deps/apps /opt/splunk/etc/apps/ | ||
|
||
COPY output/Splunk_TA_UCCExample /opt/splunk/etc/apps/Splunk_TA_UCCExample |
Oops, something went wrong.