Skip to content

Commit

Permalink
(chore): cleanup ado, add badge (#2966)
Browse files Browse the repository at this point in the history
* (chore): cleanup ado, add badge

Signed-off-by: Sarah Christoff <28318173+schristoff@users.noreply.github.com>

---------

Signed-off-by: Sarah Christoff <28318173+schristoff@users.noreply.github.com>
  • Loading branch information
schristoff authored Jan 31, 2024
1 parent 9b543ca commit 08de9eb
Show file tree
Hide file tree
Showing 20 changed files with 27 additions and 751 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Environment variables defined in a calling workflow are not accessible to this reusable workflow. Refer to the documentation for further details on this limitation.
name: build_azure_pipelinesrelease_template
name: build_pipelinesrelease_template
on:
workflow_call:
inputs:
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
Validate-unit_test:
name: Unit Test
runs-on: ubuntu-latest
if: !(inputs.skipTests)
if: ${{inputs.skipTests == false}}
steps:
- name: checkout
uses: actions/checkout@v4.1.0
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
- Validate-xbuild
runs-on:
- self-hosted
if: success() && !(inputs.skipTests)
if: success() && ${{inputs.skipTests == false}}
steps:
- name: checkout
uses: actions/checkout@v4.1.0
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions .github/workflows/porter-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ on:
branches:
- split-builds
jobs:
build_azure_pipelinesrelease_template:
name: build_azure_pipelinesrelease_template
uses: "./.github/workflows/build_azure_pipelinesrelease_template.yml"
build_pipelinesrelease_template:
name: build_pipelinesrelease_template
uses: "./.github/workflows/build_pipelinesrelease_template.yml"
with:
registry: ghcr.io/getporter
shouldPublish: "${{inputs.shouldPublish}}"
skipTests: "${{inputs.skipTests}}"
shouldPublish: ${{inputs.shouldPublish}}
skipTests: ${{inputs.skipTests}}
3 changes: 1 addition & 2 deletions .github/workflows/porter-install-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ jobs:
shell: powershell
macos:
runs-on:
- self-hosted
- macOS-latest
- macos-latest
steps:
- name: checkout
uses: actions/checkout@v4.1.0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/porter-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
- "!latest*"
- "!canary*"
jobs:
build_azure_pipelinesrelease_template:
build_pipelinesrelease_template:
name: build_azure_pipelinesrelease_template
uses: "./.github/workflows/build_azure_pipelinesrelease_template.yml"
uses: "./.github/workflows/build_pipelinesrelease_template.yml"
with:
registry: ghcr.io/getporter
shouldPublish: true
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/protoc.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM golang:1.20
RUN apt-get update && apt-get -y install protobuf-compiler
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28
RUN go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@v1.2
WORKDIR /proto
10 changes: 5 additions & 5 deletions .github/workflows/test-porter-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ env:
PORTER_PACKAGES_REMOTE: https://github.com/carolynvs/porter-packages.git
PORTER_RELEASE_REPOSITORY: github.com/carolynvs/porter
jobs:
build_azure_pipelinesrelease_template:
name: build_azure_pipelinesrelease_template
uses: "./.github/workflows/build_azure_pipelinesrelease_template.yml"
build_pipelinesrelease_template:
name: build_pipelinesrelease_template
uses: "./.github/workflows/build_pipelinesrelease_template.yml"
with:
registry: ghcr.io/getporter/test
shouldPublish: "${{ inputs.shouldPublish }}"
skipTests: "${{ inputs.skipTests }}"
shouldPublish: ${{ inputs.shouldPublish }}
skipTests: ${{ inputs.skipTests }}
10 changes: 5 additions & 5 deletions .github/workflows/testporterbot.porter-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ on:
branches:
- release/v1
jobs:
build_azure_pipelinesrelease_template:
name: build_azure_pipelinesrelease_template
uses: "./.github/workflows/build_azure_pipelinesrelease_template.yml"
build_pipelinesrelease_template:
name: build_pipelinesrelease_template
uses: "./.github/workflows/build_pipelinesrelease_template.yml"
with:
registry: ghcr.io/getporter/test
shouldPublish: "${{ inputs.shouldPublish }}"
skipTests: "${{ inputs.skipTests }}"
shouldPublish: ${{ inputs.shouldPublish }}
skipTests: ${{ inputs.skipTests }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<img align="right" src="docs/static/images/porter-docs-header.svg" width="300px" />

[![CNCF Sandbox Project](docs/static/images/cncf-sandbox-badge.svg)](https://www.cncf.io/projects/porter/)
[![Build Status](https://dev.azure.com/getporter/porter/_apis/build/status/porter-canary?branchName=main)](https://dev.azure.com/getporter/porter/_build/latest?definitionId=26&branchName=main)
[![Build Status](https://github.com/getporter/porter/actions/workflows/porter.yml/badge.svg)](https://github.com/getporter/porter/actions/workflows/porter.yml)
<a href="https://getporter.org/find-issue" alt="Find an issue to work on">
<img src="https://img.shields.io/github/issues-search?label=%22help%20wanted%22%20issues&query=org%3Agetporter%20label%3A%22good%20first%20issue%22%2C%22help%20wanted%22%20no%3Aassignee" /></a>

Expand Down
30 changes: 0 additions & 30 deletions build/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions build/azure-pipelines.canary.yml

This file was deleted.

26 changes: 0 additions & 26 deletions build/azure-pipelines.install.yml

This file was deleted.

74 changes: 0 additions & 74 deletions build/azure-pipelines.integration.yml

This file was deleted.

Loading

0 comments on commit 08de9eb

Please sign in to comment.