Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AAE-23145 Travis documentation removed #642

Merged
Merged
Show file tree
Hide file tree
Changes from 5 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
2 changes: 1 addition & 1 deletion .github/actions/env-load-from-yaml/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: "env-load-from-yaml"
description: "Mimic loading of a yaml with globals to ease migration from Travis CI"
description: "Load environment variables from a yaml file"
inputs:
ignore_regex:
description: "Bash regex to ignore certain lines"
Expand Down
12 changes: 1 addition & 11 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Here follows the list of GitHub Actions topics available in the current document
- [Setup Maven Credentials](#setup-maven-credentials)
- [Setup Maven Build Options](#setup-maven-build-options)
- [GitHub Actions provided by community](#github-actions-provided-by-community)
- [Auto cancel builds](#auto-cancel-builds)
- [Docker build and push](#docker-build-and-push)
- [Docker login](#docker-login)
- [EC2 GitHub runner](#ec2-github-runner)
Expand Down Expand Up @@ -159,9 +158,6 @@ env:
run: mvn deploy ${{ env.MAVEN_CLI_OPTS }} -DskipTests
```

When migrating from Travis, depending on the previous configuration, docker.skip and docker.tag properties might need
to be setup on the command line.

Here is a sample way to extract a branch name that would be used for docker images built with the `build-and-push-docker-images.sh` script, although using the [dedicated action](#docker-build-and-push) can also be
useful.

Expand All @@ -176,10 +172,6 @@ useful.

## GitHub Actions provided by community

### Auto cancel builds

[This action](https://github.com/styfle/cancel-workflow-action) is a replacement for the Travis settings **Auto cancel branch builds** and **Auto cancel pull request builds**.

### Docker build and push

Consider using this official [Docker action](https://github.com/marketplace/actions/build-and-push-docker-images) for building and pushing containers instead of doing it by hand, for buildx support, caching and more.
Expand Down Expand Up @@ -515,9 +507,7 @@ Examples:

### env-load-from-yaml

To ease the migration to GitHub Actions of repositories that contains one or
more yaml files containing an `env.global` section of Travis CI. It supports env vars
referencing as value env vars defined early in the file (like Travis does).
Load environment variables from a yaml file

```yaml
- uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@ref
Expand Down
111 changes: 0 additions & 111 deletions docs/travis.md

This file was deleted.

2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v5.29.0
v5.29.1
Loading