Skip to content
This repository was archived by the owner on Sep 16, 2025. It is now read-only.

Commit b261bc0

Browse files
feat: initial aws sagemaker orb (#1)
* feat: initial aws sagemaker orb
1 parent f43cc33 commit b261bc0

22 files changed

+689
-0
lines changed

.circleci/config.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
version: 2.1
2+
setup: true
3+
orbs:
4+
orb-tools: circleci/[email protected]
5+
shellcheck: circleci/[email protected]
6+
7+
filters: &filters
8+
tags:
9+
only: /.*/
10+
11+
workflows:
12+
lint-pack:
13+
jobs:
14+
- orb-tools/lint:
15+
source_dir: src
16+
filters: *filters
17+
- orb-tools/pack:
18+
source_dir: src
19+
filters: *filters
20+
- orb-tools/review:
21+
source_dir: src
22+
filters: *filters
23+
- shellcheck/check:
24+
filters: *filters
25+
- orb-tools/continue:
26+
orb_name: aws-sagemaker
27+
pipeline_number: << pipeline.number >>
28+
vcs_type: << pipeline.project.type >>
29+
requires:
30+
[orb-tools/lint, orb-tools/review, orb-tools/pack, shellcheck/check]
31+
filters: *filters

.circleci/test-deploy.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
version: 2.1
2+
orbs:
3+
orb-tools: circleci/[email protected]
4+
aws-sagemaker: {}
5+
6+
filters: &filters
7+
tags:
8+
only: /.*/
9+
10+
release-filters: &release-filters
11+
branches:
12+
ignore: /.*/
13+
tags:
14+
only: /^v[0-9]+\.[0-9]+\.[0-9]+$/
15+
16+
jobs:
17+
testing-setup-command:
18+
docker:
19+
- image: cimg/base:current-22.04
20+
steps:
21+
- aws-sagemaker/setup
22+
- run:
23+
name: Verify aws-sagemaker/setup
24+
command: which cci-sagemaker
25+
workflows:
26+
test-deploy:
27+
jobs:
28+
- testing-setup-command:
29+
filters: *filters
30+
- orb-tools/pack:
31+
filters: *release-filters
32+
- orb-tools/publish:
33+
orb_name: circleci/aws-sagemaker
34+
vcs_type: << pipeline.project.type >>
35+
pub_type: production
36+
requires:
37+
- orb-tools/pack
38+
- testing-setup-command
39+
context: Circleci-Ai-Orb-Publishing
40+
filters: *release-filters

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Ping these folks when changes are made to this repository
2+
- @CircleCI-Public/orb-publishers
3+
4+
# We can also add orb-specifc codeowners at some point if desirable
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: "\U0001F680 Feature Request"
3+
about: Propose changes to the orb.
4+
title: ''
5+
labels: feature_request
6+
assignees: ''
7+
---
8+
9+
## Describe Request:
10+
11+
## Examples:
12+
13+
## Supporting Documentation Links:

.github/ISSUE_TEMPLATE/bug.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
name: "\U0001F41E Bug report"
3+
about: Report any bugs encountered while using this orb.
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
## Orb version:
11+
12+
<!---
13+
e.g., 1.0.0
14+
find this information in your config.yml file;
15+
if the version is @volatile, check the top of your CircleCI-generated,
16+
expanded configuration file, viewable from the "Configuration" tab of
17+
any job page, for the orb's specific semantic version number
18+
-->
19+
20+
## What happened:
21+
22+
<!---
23+
please include any relevant links to CircleCI workflows or jobs
24+
where you saw this behavior
25+
-->
26+
27+
## Expected behavior:
28+
29+
<!--- what should happen, ideally? -->
30+
31+
## Additional Information:
32+
33+
<!--- Provide any additional context possible. -->

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
2+
**SEMVER Update Type:**
3+
- [ ] Major
4+
- [ ] Minor
5+
- [ ] Patch
6+
7+
## Description:
8+
9+
<!---
10+
Describe your changes in detail, preferably in an imperative mood,
11+
i.e., "add `commandA` to `jobB`"
12+
-->
13+
14+
## Motivation:
15+
16+
<!---
17+
Share any open issues this PR references or otherwise describe the motivation to submit this pull request.
18+
-->
19+
20+
**Closes Issues:**
21+
- ISSUE URL
22+
23+
## Checklist:
24+
25+
<!--
26+
Thank you for contributing to CircleCI Orbs!
27+
before submitting your a request, please go through the following
28+
items and place an x in the [ ] if they have been completed
29+
-->
30+
31+
- [ ] All new jobs, commands, executors, parameters have descriptions.
32+
- [ ] Usage Example version numbers have been updated.
33+
- [ ] Changelog has been updated.

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
11
# aws-sagemaker-orb
2+
3+
🚧 NOTE: This repo is under construction and not for use yet 🚧
4+
5+
# AWS Sagemaker Orb [![CircleCI Build Status](https://circleci.com/gh/CircleCI-Public/aws-sagemaker-orb.svg?style=shield "CircleCI Build Status")](https://circleci.com/gh/CircleCI-Public/aws-sagemaker-orb) [![CircleCI Orb Version](https://badges.circleci.com/orbs/circleci/aws-sagemaker.svg)](https://circleci.com/orbs/registry/orb/circleci/aws-sagemaker) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/circleci-public/aws-sagemaker-orb/main/LICENSE) [![CircleCI Community](https://img.shields.io/badge/community-CircleCI%20Discuss-343434.svg)](https://discuss.circleci.com/c/ecosystem/orbs)
6+
7+
This repository has the code for the the CircleCI [AWS Sagemaker Orb](https://github.com/CircleCI-Public/aws-sagemaker-orb). Please note that this version is currently in beta. Explore, understand, and experiment, but proceed with caution when integrating it into practical applications. 🛠✨
8+
9+
## Usage
10+
11+
### Setup
12+
13+
In order to use the AWS Sagemaker Orb on CircleCI you will need to setup environment variables either in context or project env vars. Required variables are SAGEMAKER_EXECUTION_ROLE_ARN.
14+
This Orb uses the circleci provided job token called CIRCLE_OIDC_TOKEN to get authenticated with your AWS sagemaker service.
15+
16+
### Use In Config
17+
18+
For full usage guidelines, see the [Orb Registry listing](http://circleci.com/orbs/registry/orb/circleci/aws-sagemaker).
19+
20+
---
21+
22+
## FAQ
23+
24+
View the [FAQ in the wiki](https://github.com/CircleCI-Public/aws-sagemaker-orb/wiki/FAQ)
25+
26+
## Contributing
27+
28+
We welcome [issues](https://github.com/CircleCI-Public/aws-sagemaker-orb/issues) to and [pull requests](https://github.com/CircleCI-Public/aws-sagemaker-orb/pulls) against this repository!
29+
30+
For further questions/comments about this or other orbs, visit [CircleCI's orbs discussion forum](https://discuss.circleci.com/c/orbs).

src/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# orb.yml is "packed" from source, and not published directly from the repository.
2+
orb.yml
3+
.DS_Store

src/.yamllint

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
extends: relaxed
2+
3+
rules:
4+
line-length:
5+
max: 200
6+
allow-non-breakable-inline-mappings: true

0 commit comments

Comments
 (0)