Skip to content

Commit fb6c7c5

Browse files
author
Chris Dostert
committed
chore) bootstrap w/ updated slack link
1 parent 2be0e0e commit fb6c7c5

File tree

6 files changed

+26
-22
lines changed

6 files changed

+26
-22
lines changed

.opspec/build/op.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
11
name: build
2-
description: builds the package
2+
description: builds the op
33
inputs:
44
srcDir:
55
dir:
66
default: .
77
outputs:
88
srcDir:
99
dir: {}
10+
opspec: 0.1.6
1011
run:
1112
serial:
1213
- op:
13-
pkg: { ref: test }
14+
ref: test
1415
inputs: { srcDir }
1516
- op:
16-
pkg: { ref: github.com/opspec-pkgs/_.pkg.bootstrap#1.0.0 }
17+
ref: github.com/opspec-pkgs/_.op.bootstrap#2.0.1
1718
inputs:
1819
srcDir:
1920
outputs:

.opspec/provision-image/op.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
name: build
1+
name: provision-image
22
description: |
3-
Provisions image for the pkg w/ name `opspecpkgs/$(opDotYml.name):${opDotYml.version}`.
3+
Provisions image for the op to [opspecpkgs docker hub org](https://hub.docker.com/u/opspecpkgs) w/ name `opspecpkgs/$(opDotYml.name):${opDotYml.version}`.
44
55
> Before first use, a Dockerfile MUST be added to `.opspec/provision-image`
66
inputs:
@@ -16,10 +16,11 @@ inputs:
1616
srcDir:
1717
dir:
1818
default: .
19+
opspec: 0.1.6
1920
run:
2021
serial:
2122
- op:
22-
pkg: { ref: github.com/opspec-pkgs/yaml.parse#1.0.0 }
23+
ref: github.com/opspec-pkgs/yaml.parse#1.0.0
2324
inputs: { yaml: $(srcDir/op.yml) }
2425
outputs: { opDotYml: result }
2526
- container:
@@ -30,15 +31,15 @@ run:
3031
files:
3132
/imageName: $(imageName)
3233
- op:
33-
pkg: { ref: github.com/opspec-pkgs/docker.image.build#2.1.0 }
34+
ref: github.com/opspec-pkgs/docker.image.build#2.1.0
3435
inputs:
3536
dockerfile: $(/Dockerfile)
3637
imageName:
3738
outputs: { imageTar }
3839
- op:
39-
pkg: { ref: github.com/opspec-pkgs/docker.image.push#2.1.0 }
40+
ref: github.com/opspec-pkgs/docker.image.push#2.1.0
4041
inputs:
4142
imageTar:
4243
imageName:
4344
username: $(dockerUsername)
44-
password: $(dockerPassword)
45+
password: $(dockerPassword)

.opspec/release/op.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: release
2-
description: releases the package
2+
description: releases the op
33
inputs:
44
githubUsername:
55
string:
@@ -16,20 +16,21 @@ inputs:
1616
outputs:
1717
srcDir:
1818
dir: {}
19+
opspec: 0.1.6
1920
run:
2021
serial:
2122
- op:
22-
pkg: { ref: build }
23+
ref: build
2324
inputs:
2425
srcDir:
2526
outputs:
2627
srcDir:
2728
- op:
28-
pkg: { ref: github.com/opspec-pkgs/yaml.parse#1.0.0 }
29+
ref: github.com/opspec-pkgs/yaml.parse#1.0.0
2930
inputs: { yaml: $(srcDir/op.yml) }
3031
outputs: { opDotYml: result }
3132
- op:
32-
pkg: { ref: github.com/opspec-pkgs/git.repo.resolve-commit#1.0.2 }
33+
ref: github.com/opspec-pkgs/git.repo.resolve-commit#1.0.2
3334
inputs: { dotGitDir: $(srcDir/.git) }
3435
outputs: { commit: }
3536
- container:
@@ -40,7 +41,7 @@ run:
4041
files:
4142
/opRepo: $(opRepo)
4243
- op:
43-
pkg: { ref: github.com/opspec-pkgs/github.release.create#1.1.0 }
44+
ref: github.com/opspec-pkgs/github.release.create#1.1.0
4445
inputs:
4546
owner: opspec-pkgs
4647
repo: $(opRepo)

.opspec/test/op.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
name: test
2-
description: tests the package
2+
description: tests the op
33
inputs:
44
srcDir:
55
dir:
66
default: .
7+
opspec: 0.1.6
78
run:
89
op:
9-
pkg: { ref: github.com/opspec-pkgs/opspec.op.validate#2.0.0 }
10+
ref: github.com/opspec-pkgs/opspec.v0.1.6.op.validate#1.0.0
1011
inputs: { op: $(srcDir) }

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: generic
22
sudo: required
33
before_script:
4-
- curl -L https://bin.equinox.io/c/4fmGop7rntx/opctl-beta-linux-amd64.tgz | sudo tar -xzv -C /usr/local/bin
4+
- curl -L https://github.com/opctl/opctl/releases/download/0.1.24/opctl0.1.24.linux.tgz | sudo tar -xzv -C /usr/local/bin
55
services:
66
- docker
77
script:

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ creates an azure storage account (if it doesn't already exist)
88

99
# Format
1010

11-
this version of the pkg is in [![opspec 0.1.5](https://img.shields.io/badge/opspec-0.1.5-brightgreen.svg?colorA=6b6b6b&colorB=fc16be)](https://opspec.io/0.1.5/packages.html) format
11+
the op uses [![opspec 0.1.5](https://img.shields.io/badge/opspec-0.1.5-brightgreen.svg?colorA=6b6b6b&colorB=fc16be)](https://opspec.io/0.1.5) definition format
1212

1313
# Example usage
1414

1515
## Install
1616

1717
```shell
18-
opctl pkg install github.com/opspec-pkgs/azure.storage.account.create#2.1.0
18+
opctl op install github.com/opspec-pkgs/azure.storage.account.create#2.1.0
1919
```
2020

2121
## Run
@@ -28,13 +28,13 @@ opctl run github.com/opspec-pkgs/azure.storage.account.create#2.1.0
2828

2929
```yaml
3030
op:
31-
pkg: { ref: github.com/opspec-pkgs/azure.storage.account.create#2.1.0 }
31+
ref: github.com/opspec-pkgs/azure.storage.account.create#2.1.0
3232
inputs:
33-
subscriptionId:
3433
loginId:
3534
loginSecret:
3635
name:
3736
resourceGroup:
37+
subscriptionId:
3838
# params w/ default
3939
customDomain:
4040
kind:
@@ -48,7 +48,7 @@ op:
4848
# Support
4949
5050
join us on
51-
[![Slack](https://opspec-slackin.herokuapp.com/badge.svg)](https://opspec-slackin.herokuapp.com/)
51+
[![Slack](https://opctl-slackin.herokuapp.com/badge.svg)](https://opctl-slackin.herokuapp.com/)
5252
or
5353
[open an issue](https://github.com/opspec-pkgs/azure.storage.account.create/issues)
5454

0 commit comments

Comments
 (0)