Skip to content

Commit

Permalink
v1.7.0 (#535)
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist committed Feb 23, 2022
1 parent c5c9fc0 commit 6150a45
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 4 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/tag_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,25 @@ jobs:
run: cat cmd/fastly/static/config.toml
- name: "Validate app config"
run: cat cmd/fastly/static/config.toml | grep 'remote_config = "https://developer.fastly.com/api/internal/cli-config"'
# Passing the raw SSH private key causes an error:
# Load key "/tmp/id_*": invalid format
#
# Testing locally we discovered that storing in a file and passing the file path works.
#
# NOTE:
# The file aur_key must be added to .gitignore otherwise a 'dirty state' error is triggered in goreleaser.
# https://github.com/goreleaser/goreleaser/blob/9505cf7054b05a6e9a4a36f806d525bc33660e9e/www/docs/errors/dirty.md
#
# You must also reduce the permissions from a default of 0644 to 600 to avoid a 'bad permissions' error.
- name: "Store AUR_KEY in local file"
run: echo '${{ secrets.AUR_KEY }}' > '${{ github.workspace }}/aur_key' && chmod 600 '${{ github.workspace }}/aur_key'
- name: "Run GoReleaser"
uses: goreleaser/goreleaser-action@v2
with:
version: v1.4.1 # goreleaser version (NOT goreleaser-action version)
version: v1.5.0 # goreleaser version (NOT goreleaser-action version)
args: release --rm-dist
env:
AUR_KEY: ${{ secrets.AUR_KEY }}
AUR_KEY: '${{ github.workspace }}/aur_key'
GOVERSION: ${{ env.GOVERSION }}
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
- name: "Generate release commits"
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ build/

# Ignore application configuration
vendor/

# Ignore generated file for AUR_KEY which is passed to goreleaser as an environment variable.
aur_key
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# Changelog

## [v1.7.0](https://github.com/fastly/cli/releases/tag/v1.7.0) (2022-02-22)

[Full Changelog](https://github.com/fastly/cli/compare/v1.6.0...v1.7.0)

**Enhancements:**

* Add `fastly` user to Dockerfiles [#521](https://github.com/fastly/cli/pull/521)
* Support Sentry 'suspect commit' feature [#508](https://github.com/fastly/cli/pull/508)
* Populate language manifest `name` field with project name [#527](https://github.com/fastly/cli/pull/527)
* Make `--name` flag for `service search` command a required flag [#529](https://github.com/fastly/cli/pull/529)
* Update config `last_checked` field even on config load error [#528](https://github.com/fastly/cli/pull/528)
* Implement Compute@Edge Free Trial Activation [#531](https://github.com/fastly/cli/pull/531)
* Bump Rust toolchain constraint to `1.56.1` for 2021 edition [#533](https://github.com/fastly/cli/pull/533533533533533)
* Support Arch User Repositories [#530](https://github.com/fastly/cli/pull/530)

## [v1.6.0](https://github.com/fastly/cli/releases/tag/v1.6.0) (2022-01-20)

[Full Changelog](https://github.com/fastly/cli/compare/v1.5.0...v1.6.0)
Expand Down
9 changes: 7 additions & 2 deletions cmd/fastly/static/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ remote_config = "https://developer.fastly.com/api/internal/cli-config"
ttl = "5m"

[language.rust]
toolchain_version = "1.54.0"
toolchain_constraint = ">= 1.54.0"
toolchain_version = "1.56.1"
toolchain_constraint = ">= 1.56.1"
wasm_wasi_target = "wasm32-wasi"
fastly_sys_constraint = ">= 0.3.3"
rustup_constraint = ">= 1.23.0"
Expand Down Expand Up @@ -37,6 +37,11 @@ name = "Default starter for Rust"
description = "A basic starter kit that demonstrates routing, simple synthetic responses and overriding caching rules."
path = "https://github.com/fastly/compute-starter-kit-rust-default"

[[starter-kits.rust]]
name = "Empty starter for Rust"
description = "An empty starter kit project template."
path = "https://github.com/fastly/compute-starter-kit-rust-empty"

[[starter-kits.rust]]
name = "Static content"
description = "Apply performance, security and usability upgrades to static bucket services such as Google Cloud Storage or AWS S3."
Expand Down

0 comments on commit 6150a45

Please sign in to comment.