diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e4b0ae3..f0b6c9e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,3 +42,8 @@ jobs: - name: Validate release artifacts run: make validate-release RELEASE_VERSION=1000.0.0 + +# missing: +# - e2e (was disabled in Travis) +# - int-test (called coverage-unit in the Makefile and unit-tests in Travis) (cannot run on forks, is this needed even?) +# - release diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e9e2b71d..00000000 --- a/.travis.yml +++ /dev/null @@ -1,38 +0,0 @@ -language: go - -go: - - "1.17.x" - -services: - - docker - -jobs: - include: - - name: Lint - script: make lint - - name: Unit Tests - script: make coverage-unit - - name: Tests - script: make test - if: fork = false AND type = push # Don't run int tests too much on the same account in parallel, risks service name conflict failures - #- name: Test End-to-end # TODO Re-enable once an e2e env is set up. - # script: make test-e2e - - name: Release Validation - script: make validate-release RELEASE_VERSION=1000.0.0 # Arbitrarily high version, just used for quick validation - - name: Release - stage: release - script: make -e RELEASE_VERSION="${TRAVIS_TAG/v}" release - if: tag =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/ - deploy: - - provider: releases - api_key: "$RELEASE_GH_TOKEN" - file: out/* - file_glob: true - skip_cleanup: true - overwrite: true - on: - all_branches: true # earlier 'if:' limits this - repo: IBM/cloud-operators - -notifications: - email: false