Skip to content

Commit fd65859

Browse files
committed
try release
1 parent 4f2db44 commit fd65859

File tree

3 files changed

+39
-38
lines changed

3 files changed

+39
-38
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,29 @@ jobs:
1919
goreleaser:
2020
runs-on: ubuntu-latest
2121
steps:
22-
-
23-
name: Checkout
22+
- name: Checkout
2423
uses: actions/checkout@v2
25-
-
26-
name: Unshallow
24+
25+
- name: Unshallow
2726
run: git fetch --prune --unshallow
28-
-
29-
name: Set up Go
27+
28+
- name: Set up Go
3029
uses: actions/setup-go@v2
3130
with:
3231
go-version: 1.14
33-
-
34-
name: Import GPG key
35-
id: import_gpg
36-
uses: paultyng/ghaction-import-gpg@v2.1.0
37-
env:
38-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
39-
PASSPHRASE: ${{ secrets.PASSPHRASE }}
40-
-
41-
name: Run GoReleaser
32+
33+
# - name: Import GPG key
34+
# id: import_gpg
35+
# uses: paultyng/ghaction-import-gpg@v2.1.0
36+
# env:
37+
# GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
38+
# PASSPHRASE: ${{ secrets.PASSPHRASE }}
39+
40+
- name: Run GoReleaser
4241
uses: goreleaser/goreleaser-action@v2
4342
with:
4443
version: latest
4544
args: release --rm-dist
4645
env:
47-
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
46+
# GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
4847
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.goreleaser.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,21 @@ builds:
3232
archives:
3333
- format: zip
3434
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
35-
checksum:
36-
name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
37-
algorithm: sha256
38-
signs:
39-
- artifacts: checksum
40-
args:
41-
# if you are using this is a GitHub action or some other automated pipeline, you
42-
# need to pass the batch flag to indicate its not interactive.
43-
- "--batch"
44-
- "--local-user"
45-
- "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
46-
- "--output"
47-
- "${signature}"
48-
- "--detach-sign"
49-
- "${artifact}"
35+
# checksum:
36+
# name_template: '{{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
37+
# algorithm: sha256
38+
# signs:
39+
# - artifacts: checksum
40+
# args:
41+
# # if you are using this is a GitHub action or some other automated pipeline, you
42+
# # need to pass the batch flag to indicate its not interactive.
43+
# - "--batch"
44+
# - "--local-user"
45+
# - "{{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
46+
# - "--output"
47+
# - "${signature}"
48+
# - "--detach-sign"
49+
# - "${artifact}"
5050
release:
5151
# If you want to manually examine the release before its live, uncomment this line:
5252
# draft: true

examples/main.tf

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@ terraform {
99

1010
provider "iterative" {}
1111

12-
/* resource "iterative_machine" "machine" {
12+
resource "iterative_machine" "machine" {
1313
region = "us-west-1"
14-
instance_ami = "ami-03ba3948f6c37a4b0"
1514
aws_security_group = "default"
1615
key_public = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCcztk+/ibMWJH7LTjcw5KhlDKW1y/gJVB3ivk3D0YMa84ylL5pc8/3zd4PkAvX4eJX0Yi/dE9r4dY+8+ws/1pIuAO9y9Fu3ev+Cj8CKbFbgxaLDlaWHCV/y295rhmgfArtTB4KCbQ2EihXgodzddA9FGiyPoeYWilUUNDsi9wBTsouGahaFpiDVeAkexkUgGtGUWTW7OcTgvagGmKoNogWEpo9VBU3gGEoWj/I1TecQmOs09NFMyj1DdtRfsKYhQUfYz1W38ht0zCuPHKOnVGLDK4vd3nI2KzKJu0/CcFbjlJNqPrHHooIGJtmQRQIsSyI6hCUPK3ZCI7o+viaGqP+Awbo7XSKyexqd81bhgha98jqy6304jOG5qSUewgeK7VNq2FEXQ0D7ox0Yci/TgM7w+XVpjOf6XEUjkUyoLoL1xkxcINdZozWzeXK/dykvfXo+nwALT4UhjMx7fk46e2lRyExBuD4L0ah8rDT1ZUORsDkEVvmCx/tJqO1drrUPLT846Cb0E6oebcYCUCN9r8qo2BeipG44VkX0jL9BLB2IZeP5BpXFT+bo3zjXqEtX3l/5iJ42jOJodmw70gaf/7c2NWumydR2STuDQLUSvJC2Xtka5M/CHfNX3ShssrJaR/oKacU8F5DaPqTH9RSJ3oSs8Kr247E20i1BzDTwrWicQ== g.ortega.david@gmail.com"
17-
} */
16+
}
1817
/*
1918
resource "iterative_machine" "machine2" {
2019
region = "us-west-1"
21-
instance_ami = "ami-03ba3948f6c37a4b0"
2220
aws_security_group = "default"
2321
} */
2422

@@ -27,8 +25,12 @@ resource "iterative_machine" "machine2" {
2725
# region = "us-west-1"
2826
# }
2927

30-
resource "iterative_machine" "machine4" {
28+
# resource "iterative_machine" "machine4" {
29+
# region = "us-west-2"
30+
# instance_hdd_size = 110
31+
# }
32+
33+
/* resource "iterative_machine" "machine5" {
3134
region = "us-west-2"
32-
instance_hdd_size = 110
33-
}
35+
} */
3436

0 commit comments

Comments
 (0)