Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed Travis's scripts and updated README.md
Browse files Browse the repository at this point in the history
tgreenwood committed Apr 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent c9cfe7e commit fbcbf4a
Showing 7 changed files with 16 additions and 146 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/package_and_push_helm_chart.yaml
Original file line number Diff line number Diff line change
@@ -5,17 +5,12 @@ on:
branches:
- dev
- release
- devops/FAIRSPC-55_github_actions
workflow_dispatch:
inputs:
name:
description: "Manual trigger for Helm chart packaging and pushing"
release_type:
description: "Release or snapshot version?"
required: true
default: "SNAPSHOT"
options:
- "SNAPSHOT"
- "RELEASE"
version:
description: "Version of the Helm chart to push"
required: false

jobs:
deploy:
@@ -42,9 +37,16 @@ jobs:
- name: Prepare version
run: |
VERSION=$(cat ./VERSION)
if [[ ${{ github.event.inputs.release_type }} = "SNAPSHOT" ]] || [[ $BRANCH = "dev" ]]; then
BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
echo "Building images from the branch: $BRANCH"
if [ $BRANCH != "release" ]; then
VERSION=$VERSION-SNAPSHOT
fi
# override version of custom input is provided
if [[ -n "${{ github.event.inputs.version }}" ]]; then
VERSION=${{ github.event.inputs.version }}
fi
echo "Helm charts version to be deployed: $VERSION"
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Package and Push Helm chart to repository
84 changes: 0 additions & 84 deletions .travis.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .travis/add_pod_annotations.sh

This file was deleted.

Binary file removed .travis/ci-service-account.json.enc
Binary file not shown.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -4,9 +4,10 @@ This repository contains the helm chart to install and setup Keycloak.

See [charts/fairspace-keycloak](charts/fairspace-keycloak/README.md) for more information.

# Deployment scripts
Deployment scripts can be found in the [fairspace-build-scripts](https://github.com/fairspace/fairspace-build-scripts) repository. They are
run by travis-ci, as setup in the `.travis.yml` file.
# Helm chart
Helm charts are packaged and published to the GitHub package registry (Packages) with GitHub Actions workflow, can be found in `.github/workflows/package_and_push_helm_chart.yaml `

```yaml

# License

9 changes: 0 additions & 9 deletions charts/.travis/build.sh

This file was deleted.

16 changes: 0 additions & 16 deletions charts/.travis/install.sh

This file was deleted.

0 comments on commit fbcbf4a

Please sign in to comment.