-
Notifications
You must be signed in to change notification settings - Fork 13
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 #3349 from ActiveState/version/0-46-0-RC1
Version 0.46.0-RC1
- Loading branch information
Showing
504 changed files
with
12,831 additions
and
26,556 deletions.
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 |
---|---|---|
|
@@ -45,7 +45,6 @@ jobs: | |
runs-on: ${{ matrix.sys.os }} | ||
env: | ||
ACTIVESTATE_CI: true | ||
ACTIVESTATE_CLI_DISABLE_RUNTIME: true | ||
SHELL: bash | ||
GITHUB_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_SHA_OVERRIDE: ${{ github.event.pull_request.head.sha || github.sha }} | ||
|
@@ -69,7 +68,7 @@ jobs: | |
|
||
- # === Install Go === | ||
name: Install Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
||
|
@@ -393,20 +392,42 @@ jobs: | |
|
||
- # === Upload Session Artifacts === | ||
name: Upload Session Artifacts | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: session-build-${{ matrix.sys.os }} | ||
path: build/ | ||
|
||
scan: | ||
name: Scan | ||
needs: | ||
- os_specific | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download All Build Session Artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
path: build/ | ||
merge-multiple: true | ||
|
||
- name: Scan for CVEs | ||
if: runner.os == 'Linux' | ||
uses: aquasecurity/[email protected] | ||
with: | ||
scan-type: rootfs | ||
scan-ref: build | ||
list-all-pkgs: true | ||
ignore-unfixed: true | ||
format: table | ||
exit-code: 1 | ||
|
||
# === Deploy job (runs once with combined artifacts from OS specific job) === | ||
deploy: | ||
name: Deploy | ||
needs: | ||
- os_specific | ||
- scan | ||
runs-on: ubuntu-20.04 | ||
env: | ||
ACTIVESTATE_CI: true | ||
ACTIVESTATE_CLI_DISABLE_RUNTIME: true | ||
SHELL: bash | ||
GITHUB_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_SHA_OVERRIDE: ${{ github.event.pull_request.head.sha || github.sha }} | ||
|
@@ -424,19 +445,20 @@ jobs: | |
|
||
- # === Install Go === | ||
name: Install Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
go-version: 1.22.x | ||
|
||
- # === Install State Tool === | ||
name: Install State Tool | ||
uses: ActiveState/setup-state-tool@v1 | ||
|
||
- # === Download All Build Session Artifacts === | ||
name: Download All Build Session Artifacts | ||
uses: actions/download-artifact@v2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
path: build/ | ||
merge-multiple: true | ||
|
||
- # === Sanitize All Session Artifacts === | ||
name: Sanitize All Session Artifacts | ||
|
@@ -481,7 +503,7 @@ jobs: | |
- # === Cleanup Session Artifacts === | ||
name: Cleanup Session Artifacts | ||
uses: geekyeggo/delete-artifact@v1 | ||
uses: geekyeggo/delete-artifact@v5 | ||
with: | ||
name: | | ||
session-build-ubuntu-20.04 | ||
|
@@ -490,7 +512,7 @@ jobs: | |
- # === Upload Artifacts === | ||
name: Upload Artifacts | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: build | ||
path: build/ |
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
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
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 |
---|---|---|
|
@@ -84,7 +84,7 @@ scripts: | |
language: bash | ||
description: Generates graph server and client files | ||
value: | | ||
go install github.com/99designs/[email protected].24 | ||
go install github.com/99designs/[email protected].46 | ||
cd ./cmd/state-svc && gqlgen --verbose | ||
- name: generate-test-update | ||
language: bash | ||
|
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 |
---|---|---|
|
@@ -55,20 +55,20 @@ scripts: | |
exit 1 | ||
fi | ||
if ! type "golangci-lint" &> /dev/null; then | ||
echo "golangci-lint was not found on your PATH, installing .." | ||
echo "golangci-lint was not found on your PATH. Installing .." | ||
go install github.com/golangci/golangci-lint/cmd/[email protected] | ||
fi | ||
git config core.hooksPath .githooks | ||
if ! type "swagger" &> /dev/null; then | ||
echo "swagger was not found on your PATH, installing .." | ||
echo "swagger was not found on your PATH. Installing .." | ||
go install github.com/go-swagger/go-swagger/cmd/[email protected] | ||
fi | ||
if ! type "actionlint" &> /dev/null; then | ||
echo "actionlint was not found on your PATH, installing .." | ||
echo "actionlint was not found on your PATH. Installing .." | ||
go install github.com/rhysd/actionlint/cmd/[email protected] | ||
fi | ||
if { [[ "$GOOS" == "windows" ]] || [[ "$OS" == "Windows_NT" ]]; } && ! type "goversioninfo" &> /dev/null; then | ||
echo "goversioninfo was not found on your PATH, installing .." | ||
echo "goversioninfo was not found on your PATH. Installing .." | ||
GOFLAGS="" go install github.com/josephspurrier/goversioninfo/cmd/[email protected] | ||
fi | ||
- name: install-deps-os | ||
|
@@ -81,7 +81,7 @@ scripts: | |
if: ne .Shell "cmd" | ||
value: | | ||
if { [[ "$GOOS" == "windows" ]] || [[ "$OS" == "Windows_NT" ]]; } && ! type "goversioninfo" &> /dev/null; then | ||
echo "goversioninfo was not found on your PATH, installing .." | ||
echo "goversioninfo was not found on your PATH. Installing .." | ||
GOFLAGS="" go install github.com/josephspurrier/goversioninfo/cmd/[email protected] | ||
fi | ||
- name: preprocess | ||
|
@@ -319,7 +319,7 @@ scripts: | |
build/state --help | ||
- name: debug | ||
language: bash | ||
description: "Runs a remote debugger, that can be hooked into from your IDE, example usage: `state run debug activate` (will debug `state activate`)" | ||
description: "Runs a remote debugger that can be hooked into from your IDE. Example usage: `state run debug activate` (will debug `state activate`)" | ||
standalone: true | ||
value: dlv debug --headless --listen=:2346 --api-version=2 github.com/ActiveState/cli/cmd/state -- $@ | ||
- name: scripted | ||
|
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
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
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
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
Oops, something went wrong.