Skip to content

Commit

Permalink
Merge pull request #547 from paketo-buildpacks/polish
Browse files Browse the repository at this point in the history
Switch to using new Apache download mirror
  • Loading branch information
Daniel Mikusa authored Feb 9, 2022
2 parents 2c2d266 + f5f6a47 commit f63683a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ with:
```

### Skywalking Dependency
The Skywalking Dependency watches the [Apache Skywalking Download Page](https://archive.apache.org/dist/skywalking) for new versions.
The Skywalking Dependency watches the [Apache Skywalking Download Page](https://downloads.apache.org/skywalking) for new versions.

```yaml
uses: docker://ghcr.io/paketo-buildpacks/actions/skywalking-dependency:main
Expand All @@ -550,22 +550,23 @@ with:
```

### Tomcat Dependency
The Tomcat Dependency watches the [Apache Tomcat Download Page](https://archive.apache.org/dist/tomcat/tomcat-9/) for new versions.
The Tomcat Dependency watches the [Apache Tomcat Download Page](https://downloads.apache.org/tomcat/tomcat-9/) for new versions.

```yaml
uses: docker://ghcr.io/paketo-buildpacks/actions/tomcat-dependency:main
with:
uri: https://archive.apache.org/dist/tomcat/tomcat-9
uri: https://downloads.apache.org/tomcat/tomcat-9
```

### Tomee Dependency
The Tomee Dependency watches the [Apache Tomee Download Page](https://archive.apache.org/dist/tomee/) for new versions. Available distributions are `microprofile`, `webprofile`, `plus` or `plume`
The Tomee Dependency watches the [Apache Tomee Download Page](https://downloads.apache.org/tomee/) for new versions. Available distributions are `microprofile`, `webprofile`, `plus` or `plume`.

```yaml
uses: docker://ghcr.io/paketo-buildpacks/actions/tomee-dependency:main
with:
uri: https://archive.apache.org/dist/tomee/
uri: https://downloads.apache.org/tomee/
dist: webprofile
major: 9
```

### YourKit Dependency
Expand Down
2 changes: 1 addition & 1 deletion actions/skywalking-dependency/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
func main() {
inputs := actions.NewInputs()

uri := "https://archive.apache.org/dist/skywalking/java-agent"
uri := "https://downloads.apache.org/skywalking/java-agent"

c := colly.NewCollector()

Expand Down
2 changes: 0 additions & 2 deletions actions/tomee-dependency/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ func main() {
}

versions[v] = fmt.Sprintf("%s/tomee-%[2]s/apache-tomee-%[2]s-%s.tar.gz", uri, v, dist)

fmt.Println("Adding", v, "with url", versions[v])
}
}
})
Expand Down

0 comments on commit f63683a

Please sign in to comment.