Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 0 additions & 48 deletions .github/actions/notify-slack/action.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/aws-nuke-config.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/aws-cleanup.yaml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/integration-tests.yaml

This file was deleted.

27 changes: 1 addition & 26 deletions .github/workflows/release-candidate.yaml
Original file line number Diff line number Diff line change
@@ -1,39 +1,14 @@
name: Release candidate

on:
workflow_dispatch:
inputs:
skipIntegrationTests:
description: 'Skip check for successful integration tests:'
default: 'false'
workflow_dispatch: {}

jobs:
rc:
name: Trigger release candidate build
runs-on: ubuntu-latest
container: weaveworks/eksctl-build:83999a3391d78ed18a2e6093328d1122c927956f
steps:
- uses: actions/github-script@v3
name: Get integration tests status
id: it-status
with:
github-token: ${{ secrets.WEAVEWORKSBOT_TOKEN }}
script: |
// There's no other way to identify the integration test job
// GH branch protections are also just a string
// must be in sync with integration-tests.yaml
const integrationTestsCheckName = "Run integration tests";
const { data } = await github.checks.listForRef({
...context.repo,
ref: "${{ github.sha }}",
check_name: integrationTestsCheckName,
});
return data.check_runs.some(cr =>
cr.status === "completed" && cr.conclusion === "success"
);
- name: Fail if integration tests not passed
if: "!fromJson(steps.it-status.outputs.result) && !fromJson(github.event.inputs.skipIntegrationTests)"
run: echo "Integration tests haven't passed yet!" && exit 1
- name: Checkout
uses: actions/checkout@v2
with:
Expand Down