Updating GHES workflows

This commit is contained in:
GitHub Actions
2020-05-20 18:39:56 +00:00
parent 8f45305178
commit 2ba37119d3
50 changed files with 0 additions and 930 deletions
-13
View File
@@ -1,13 +0,0 @@
name: Greetings
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Message that will be displayed on users'' first issue'
pr-message: 'Message that will be displayed on users'' first pr'
-19
View File
@@ -1,19 +0,0 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler/blob/master/README.md
name: Labeler
on: [pull_request]
jobs:
label:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
@@ -1,6 +0,0 @@
{
"name": "Greetings",
"description": "Greets users who are first time contributors to the repo",
"iconName": "octicon smiley",
"categories": ["Automation", "SDLC"]
}
@@ -1,6 +0,0 @@
{
"name": "Labeler",
"description": "Labels pull requests based on the files changed",
"iconName": "octicon tag",
"categories": ["Automation", "SDLC"]
}
-80
View File
@@ -1,80 +0,0 @@
# This workflow will build and push a new container image to Amazon ECR,
# and then will deploy a new task definition to Amazon ECS, when a release is created
#
# To use this workflow, you will need to complete the following set-up steps:
#
# 1. Create an ECR repository to store your images.
# For example: `aws ecr create-repository --repository-name my-ecr-repo --region us-east-2`.
# Replace the value of `ECR_REPOSITORY` in the workflow below with your repository's name.
# Replace the value of `aws-region` in the workflow below with your repository's region.
#
# 2. Create an ECS task definition, an ECS cluster, and an ECS service.
# For example, follow the Getting Started guide on the ECS console:
# https://us-east-2.console.aws.amazon.com/ecs/home?region=us-east-2#/firstRun
# Replace the values for `service` and `cluster` in the workflow below with your service and cluster names.
#
# 3. Store your ECS task definition as a JSON file in your repository.
# The format should follow the output of `aws ecs register-task-definition --generate-cli-skeleton`.
# Replace the value of `task-definition` in the workflow below with your JSON file's name.
# Replace the value of `container-name` in the workflow below with the name of the container
# in the `containerDefinitions` section of the task definition.
#
# 4. Store an IAM user access key in GitHub Actions secrets named `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
# See the documentation for each action used below for the recommended IAM policies for this IAM user,
# and best practices on handling the access key credentials.
on:
release:
types: [created]
name: Deploy to Amazon ECS
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-2
- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
- name: Build, tag, and push image to Amazon ECR
id: build-image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
ECR_REPOSITORY: my-ecr-repo
IMAGE_TAG: ${{ github.sha }}
run: |
# Build a docker container and
# push it to ECR so that it can
# be deployed to ECS.
docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "::set-output name=image::$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG"
- name: Fill in the new image ID in the Amazon ECS task definition
id: task-def
uses: aws-actions/amazon-ecs-render-task-definition@v1
with:
task-definition: task-definition.json
container-name: sample-app
image: ${{ steps.build-image.outputs.image }}
- name: Deploy Amazon ECS task definition
uses: aws-actions/amazon-ecs-deploy-task-definition@v1
with:
task-definition: ${{ steps.task-def.outputs.task-definition }}
service: sample-app-service
cluster: default
wait-for-service-stability: true
-46
View File
@@ -1,46 +0,0 @@
# This workflow will build and push a node.js application to an Azure Web App when a release is created.
#
# This workflow assumes you have already created the target Azure App Service web app.
# For instructions see https://docs.microsoft.com/azure/app-service/app-service-plan-manage#create-an-app-service-plan
#
# To configure this workflow:
#
# 1. Set up a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE with the value of your Azure publish profile.
# For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret
#
# 2. Change the values for the AZURE_WEBAPP_NAME, AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables (below).
#
# For more information on GitHub Actions for Azure, refer to https://github.com/Azure/Actions
# For more samples to get started with GitHub Action workflows to deploy to Azure, refer to https://github.com/Azure/actions-workflow-samples
on:
release:
types: [created]
env:
AZURE_WEBAPP_NAME: your-app-name # set this to your application's name
AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
NODE_VERSION: '10.x' # set this to the node version to use
jobs:
build-and-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v1
with:
node-version: ${{ env.NODE_VERSION }}
- name: npm install, build, and test
run: |
# Build and test the project, then
# deploy to Azure Web App.
npm install
npm run build --if-present
npm run test --if-present
- name: 'Deploy to Azure WebApp'
uses: azure/webapps-deploy@v2
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
package: ${{ env.AZURE_WEBAPP_PACKAGE_PATH }}
-30
View File
@@ -1,30 +0,0 @@
name: Django CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
python manage.py test
-24
View File
@@ -1,24 +0,0 @@
name: Elixir CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup elixir
uses: actions/setup-elixir@v1
with:
elixir-version: 1.9.4 # Define the elixir version [required]
otp-version: 22.2 # Define the OTP version [required]
- name: Install Dependencies
run: mix deps.get
- name: Run Tests
run: mix test
-42
View File
@@ -1,42 +0,0 @@
name: Ruby Gem
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
version: 2.6.x
- name: Publish to GPR
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:github: Bearer ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
env:
GEM_HOST_API_KEY: ${{secrets.GPR_AUTH_TOKEN}}
OWNER: username
- name: Publish to RubyGems
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: ${{secrets.RUBYGEMS_AUTH_TOKEN}}
-75
View File
@@ -1,75 +0,0 @@
# This workflow will build a docker container, publish it to Google Container Registry, and deploy it to GKE when a release is created
#
# To configure this workflow:
#
# 1. Ensure that your repository contains the necessary configuration for your Google Kubernetes Engine cluster, including deployment.yml, kustomization.yml, service.yml, etc.
#
# 2. Set up secrets in your workspace: GKE_PROJECT with the name of the project, GKE_EMAIL with the service account email, GKE_KEY with the Base64 encoded JSON service account key (https://github.com/GoogleCloudPlatform/github-actions/tree/docs/service-account-key/setup-gcloud#inputs).
#
# 3. Change the values for the GKE_ZONE, GKE_CLUSTER, IMAGE, REGISTRY_HOSTNAME and DEPLOYMENT_NAME environment variables (below).
name: Build and Deploy to GKE
on:
release:
types: [created]
# Environment variables available to all jobs and steps in this workflow
env:
GKE_PROJECT: ${{ secrets.GKE_PROJECT }}
GKE_EMAIL: ${{ secrets.GKE_EMAIL }}
GITHUB_SHA: ${{ github.sha }}
GKE_ZONE: us-west1-a
GKE_CLUSTER: example-gke-cluster
IMAGE: gke-test
REGISTRY_HOSTNAME: gcr.io
DEPLOYMENT_NAME: gke-test
jobs:
setup-build-publish-deploy:
name: Setup, Build, Publish, and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Setup gcloud CLI
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
with:
version: '270.0.0'
service_account_email: ${{ secrets.GKE_EMAIL }}
service_account_key: ${{ secrets.GKE_KEY }}
# Configure docker to use the gcloud command-line tool as a credential helper
- run: |
# Set up docker to authenticate
# via gcloud command-line tool.
gcloud auth configure-docker
# Build the Docker image
- name: Build
run: |
docker build -t "$REGISTRY_HOSTNAME"/"$GKE_PROJECT"/"$IMAGE":"$GITHUB_SHA" \
--build-arg GITHUB_SHA="$GITHUB_SHA" \
--build-arg GITHUB_REF="$GITHUB_REF" .
# Push the Docker image to Google Container Registry
- name: Publish
run: |
docker push $REGISTRY_HOSTNAME/$GKE_PROJECT/$IMAGE:$GITHUB_SHA
# Set up kustomize
- name: Set up Kustomize
run: |
curl -o kustomize --location https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64
chmod u+x ./kustomize
# Deploy the Docker image to the GKE cluster
- name: Deploy
run: |
gcloud container clusters get-credentials $GKE_CLUSTER --zone $GKE_ZONE --project $GKE_PROJECT
./kustomize edit set image $REGISTRY_HOSTNAME/$GKE_PROJECT/$IMAGE:${GITHUB_SHA}
./kustomize build . | kubectl apply -f -
kubectl rollout status deployment/$DEPLOYMENT_NAME
kubectl get services -o wide
-40
View File
@@ -1,40 +0,0 @@
name: Haskell CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-haskell@v1
with:
ghc-version: '8.8.2'
cabal-version: '3.0'
- name: Cache
uses: actions/cache@v1
env:
cache-name: cache-cabal
with:
path: ~/.cabal
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.cabal') }}-${{ hashFiles('**/cabal.project') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Install dependencies
run: |
cabal update
cabal build --only-dependencies --enable-tests --enable-benchmarks
- name: Build
run: cabal build --enable-tests --enable-benchmarks all
- name: Run tests
run: cabal test all
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Deploy to Amazon ECS",
"description": "Deploy a container to an Amazon ECS service powered by AWS Fargate or Amazon EC2.",
"iconName": "aws",
"categories": null
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Deploy Node.js to Azure Web App",
"description": "Build a Node.js project and deploy it to an Azure Web App.",
"iconName": "azure",
"categories": null
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Django",
"description": "Build and Test a Django Project",
"iconName": "django",
"categories": ["Python", "Django"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Elixir",
"description": "Build and test an Elixir project with Mix.",
"iconName": "elixir",
"categories": ["Elixir", "Erlang"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Ruby Gem",
"description": "Pushes a Ruby Gem to RubyGems and GitHub Package Registry.",
"iconName": "ruby-gems",
"categories": ["Ruby", "SDLC"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Build and Deploy to GKE",
"description": "Build a docker container, publish it to Google Container Registry, and deploy to GKE.",
"iconName": "googlegke",
"categories": null
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Haskell",
"description": "Build and test a Haskell project with Cabal.",
"iconName": "haskell",
"categories": ["Haskell"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Python application",
"description": "Create and test a Python application.",
"iconName": "python",
"categories": ["Python"]
}
@@ -1,6 +0,0 @@
{
"name": "Python package",
"description": "Create and test a Python package on multiple Python versions.",
"iconName": "python",
"categories": ["Python"]
}
@@ -1,6 +0,0 @@
{
"name": "Publish Python Package",
"description": "Publish a Python Package to PyPI on release.",
"iconName": "python",
"categories": ["Python"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Ruby",
"description": "Build and test a Ruby project with Rake.",
"iconName": "ruby",
"categories": ["Ruby"]
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Tencent Kubernetes Engine",
"description": "This workflow will build a docker container, publish and deploy it to Tencent Kubernetes Engine (TKE).",
"iconName": "tencentcloud",
"categories": null
}
-6
View File
@@ -1,6 +0,0 @@
{
"name": "Terraform",
"description": "Set up Terraform CLI in your GitHub Actions workflow.",
"iconName": "terraform",
"categories": null
}
@@ -1,6 +0,0 @@
{
"name": "WPF .NET Core",
"description": "Build, test and publish a Wpf application built on .NET Core.",
"iconName": "dotnetcore",
"categories": ["C#", "Visual Basic", "WPF", ".NET"]
}
-36
View File
@@ -1,36 +0,0 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python application
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
-39
View File
@@ -1,39 +0,0 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Python package
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
pytest
-31
View File
@@ -1,31 +0,0 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Upload Python Package
on:
release:
types: [created]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
-33
View File
@@ -1,33 +0,0 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
name: Ruby
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
# change this to (see https://github.com/ruby/setup-ruby#versioning):
# uses: ruby/setup-ruby@v1
uses: ruby/setup-ruby@ec106b438a1ff6ff109590de34ddc62c540232e0
with:
ruby-version: 2.6
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake
-75
View File
@@ -1,75 +0,0 @@
# This workflow will build a docker container, publish and deploy it to Tencent Kubernetes Engine (TKE).
#
# To configure this workflow:
#
# 1. Ensure that your repository contains the necessary configuration for your Tencent Kubernetes Engine cluster,
# including deployment.yml, kustomization.yml, service.yml, etc.
#
# 2. Set up secrets in your workspace:
# - TENCENT_CLOUD_SECRET_ID with Tencent Cloud secret id
# - TENCENT_CLOUD_SECRET_KEY with Tencent Cloud secret key
# - TENCENT_CLOUD_ACCOUNT_ID with Tencent Cloud account id
# - TKE_REGISTRY_PASSWORD with TKE registry password
#
# 3. Change the values for the TKE_IMAGE_URL, TKE_REGION, TKE_CLUSTER_ID and DEPLOYMENT_NAME environment variables (below).
name: Tencent Kubernetes Engine
on:
release:
types: [created]
# Environment variables available to all jobs and steps in this workflow
env:
TKE_IMAGE_URL: ccr.ccs.tencentyun.com/demo/mywebapp
TKE_REGION: ap-guangzhou
TKE_CLUSTER_ID: cls-mywebapp
DEPLOYMENT_NAME: tke-test
jobs:
setup-build-publish-deploy:
name: Setup, Build, Publish, and Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# Build
- name: Build Docker image
run: |
docker build -t ${TKE_IMAGE_URL}:${GITHUB_SHA} .
- name: Login TKE Registry
run: |
docker login -u ${{ secrets.TENCENT_CLOUD_ACCOUNT_ID }} -p ${{ secrets.TKE_REGISTRY_PASSWORD }} ${TKE_IMAGE_URL}
# Push the Docker image to TKE Registry
- name: Publish
run: |
docker push ${TKE_IMAGE_URL}:${GITHUB_SHA}
- name: Set up Kustomize
run: |
curl -o kustomize --location https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64
chmod u+x ./kustomize
- name: Set up ~/.kube/config for connecting TKE cluster
uses: TencentCloud/tke-cluster-credential-action@v1
with:
secret_id: ${{ secrets.TENCENT_CLOUD_SECRET_ID }}
secret_key: ${{ secrets.TENCENT_CLOUD_SECRET_KEY }}
tke_region: ${{ env.TKE_REGION }}
cluster_id: ${{ env.TKE_CLUSTER_ID }}
- name: Switch to TKE context
run: |
kubectl config use-context ${TKE_CLUSTER_ID}-context-default
# Deploy the Docker image to the TKE cluster
- name: Deploy
run: |
./kustomize edit set image ${TKE_IMAGE_URL}:${GITHUB_SHA}
./kustomize build . | kubectl apply -f -
kubectl rollout status deployment/${DEPLOYMENT_NAME}
kubectl get services -o wide
-90
View File
@@ -1,90 +0,0 @@
# This workflow installs the latest version of Terraform CLI and configures the Terraform CLI configuration file
# with an API token for Terraform Cloud (app.terraform.io). On pull request events, this workflow will run
# `terraform init`, `terraform fmt`, and `terraform plan` (speculative plan via Terraform Cloud). On push events
# to the master branch, `terraform apply` will be executed.
#
# Documentation for `hashicorp/setup-terraform` is located here: https://github.com/hashicorp/setup-terraform
#
# To use this workflow, you will need to complete the following setup steps.
#
# 1. Create a `main.tf` file in the root of this repository with the `remote` backend and one or more resources defined.
# Example `main.tf`:
# # The configuration for the `remote` backend.
# terraform {
# backend "remote" {
# # The name of your Terraform Cloud organization.
# organization = "example-organization"
#
# # The name of the Terraform Cloud workspace to store Terraform state files in.
# workspaces {
# name = "example-workspace"
# }
# }
# }
#
# # An example resource that does nothing.
# resource "null_resource" "example" {
# triggers = {
# value = "A example resource that does nothing!"
# }
# }
#
#
# 2. Generate a Terraform Cloud user API token and store it as a GitHub secret (e.g. TF_API_TOKEN) on this repository.
# Documentation:
# - https://www.terraform.io/docs/cloud/users-teams-organizations/api-tokens.html
# - https://help.github.com/en/actions/configuring-and-managing-workflows/creating-and-storing-encrypted-secrets
#
# 3. Reference the GitHub secret in step using the `hashicorp/setup-terraform` GitHub Action.
# Example:
# - name: Setup Terraform
# uses: hashicorp/setup-terraform@v1
# with:
# cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
name: 'Terraform'
on:
push:
branches:
- master
pull_request:
jobs:
terraform:
name: 'Terraform'
runs-on: ubuntu-latest
# Use the Bash shell regardless whether the GitHub Actions runner is ubuntu-latest, macos-latest, or windows-latest
defaults:
run:
shell: bash
# Checkout the repository to the GitHub Actions runner
steps:
- name: Checkout
uses: actions/checkout@v2
# Install the latest version of Terraform CLI and configure the Terraform CLI configuration file with a Terraform Cloud user API token
- name: Setup Terraform
uses: hashicorp/setup-terraform@v1
with:
cli_config_credentials_token: ${{ secrets.TF_API_TOKEN }}
# Initialize a new or existing Terraform working directory by creating initial files, loading any remote state, downloading modules, etc.
- name: Terraform Init
run: terraform init
# Checks that all Terraform configuration files adhere to a canonical format
- name: Terraform Format
run: terraform fmt -check
# Generates an execution plan for Terraform
- name: Terraform Plan
run: terraform plan
# On push to master, build or change infrastructure according to Terraform configuration files
# Note: It is recommended to set up a required "strict" status check in your repository for "Terraform Cloud". See the documentation on "strict" required status checks for more information: https://help.github.com/en/github/administering-a-repository/types-of-required-status-checks
- name: Terraform Apply
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
run: terraform apply -auto-approve
-115
View File
@@ -1,115 +0,0 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build, test and package a WPF desktop application
# built on .NET Core.
# To learn how to migrate your existing WPF application to .NET Core,
# refer to https://docs.microsoft.com/en-us/dotnet/desktop-wpf/migration/convert-project-from-net-framework
#
# To configure this workflow:
#
# 1. Configure environment variables
# GitHub sets default environment variables for every workflow run.
# Replace the variables relative to your project in the "env" section below.
#
# 2. Signing
# Generate a signing certificate in the Windows Application
# Packaging Project or add an existing signing certificate to the project.
# Next, use PowerShell to encode the .pfx file using Base64 encoding
# by running the following Powershell script to generate the output string:
#
# $pfx_cert = Get-Content '.\SigningCertificate.pfx' -Encoding Byte
# [System.Convert]::ToBase64String($pfx_cert) | Out-File 'SigningCertificate_Encoded.txt'
#
# Open the output file, SigningCertificate_Encoded.txt, and copy the
# string inside. Then, add the string to the repo as a GitHub secret
# and name it "Base64_Encoded_Pfx."
# For more information on how to configure your signing certificate for
# this workflow, refer to https://github.com/microsoft/github-actions-for-desktop-apps#signing
#
# Finally, add the signing certificate password to the repo as a secret and name it "Pfx_Key".
# See "Build the Windows Application Packaging project" below to see how the secret is used.
#
# For more information on GitHub Actions, refer to https://github.com/features/actions
# For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications,
# refer to https://github.com/microsoft/github-actions-for-desktop-apps
name: WPF .NET Core
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
configuration: [Debug, Release]
runs-on: windows-latest # For a list of available runner types, refer to
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
env:
Solution_Name: your-solution-name # Replace with your solution name, i.e. MyWpfApp.sln.
Test_Project_Path: your-test-project-path # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj.
Wap_Project_Directory: your-wap-project-directory-name # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package.
Wap_Project_Path: your-wap-project-path # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj.
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
# Install the .NET Core workload
- name: Install .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@2008f912f56e61277eefaac6d1888b750582aa16
# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test
# Restore the WPF application to populate the obj folder with RuntimeIdentifiers
- name: Restore the WPF application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
env:
Configuration: ${{ matrix.configuration }}
# Decode the base 64 encoded pfx and save the Signing_Certificate
- name: Decode the pfx
run: |
$pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}")
$certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx
[IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)
# Create the app package by building and packaging the Windows Application Packaging project
- name: Create the app package
run: msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }}
env:
Appx_Bundle: Always
Appx_Bundle_Platforms: x86|x64
Appx_Package_Build_Mode: StoreUpload
Configuration: ${{ matrix.configuration }}
# Remove the pfx
- name: Remove the pfx
run: Remove-Item -path $env:Wap_Project_Directory\$env:Signing_Certificate
# Upload the MSIX package: https://github.com/marketplace/actions/upload-artifact
- name: Upload build artifacts
uses: actions/upload-artifact@v1
with:
name: MSIX Package
path: ${{ env.Wap_Project_Directory }}\AppPackages
-1
View File
@@ -1 +0,0 @@
<svg fill="none" height="48" width="48" xmlns="http://www.w3.org/2000/svg"><path d="M24.5 0L2 7.968l3.432 29.544L24.5 48l19.068-10.488L47 7.968z" fill="#dd0031"/><path d="M24.5 0v5.328-.024V48l19.068-10.488L47 7.968z" fill="#c3002f"/><path d="M24.5 5.304l-14.066 31.32h5.245l2.827-7.008h11.94l2.827 7.008h5.244zm4.108 19.992h-8.217L24.5 15.48z" fill="#fff"/></svg>

Before

Width:  |  Height:  |  Size: 364 B

-1
View File
@@ -1 +0,0 @@
<svg width="48" height="48" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24 48c13.255 0 24-10.745 24-24S37.255 0 24 0 0 10.745 0 24s10.745 24 24 24z" fill="#5C2D91"/><path opacity=".1" d="M7.923 6.657a23.67 23.67 0 1033.42 33.42L7.923 6.657z" fill="#fff"/><path d="M8.043 36.108a.999.999 0 01-.74-.31 1.02 1.02 0 01-.303-.74 1.036 1.036 0 01.303-.74.991.991 0 01.74-.318 1.013 1.013 0 01.74.318 1.028 1.028 0 01.31.74 1.013 1.013 0 01-.31.74 1.02 1.02 0 01-.74.31zM18.915 35.748h-1.451l-5.186-8.05a3.331 3.331 0 01-.322-.632h-.044c.05.459.068.92.057 1.382v7.3h-1.18V25.653h1.533l5.047 7.912c.21.328.347.553.41.675-.057-.492-.08-.988-.07-1.483v-7.104h1.18l.026 10.095zM25.893 35.748h-5.344V25.653h5.117v1.066h-3.937v3.35h3.64v1.06h-3.64v3.527h4.164v1.092zM33.792 26.72h-2.909v9.028h-1.18v-9.029h-2.902v-1.066h6.997l-.006 1.066zM19.944 22.757h-1.306l-1.092-2.826h-4.252l-1.003 2.826h-1.32l3.868-10.095h1.224l3.88 10.095zm-2.764-3.886l-1.583-4.297a4.114 4.114 0 01-.158-.675 3.83 3.83 0 01-.164.675l-1.571 4.297h3.476zM20.96 22.347v-1.388c.174.15.367.277.573.378.226.114.46.209.7.284.244.076.493.135.745.177.227.04.457.061.688.063a2.7 2.7 0 001.628-.404 1.514 1.514 0 00.36-1.893c-.132-.212-.3-.398-.5-.548a4.984 4.984 0 00-.75-.48l-.927-.454a13.265 13.265 0 01-.985-.543 4.214 4.214 0 01-.795-.63 2.524 2.524 0 01-.53-.72 2.555 2.555 0 01.108-2.177c.198-.336.47-.623.795-.839a3.615 3.615 0 011.123-.492 5.167 5.167 0 011.261-.164 4.927 4.927 0 012.17.36v1.331a3.937 3.937 0 00-2.29-.63c-.26 0-.52.027-.775.081a2.177 2.177 0 00-.688.265c-.198.119-.366.28-.492.473-.13.21-.196.454-.19.7-.006.232.044.461.146.67.104.197.248.37.422.51.214.172.445.322.688.448.27.148.58.307.934.48.353.172.696.36 1.028.561.307.178.593.39.852.631.237.23.434.5.58.795.148.312.22.653.215.997.014.439-.086.874-.29 1.262-.19.34-.462.628-.789.839-.35.224-.736.382-1.142.467a6.307 6.307 0 01-1.363.145 7.467 7.467 0 01-1.312-.151 5.673 5.673 0 01-.694-.183 2.137 2.137 0 01-.505-.221zM29.684 18.947v3.785h-1.18V12.638h2.77c.91-.062 1.81.22 2.524.788a2.808 2.808 0 01.89 2.221 3.054 3.054 0 01-.991 2.347 3.785 3.785 0 01-2.669.915l-1.344.038zm0-5.205v4.132h1.262a2.763 2.763 0 001.893-.561 1.981 1.981 0 00.63-1.578c0-1.329-.786-1.993-2.359-1.993h-1.426z" fill="#fff"/></svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

-1
View File
@@ -1 +0,0 @@
<svg fill="none" height="48" width="48" xmlns="http://www.w3.org/2000/svg"><g fill="#2ba977"><path d="M21.093 0h7.933v36.022c-4.064.762-7.055 1.061-10.292 1.061C9.044 37.073 4 32.785 4 24.55c0-7.936 5.35-13.086 13.641-13.086 1.287 0 2.267.1 3.452.4zm.278 18.355c-.93-.3-1.695-.4-2.676-.4-4.012 0-6.33 2.424-6.33 6.673 0 4.137 2.216 6.422 6.28 6.422.878 0 1.592-.05 2.726-.2z"/><path d="M42 12.43v18.035c0 6.212-.47 9.199-1.848 11.774-1.287 2.476-2.982 4.037-6.484 5.761l-7.362-3.437c3.503-1.612 5.198-3.037 6.28-5.211 1.133-2.223 1.49-4.798 1.49-11.572V12.43zM33.277 0h7.934v7.986h-7.934z"/></g></svg>

Before

Width:  |  Height:  |  Size: 601 B

-1
View File
@@ -1 +0,0 @@
<svg fill="none" height="48" width="48" xmlns="http://www.w3.org/2000/svg"><path d="M24 48c13.255 0 24-10.745 24-24S37.255 0 24 0 0 10.745 0 24s10.745 24 24 24z" fill="#5c2d91"/><g fill="#fff"><path d="M8.049 6A24.047 24.047 0 1042 39.951z" opacity=".1"/><path d="M6.133 30.513a.999.999 0 01-.74-.31 1.02 1.02 0 01-.303-.74 1.036 1.036 0 01.303-.74.991.991 0 01.74-.318 1.013 1.013 0 01.74.318 1.028 1.028 0 01.31.74 1.013 1.013 0 01-.31.74 1.02 1.02 0 01-.74.31zM20.83 30.328h-1.937l-6.931-10.755a4.483 4.483 0 01-.43-.844h-.059c.066.614.091 1.232.074 1.85v9.749H9.972V16.843h2.049l6.746 10.563c.281.439.463.74.547.903h.037c-.078-.658-.11-1.32-.096-1.983v-9.483h1.576zM31.497 30.328H24.33V16.843h6.835v1.428h-5.222v4.482h4.867v1.42h-4.867v4.676h5.563zM42.082 18.27h-3.92v12.058h-1.576V18.27H32.71v-1.428h9.372z"/></g></svg>

Before

Width:  |  Height:  |  Size: 824 B

-1
View File
@@ -1 +0,0 @@
<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M17.8 8.591c2.079 4.584 7.64 6.5 7.141 12.474-.582 7.017-5.551 8.784-8.316 8.909a8.815 8.815 0 01-9.4-7.485C5.618 15.046 12.655 3.632 16.709 2c-.134 2.25.24 4.503 1.091 6.591zm-.166 18.857a.423.423 0 00-.057-.327c-.593-1.1-5.81-1.645-6.907-1.752.488.5 1.037.938 1.635 1.3.861.527 1.817.88 2.814 1.041.803.121 2.348.223 2.516-.263l-.001.001z" fill="#7C648F"/><path opacity=".25" d="M18.248 10.618c4.47 4.823 6.445 4.979 6.237 10.478-.249 6.476-4.543 8.191-7.058 8.42-4.2.551-7.495-1.528-8.358-5.686-1.757-6.767 3.909-17.807 7.568-19.47a15.324 15.324 0 001.621 6.24l-.01.018z" fill="#26003D"/><path opacity=".75" d="M17.385 9.921C20.369 14 24.319 13.7 25 19.641c.094 6.923-3.6 9.283-6.237 9.948-4.5 1.279-8.514-.645-10.094-5-3.035-7 2.651-18.514 6.31-20.915a15.083 15.083 0 002.37 6.237l.036.01z" fill="url(#paint0_linear)"/><defs><linearGradient id="paint0_linear" x1="17.249" y1="29.597" x2="14.973" y2="3.994" gradientUnits="userSpaceOnUse"><stop stop-color="#fff" stop-opacity="0"/><stop offset=".01" stop-color="#F7F6F8" stop-opacity=".04"/><stop offset=".09" stop-color="#AA9CB3" stop-opacity=".39"/><stop offset=".2" stop-color="#6F567E" stop-opacity=".66"/><stop offset=".32" stop-color="#452459" stop-opacity=".86"/><stop offset=".5" stop-color="#2D0843" stop-opacity=".97"/><stop offset="1" stop-color="#26003D"/></linearGradient></defs></svg>

Before

Width:  |  Height:  |  Size: 1.4 KiB

-1
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 17 KiB

-1
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 5.9 KiB

-1
View File
@@ -1 +0,0 @@
<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 25.882L8.588 16 2 6.118h4.941L13.529 16l-6.588 9.882H2z" fill="#453A62"/><path d="M8.588 25.882L15.177 16 8.588 6.118h4.941l13.177 19.764h-4.941l-4.118-6.176-4.118 6.176H8.588z" fill="#5E5086"/><path d="M24.51 20.118l-2.196-3.294L30 16.823v3.295h-5.49zM21.216 15.177l-2.196-3.294L30 11.882v3.295h-8.784z" fill="#8F4E8B"/></svg>

Before

Width:  |  Height:  |  Size: 414 B

-1
View File
@@ -1 +0,0 @@
<svg fill="none" height="48" width="48" xmlns="http://www.w3.org/2000/svg"><path d="M10.094 44.145L7 9.433h34L37.902 44.14 23.98 48z" fill="#e44d26"/><path d="M24 45.049l11.25-3.12 2.648-29.658H24z" fill="#f16529"/><path d="M24 25.145h-5.632l-.39-4.36H24V16.53H13.327l.102 1.142 1.046 11.731H24zM24 36.202l-.019.005-4.74-1.28-.303-3.396h-4.273l.596 6.685 8.72 2.42.019-.005z" fill="#ebebeb"/><g fill="#000"><path d="M10.163 0h2.163v2.138h1.98V0h2.162v6.473h-2.163V4.305h-1.978v2.168h-2.164V0zM19.313 2.147h-1.904V0h5.972v2.147h-1.905v4.326h-2.163V2.147zM24.329 0h2.255l1.388 2.274L29.358 0h2.256v6.473H29.46V3.265l-1.488 2.301h-.037l-1.49-2.301v3.208H24.33zM32.69 0h2.165v4.333h3.042v2.14H32.69z"/></g><path d="M23.985 25.145v4.258h5.242l-.494 5.52-4.748 1.282v4.43l8.726-2.42.064-.719 1-11.207.104-1.144h-1.147zM23.985 16.529v4.256h10.282l.085-.956.194-2.158.102-1.142z" fill="#fff"/></svg>

Before

Width:  |  Height:  |  Size: 891 B

-1
View File
@@ -1 +0,0 @@
<svg fill="none" height="48" width="48" xmlns="http://www.w3.org/2000/svg"><path d="M0 23.591c.02-.066.036-.134.045-.202.037-.697.045-1.402.12-2.1.117-2.26.871-4.44 2.175-6.29a6.322 6.322 0 015.085-2.565H23.61c.315 0 .315 0 .315-.315v-1.125c0-.232-.068-.284-.285-.284H12.623c-.188 0-.255-.053-.255-.248V4.966c.036-.796.368-1.55.93-2.115a6.683 6.683 0 012.707-1.747 16.668 16.668 0 013.9-.892 32.843 32.843 0 015.482-.165c1.972.037 3.923.399 5.776 1.072a7.095 7.095 0 013.24 2.25 4.536 4.536 0 01.945 3.074c-.045.93 0 1.867 0 2.804v5.19c0 1.019 0 2.046-.045 3.058a5.421 5.421 0 01-3.518 5.04 8.042 8.042 0 01-3.143.599h-11.46a6.54 6.54 0 00-3.45.907 5.999 5.999 0 00-2.647 3.704 8.656 8.656 0 00-.323 2.377v5.196c0 .345 0 .338-.345.345-1.245 0-2.49.038-3.75 0A5.25 5.25 0 013.345 34.3a8.248 8.248 0 01-2.295-3.554 15.142 15.142 0 01-.848-3.847c-.075-.84-.105-1.68-.157-2.512A2.475 2.475 0 000 24.11v-.518z" fill="#3772a4"/><path d="M15.203 5.738a2.107 2.107 0 102.107-2.122 2.123 2.123 0 00-2.107 2.122z" fill="#000"/><path d="M15.203 5.738a2.11 2.11 0 114.22 0 2.11 2.11 0 01-4.22 0z" fill="#fff"/><path d="M48 24.401c-.02.066-.036.134-.045.203-.037.697-.045 1.402-.12 2.1a11.995 11.995 0 01-2.175 6.29 6.322 6.322 0 01-5.085 2.572H24.39c-.315 0-.315 0-.315.315v1.125c0 .232.068.285.285.285h11.018c.187 0 .255.052.255.247v5.496a3.209 3.209 0 01-.93 2.115 6.683 6.683 0 01-2.708 1.747 16.669 16.669 0 01-3.892.892c-1.82.208-3.654.263-5.483.165a17.877 17.877 0 01-5.775-1.072 7.095 7.095 0 01-3.24-2.25 4.536 4.536 0 01-.945-3.074c.045-.93 0-1.867 0-2.804v-5.19c0-1.019 0-2.046.045-3.058a5.42 5.42 0 013.517-5.04 8.042 8.042 0 013.143-.599h11.453a6.54 6.54 0 003.45-.907 6 6 0 002.647-3.712 8.66 8.66 0 00.323-2.377v-5.196c0-.345 0-.337.345-.345 1.245 0 2.49-.037 3.75 0a5.25 5.25 0 013.322 1.365 8.249 8.249 0 012.295 3.554 15.15 15.15 0 01.84 3.861c.075.84.105 1.68.158 2.512.01.091.025.181.045.27.005.165.007.335.007.51z" fill="#ffda4b"/><path d="M32.797 41.992a2.107 2.107 0 10-2.107 2.122 2.123 2.123 0 002.107-2.122z" fill="#000"/><path d="M32.797 41.992a2.11 2.11 0 11-4.22 0 2.11 2.11 0 014.22 0z" fill="#fff"/></svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

-1
View File
@@ -1 +0,0 @@
<svg width="48" height="56" xmlns="http://www.w3.org/2000/svg"><g fill="#D34231"><path d="M14.39 18.269l-.03-.03-6.77 6.77 16.438 16.408 6.77-6.74 9.669-9.668-6.77-6.77v-.031H14.358l.031.06z"/><path d="M23.967.183L.025 13.907v27.45L23.967 55.08l23.941-13.725V13.907L23.967.183zm19.367 38.55L23.967 49.897 4.6 38.734V16.469L23.967 5.307l19.367 11.162v22.265z"/></g></svg>

Before

Width:  |  Height:  |  Size: 370 B

-1
View File
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 7.1 KiB

-29
View File
@@ -1,29 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="408px" height="408px" viewBox="0 0 408 408" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 64 (93537) - https://sketch.com -->
<title>矩形</title>
<desc>Created with Sketch.</desc>
<g id="CI" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="子步骤状态" transform="translate(-3765.000000, -1220.000000)" fill-rule="nonzero">
<g id="编组-21" transform="translate(3765.000000, 1220.000000)">
<g id="资源-1" transform="translate(59.000000, 6.000000)">
<polygon id="路径" fill="#000000" points="9.86 258.979338 9.86 264.595013 27.69 264.595013 27.69 310.448041 33.86 310.448041 33.86 264.595013 51.69 264.595013 51.69 258.979338"></polygon>
<path d="M162.600098,300.992163 C162.602922,300.8445 162.517305,300.709318 162.382359,300.64853 C162.247414,300.587742 162.08913,300.613055 161.98,300.712875 C158.486262,303.659231 154.135693,305.407619 149.57,305.700153 C141.29,305.700153 135.94,300.164275 135.94,291.596132 C135.94,283.02799 141.29,277.482137 149.57,277.482137 C152.13,277.482137 157.79,278.200305 161.99,281.811094 C162.100984,281.905507 162.257223,281.92607 162.38896,281.8636 C162.520697,281.801131 162.603343,281.667289 162.600098,281.521832 L162.600098,275.896183 C158.574082,273.414902 153.969533,272.022614 149.24,271.856489 C137.81,271.856489 130.12,279.836132 130.12,291.636031 C130.12,303.435929 137.81,311.405598 149.24,311.405598 C154.005805,311.464668 158.672975,310.04996 162.600098,307.355929 L162.600098,300.992163 Z" id="路径" fill="#000000"></path>
<path d="M81.94,299.775267 C81.9415062,299.614539 81.8385478,299.471323 81.6854452,299.421178 C81.5323427,299.371034 81.3643097,299.425494 81.27,299.555827 C78.52,303.156641 71.96,306.069211 67.93,306.069211 C64.08,306.069211 60.45,304.802443 58.47,302.757659 C56.0642711,300.227376 54.7469768,296.858385 54.8,293.371603 L83.66,293.371603 L83.66,292.932723 C83.66,284.813435 82.28,280.205191 78.72,276.514606 C75.72,273.422494 71.65,271.856489 66.55,271.856489 C55.75,271.856489 48.77,279.566819 48.77,291.516336 C49.17,303.944631 56.25,311.355725 67.71,311.355725 C72.9708836,311.398409 78.0536497,309.456696 81.94,305.919593 L81.94,299.775267 Z M77.83,288.085089 L54.83,288.085089 L54.83,287.965394 C55.2183231,281.904498 60.3017935,277.211182 66.39,277.292621 C73.11,277.292621 77.5,281.402137 77.82,288.015267 L77.83,288.085089 Z" id="形状" fill="#000000"></path>
<path d="M107.92,271.856489 C103.2,271.856489 99.19,273.432468 96.51,276.325089 L96.51,272.7143 L90.68,272.7143 L90.68,310.517863 L96.68,310.517863 L96.68,288.972824 C96.68,285.421883 97.77,282.399593 99.75,280.464529 C101.87779,278.359934 104.8103,277.269853 107.8,277.472163 C112.47,277.611807 117.19,280.693944 117.19,287.267176 L117.19,310.477964 L123.19,310.477964 L123.19,287.027786 C123.19,282.369669 121.71,278.489567 118.9,275.806412 C115.904809,273.098035 111.958826,271.678515 107.92,271.856489 L107.92,271.856489 Z" id="路径" fill="#000000"></path>
<path d="M201.54,299.775267 C201.534544,299.615728 201.429461,299.476697 201.277193,299.427559 C201.124924,299.378421 200.95811,299.429709 200.86,299.555827 C198.12,303.156641 191.56,306.069211 187.53,306.069211 C183.67,306.069211 180.05,304.802443 178.07,302.757659 C175.657868,300.230709 174.336453,296.860361 174.39,293.371603 L203.26,293.371603 L203.26,292.932723 C203.26,284.813435 201.87,280.205191 198.31,276.514606 C195.31,273.422494 191.25,271.856489 186.15,271.856489 C175.35,271.856489 168.37,279.566819 168.37,291.516336 C168.76,303.944631 175.84,311.355725 187.31,311.355725 C192.570884,311.398409 197.65365,309.456696 201.54,305.919593 L201.54,299.775267 Z M197.43,288.085089 L174.38,288.085089 L174.38,287.965394 C174.769312,281.881016 179.888753,277.178896 186,277.292621 C192.73,277.292621 197.11,281.402137 197.44,288.015267 L197.43,288.085089 Z" id="形状" fill="#000000"></path>
<path d="M227.42,271.856489 C222.7,271.856489 218.69,273.432468 216.01,276.325089 L216.01,272.7143 L210.18,272.7143 L210.18,310.517863 L216.18,310.517863 L216.18,288.972824 C216.18,285.421883 217.27,282.399593 219.25,280.464529 C221.365949,278.373398 224.277294,277.284422 227.25,277.472163 C231.92,277.611807 236.64,280.693944 236.64,287.267176 L236.64,310.477964 L242.64,310.477964 L242.64,287.027786 C242.64,282.369669 241.16,278.489567 238.35,275.806412 C235.366188,273.112284 231.441441,271.693944 227.42,271.856489 L227.42,271.856489 Z" id="路径" fill="#000000"></path>
<path d="M262.1,311.01659 C264.752334,310.771362 267.361123,310.181183 269.86,309.261069 L269.86,303.565598 C269.86,303.44641 269.802293,303.334559 269.705058,303.265283 C269.607824,303.196006 269.483033,303.177833 269.37,303.216489 C267.285785,303.953815 265.150024,304.537238 262.98,304.962036 C262.35,305.061781 261.81,305.151552 261.4,304.802443 C261.078204,304.492509 260.925614,304.04704 260.99,303.605496 L260.99,278.21028 L271.9,278.21028 L271.9,272.704326 L261,272.704326 L261,262.64 L254.8,262.64 L254.8,272.704326 L248.59,272.704326 L248.59,278.21028 L254.8,278.21028 L254.8,304.223919 C254.67187,306.147035 255.404207,308.028006 256.8,309.360814 C258.30623,310.536846 260.190306,311.125451 262.1,311.01659 Z" id="路径" fill="#000000"></path>
<path d="M94.75,377.457099 C94.7579836,377.299566 94.6647125,377.154386 94.5178864,377.095805 C94.3710602,377.037224 94.2031394,377.078193 94.1,377.197761 C89.4165254,382.525687 82.6737991,385.603551 75.57,385.656183 C63.63,385.656183 55.93,377.427176 55.93,364.709618 C55.93,351.742697 63.27,343.683257 75.1,343.683257 C81.9768429,343.81517 88.5395976,346.579298 93.43,351.403562 C93.534689,351.515069 93.6974325,351.550715 93.8393274,351.493217 C93.9812224,351.435718 94.072935,351.296963 94.07,351.144224 L94.07,344.580967 C88.7903924,340.040322 82.0410497,337.560049 75.07,337.598332 C67.65,337.598332 61.36,340.182188 56.89,345.079695 C52.42,349.977201 50.12,356.710025 50.12,364.679695 C50.12,380.868397 60.34,391.760611 75.55,391.760611 C82.6072831,391.809123 89.4352359,389.263145 94.73,384.608855 L94.75,377.457099 Z" id="路径" fill="#000000"></path>
<path d="M231.41,356.560407 C228.21,353.109211 222.88,351.862392 219.04,351.862392 C214.142993,351.748518 209.424203,353.696402 206.04,357.228702 C202.72,360.789618 200.96,365.736997 200.96,371.522239 C200.96,385.247226 210.1,391.391552 219.15,391.391552 C224.44,391.391552 228.8,389.506361 231.37,386.17486 L231.37,390.523766 L237.52,390.523766 L237.52,339.055064 L231.37,339.055064 L231.41,356.560407 Z M231.24,371.661883 C231.24,378.693944 227.15,385.805802 219.34,385.805802 C213.47,385.805802 207.15,381.46687 207.15,371.96112 C207.15,364.978931 210.85,357.448142 218.97,357.448142 C228,357.448142 231.24,365.068702 231.24,371.661883 Z" id="形状" fill="#000000"></path>
<rect id="矩形" fill="#000000" x="102.92" y="339.055064" width="6.25" height="51.4587277"></rect>
<path d="M187.86,371.96112 C187.86,382.204987 181.94,385.8457 176.86,385.8457 C171.94,385.8457 166.71,382.454351 166.71,376.160407 L166.71,352.740153 L160.84,352.740153 L160.84,376.040712 C160.84,385.067684 167.3,391.381578 176.56,391.381578 C181.69,391.381578 185.69,389.65598 188.23,386.3943 L188.23,390.513791 L193.83,390.513791 L193.83,352.740153 L187.83,352.740153 L187.86,371.96112 Z" id="路径" fill="#000000"></path>
<path d="M135.71,351.932214 C124.71,351.932214 117.33,359.861985 117.33,371.661883 C117.33,383.461781 124.72,391.391552 135.71,391.391552 C146.7,391.391552 154.09,383.461781 154.09,371.661883 C154.09,359.861985 146.7,351.932214 135.71,351.932214 Z M123,371.621985 L123,371.621985 C123,363.253333 128.12,357.657608 135.68,357.657608 C143.24,357.657608 148.36,363.303206 148.36,371.691807 C148.36,380.080407 143.26,385.726005 135.68,385.726005 C128.1,385.726005 123,380.030534 123,371.621985 Z" id="形状" fill="#000000"></path>
<path d="M273.69,96.2145547 C260.970259,83.2015251 243.520752,75.8639726 225.3,75.8664625 C208.87,75.8664625 194.72,81.5120611 182.37,91.5564377 C176.98,95.9252926 171.37,101.161934 164.23,108.044377 L58.37,210.463104 C64.7799695,211.19146 71.2288914,211.524578 77.68,211.46056 C83.85,211.46056 201.42,211.46056 206.34,211.46056 C216.25,211.46056 222.7,211.46056 229.62,210.951858 C245.5,209.794809 260.51,203.969669 272.62,192.099949 C285.532064,179.516901 292.898223,162.329189 293.095179,144.324509 C293.292136,126.319828 286.303726,108.975887 273.67,96.1148092 M254,173.218117 C248.78,178.374962 239.46,184.190127 224.18,184.748702 C217.12,184.988092 208.87,185.008041 205.09,185.008041 L123,185.008041 L181.9,127.953588 C184.61,125.33028 190.7,119.515115 195.95,114.79715 C207.48,104.443562 217.87,102.35888 225.21,102.418728 C242.031016,102.439436 257.164758,112.61703 263.491331,128.16331 C269.817905,143.709589 266.077561,161.528973 254.03,173.238066" id="形状" fill="#00A1FF"></path>
<path d="M108.58,89.8408142 C96.58,80.863715 83.09,75.8764377 67.82,75.8764377 C40.2140733,75.9574907 15.3968291,92.6778459 5.01348954,118.191658 C-5.36985,143.70547 0.741557328,172.948864 20.48,192.199695 C30.7776083,202.2428 44.0823459,208.655834 58.37,210.463104 L84.72,184.968142 C80.45,184.968142 74.34,184.878372 68.91,184.708804 C53.64,184.180153 44.33,178.335064 39.11,173.188193 C27.0650269,161.481639 23.3234368,143.667105 29.6448761,128.122656 C35.9663154,112.578206 51.0926265,102.397656 67.91,102.368855 C75.13,102.368855 84.91,104.423613 95.97,113.57028 C101.25,117.939135 112.97,128.212926 118.11,132.84112 C118.2264,132.958072 118.384783,133.023847 118.55,133.023847 C118.715217,133.023847 118.8736,132.958072 118.99,132.84112 L137.14,115.186158 C137.291999,115.06502 137.3805,114.881494 137.3805,114.68743 C137.3805,114.493367 137.291999,114.30984 137.14,114.188702 C128.41,106.318779 116.05,95.3068702 108.6,89.7809669" id="路径" fill="#00C4D6"></path>
<path d="M232.43,60.5455471 C218.513105,21.3349352 179.678777,-3.44192042 138.155364,0.396982225 C96.6319507,4.23588487 63.0246852,35.7100758 56.57,76.8040712 C60.2876467,76.1825044 64.0504894,75.868898 67.82,75.8664631 C72.993426,75.8524349 78.1499931,76.4551825 83.18,77.661883 L83.47,77.661883 C89.1701919,50.5078467 111.696216,30.0675628 139.335847,26.9687933 C166.975478,23.8700239 193.488629,38.8123653 205.09,64.0266667 C205.131779,64.1725921 205.230313,64.295801 205.363665,64.3688647 C205.497018,64.4419284 205.654121,64.4587822 205.8,64.4156743 C214.165555,62.1093392 222.85788,61.2092827 231.52,61.7524682 C232.38,61.8123155 232.71,61.3335369 232.43,60.5455471" id="路径" fill="#006EFF"></path>
</g>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 11 KiB

-1
View File
@@ -1 +0,0 @@
<svg width="44" height="44" viewBox="0 0 44 44" fill="none" xmlns="http://www.w3.org/2000/svg" role="img" aria-labelledby="title"><title id="title">terraform-icon logo</title><path fill-rule="evenodd" clip-rule="evenodd" d="M16.664 7.384l10.468 6.042v12.085L16.664 19.47V7.384z" fill="#623CE4"/><path fill-rule="evenodd" clip-rule="evenodd" d="M28.277 13.426v12.085l10.468-6.042V7.379l-10.468 6.047z" fill="#3C2AA8"/><path fill-rule="evenodd" clip-rule="evenodd" d="M5.047.634v12.085l10.468 6.048V6.677L5.047.633zM16.664 32.878l10.463 6.048v-12.09l-10.463-6.043v12.085z" fill="#623CE4"/></svg>

Before

Width:  |  Height:  |  Size: 593 B

-1
View File
@@ -1 +0,0 @@
<svg fill="none" height="48" width="48" xmlns="http://www.w3.org/2000/svg"><path d="M0 6.796l19.616-2.663.009 18.863-19.607.111zm19.607 18.373l.015 18.88L.015 41.36V25.043zm2.378-21.385L47.994 0v22.756l-26.01.206zM48 25.347L47.994 48l-26.01-3.66-.036-19.036z" fill="#00adef"/></svg>

Before

Width:  |  Height:  |  Size: 282 B

-1
View File
@@ -1 +0,0 @@
<svg fill="none" height="48" width="48" xmlns="http://www.w3.org/2000/svg"><path d="M24.5 0L46 12v24L24.5 48 3 36V12z" fill="#fff"/><path d="M42.16 35.172l-16.95 9.46v-7.368l10.561-5.732zm1.16-1.036V14.352l-6.203 3.532V30.6zM6.77 35.172l16.952 9.46v-7.368L13.16 31.532zm-1.159-1.036V14.352l6.203 3.532V30.6zm.726-21.064l17.385-9.704v7.124l-11.138 6.044-.085.048zm36.257 0L25.21 3.368v7.124l11.137 6.044.085.048z" fill="#8ed6fb"/><path d="M23.722 35.588l-10.42-5.652v-11.2l10.42 5.936zm1.488 0l10.42-5.652v-11.2l-10.42 5.936zM14.007 17.44l10.46-5.676 10.46 5.676-10.46 5.96z" fill="#1c78c0"/></svg>

Before

Width:  |  Height:  |  Size: 597 B

-1
View File
@@ -1 +0,0 @@
<svg data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M18.89 4a4.92 4.92 0 00-4.16 2.4L1.62 29.1a4.93 4.93 0 000 4.79L14.73 56.6a4.92 4.92 0 004.16 2.4h26.22a4.92 4.92 0 004.16-2.4l13.11-22.7a4.93 4.93 0 000-4.79L49.27 6.4A4.92 4.92 0 0045.11 4zm.24 13.28h4.63a.6.6 0 01.49.29l7.67 13.63a.59.59 0 01.07.22.59.59 0 01.07-.22l7.65-13.63a.6.6 0 01.51-.29h4.52a.62.62 0 01.51.86L37.79 31.5l7.49 13.34a.62.62 0 01-.51.88h-4.53a.6.6 0 01-.51-.31l-7.66-13.64a.59.59 0 01-.07-.22.59.59 0 01-.07.22l-7.68 13.64a.6.6 0 01-.49.31h-4.52a.62.62 0 01-.51-.88l7.48-13.34-7.49-13.36a.61.61 0 01.4-.86z" fill="#3498db"/></svg>

Before

Width:  |  Height:  |  Size: 644 B

-1
View File
@@ -1 +0,0 @@
<svg id="Icons" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><defs><style>.cls-7{fill:#63b2ff}.cls-2{fill:none}.cls-2,.cls-7{stroke:#fff;stroke-miterlimit:10}.cls-3{fill:#58595b}.cls-4{fill:#939598}</style></defs><path transform="rotate(-8.8 30.61 35.43)" fill="#63b2ff" d="M3.62 14.95h54v41h-54z"/><path class="cls-2" d="M10 58L4 20M15 46l-2-13M47 41l-2-13M58 49L8 57M58 47.04l-50 8M51 13l6 38M3 22l51-8M10 37l40-7M12 44l39-7"/><path class="cls-3" d="M63.27 9.18c-2-.85-3.92-2.24-6.42-1.37a2.78 2.78 0 01-2.53-.89C52.79 4.18 50 3.48 47.48 3 36.22.88 31.55 6.65 30.34 7.74c.12.26.24.52.37.78a.61.61 0 000 .12c.68-.1 5.63-2.19 9.22.06 1.62 1 2.75 2.35 2.45 4.25a3.84 3.84 0 01-.09.44c-.06.2 0 .24-.06.45l.18.06 4.73 1.54c.07-.14.15-.35.23-.48 1.8-2.92 5.4-1.68 7.37.35 1.41 1.45 3 2 5 2.71 1.1.39 1.46-.22 1.6-.56.92-2.2 1.68-4.43 2.43-6.69a1.14 1.14 0 00-.5-1.59z"/><path class="cls-4" d="M63.27 10.33c-2-.86-3.92-2.25-6.42-1.38a2.78 2.78 0 01-2.53-.89C52.79 5.33 50 4.62 47.48 4.14 37.15 2.2 32.37 6.89 30.71 8.52a.61.61 0 000 .12c.68-.1 5.63-2.19 9.22.06 1.62 1 2.75 2.35 2.45 4.25a3.32 3.32 0 010 .95l4.73 1.54c.07-.14.15-.35.23-.48 1.8-2.92 5.4-1.68 7.37.35 1.41 1.45 3 2 5 2.71 1.1.39 1.46-.22 1.6-.56.92-2.2 1.68-4.43 2.43-6.69a1.07 1.07 0 00-.47-.44z"/><path class="cls-4" d="M42.34 13.49l-5.22 13.64 4.46 1.76 5.72-13.7-4.96-1.7z"/><path fill="#a7a9ac" d="M37.7 28.25l5.64-14.53 3.04 1.09-6.12 14.96-2.56-1.52z"/><path class="cls-3" d="M42.3 13.44l-.44 1.33c.37-1 4.49.31 5 1.56l.53-1.25c.36-1.02-4.69-2.66-5.09-1.64z"/><path d="M41.73 28.61l-11 31a2 2 0 01-2.59 1.13l-2.83-1.1a2 2 0 01-1.14-2.59L37.09 27c.14-.37.82-.4 1.63-.24C40.16 27 42 28 41.73 28.61z"/><path d="M41.73 28.61l-11 31a2 2 0 01-1.11 1.11l-2.83-1.1A2 2 0 0125.65 57l12.89-30a.39.39 0 01.18-.2c1.44.2 3.28 1.2 3.01 1.81z" fill="#231f20"/><path class="cls-7" d="M29.8 22.76l-.61-.24a2.63 2.63 0 00-3.4 1.5L18 44v7l6-5 7.3-19.84a2.63 2.63 0 00-1.5-3.4zM25.33 25.28l5.5 2.11M18.06 43.67l5.72 2.5"/></svg>

Before

Width:  |  Height:  |  Size: 1.9 KiB