Skip to content

Commit

Permalink
Update after release (#382)
Browse files Browse the repository at this point in the history
* Update README.md
* Update besom scripts
* Update version to 0.2.1-SNAPSHOT
* Update providers to latest
  • Loading branch information
pawelprazak authored Feb 12, 2024
1 parent 45c745d commit d841e63
Show file tree
Hide file tree
Showing 35 changed files with 285 additions and 113 deletions.
10 changes: 10 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,16 @@ Finish the release on GitHub manually, make sure the changelog is correct and co

According to our Git branching and versioning strategy, the release branch should be created after the tag is created.

#### After the release

After the release, you can bump the version to the next `-SNAPSHOT` version:

```bash
just cli version bump X.Y.Z-SNAPSHOT
```

Add `//> using repository sonatype:snapshots` to `project.scala` files.

### Testing examples locally

Every example is a valid Pulumi program that can be tested by manually
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ The supported versions are:
- Scala CLI 1.0.4 or higher
- SBT 1.9.6 or higher
- Apache Maven 3.8.4 or higher
- Gradle Build Tool 7.4 or higher
Other build tools are supported via the `runtime.options.binary`
configuration option that can point to a pre-built jar in
Expand Down Expand Up @@ -177,11 +179,12 @@ When opened, both [Intellij IDEA](https://www.jetbrains.com/idea/)
and [Metals](https://scalameta.org/metals/) should automatically recognize
the project and set up the IDE accordingly.
[sbt](https://www.scala-sbt.org/) is also supported out-of-the-box but is not recommended due to
slower iteration speed. Use of sbt support is suggested for situations where managed infrastructure
[sbt](https://www.scala-sbt.org/), [gradle](https://gradle.org/) and [maven](https://maven.apache.org/) are also supported out-of-the-box,
but are **not recommended** due to slower iteration speed.
Use of `sbt`, `gradle` or `mvn` support is suggested for situations where managed infrastructure
is being added to an already existing project that uses sbt as the main build tool.
IDE setup for `sbt` works automatically with both Intellij IDEA and Metals.
IDE setup for `sbt`, `gradle` or `mvn` works automatically with both Intellij IDEA and Metals.
[Mill](https://mill-build.com/) is not yet supported.
Expand Down
5 changes: 3 additions & 2 deletions besom-cats/project.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
//> using options "-java-output-version:11" "-encoding:utf-8", "-Ykind-projector:underscores"
//> using options "-deprecation", "-feature"

//> using dep "org.virtuslab::besom-core:0.2.0"

//> using dep "org.virtuslab::besom-core:0.2.1-SNAPSHOT"
//> using dep "org.typelevel::cats-effect:3.3.14"
//> using test.dep "org.scalameta::munit:1.0.0-M10"

//> using repository sonatype:snapshots

//> using publish.name "besom-cats"
//> using publish.organization "org.virtuslab"
//> using publish.url "https://github.com/VirtusLab/besom"
Expand Down
5 changes: 3 additions & 2 deletions besom-zio/project.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
//> using options "-java-output-version:11" "-encoding:utf-8", "-Ykind-projector:underscores"
//> using options "-deprecation", "-feature"

//> using dep "org.virtuslab::besom-core:0.2.0"

//> using dep "org.virtuslab::besom-core:0.2.1-SNAPSHOT"
//> using dep "dev.zio::zio:2.0.17"
//> using test.dep "org.scalameta::munit:1.0.0-M10"

//> using repository sonatype:snapshots

//> using publish.name "besom-zio"
//> using publish.organization "org.virtuslab"
//> using publish.url "https://github.com/VirtusLab/besom"
Expand Down
7 changes: 3 additions & 4 deletions core/project.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
//> using options "-java-output-version:11", "-Ysafe-init", "-Xmax-inlines:64"
//> using options "-Werror", "-Wunused:all", "-deprecation", "-feature", -language:noAutoTupling

//> using dep "org.virtuslab::besom-json:0.2.0"

//> using dep "org.virtuslab::besom-json:0.2.1-SNAPSHOT"
//> using dep "com.lihaoyi::sourcecode:0.3.1"
//> using dep "com.google.protobuf:protobuf-java-util:3.24.4"
//> using dep "io.grpc:grpc-netty:1.57.2"
Expand All @@ -12,13 +11,13 @@
//> using dep "com.thesamet.scalapb::scalapb-runtime:0.11.14"
//> using dep "com.thesamet.scalapb::scalapb-runtime-grpc:0.11.14"
//> using dep "com.google.guava:guava:32.1.2-jre"

//> using dep "com.outr::scribe:3.11.3"
//> using dep "com.outr::scribe-file:3.11.3"
//> using dep "com.lihaoyi::pprint:0.6.6"

//> using test.dep "org.scalameta::munit:1.0.0-M10"

//> using repository sonatype:snapshots

//> using publish.name "besom-core"
//> using publish.organization "org.virtuslab"
//> using publish.url "https://github.com/VirtusLab/besom"
Expand Down
8 changes: 5 additions & 3 deletions examples/aws-eks/project.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//> using scala "3.3.1"
//> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.0"
//> using dep "org.virtuslab::besom-core:0.2.0"
//> using dep "org.virtuslab::besom-eks:2.2.1-core.0.2"
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-core:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-eks:2.2.1-core.0.2-SNAPSHOT"

//> using repository sonatype:snapshots
8 changes: 5 additions & 3 deletions examples/aws-s3-folder/project.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//> using scala "3.3.1"
//> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.0"
//> using dep "org.virtuslab::besom-core:0.2.0"
//> using dep "org.virtuslab::besom-aws:6.20.1-core.0.2"
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-core:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-aws:6.20.1-core.0.2-SNAPSHOT"

//> using repository sonatype:snapshots
8 changes: 5 additions & 3 deletions examples/aws-secrets-manager/project.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//> using scala "3.3.1"
//> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.0"
//> using dep "org.virtuslab::besom-core:0.2.0"
//> using dep "org.virtuslab::besom-aws:6.20.1-core.0.2"
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-core:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-aws:6.20.1-core.0.2-SNAPSHOT"

//> using repository sonatype:snapshots
10 changes: 6 additions & 4 deletions examples/aws-webserver/project.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
//> using scala 3.3.1
//> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.0
//> using dep org.virtuslab::besom-core:0.2.0
//> using dep org.virtuslab::besom-aws:6.20.1-core.0.2
//> using dep org.virtuslab::besom-tls:5.0.0-core.0.2
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-core:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-aws:6.20.1-core.0.2-SNAPSHOT
//> using dep org.virtuslab::besom-tls:5.0.0-core.0.2-SNAPSHOT

//> using repository sonatype:snapshots
8 changes: 5 additions & 3 deletions examples/docker-multi-container-app/infra/project.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//> using scala "3.3.1"
//> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.0"
//> using dep "org.virtuslab::besom-core:0.2.0"
//> using dep "org.virtuslab::besom-docker:4.5.1-core.0.2"
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-core:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-docker:4.5.1-core.0.2-SNAPSHOT"

//> using repository sonatype:snapshots
10 changes: 6 additions & 4 deletions examples/gcp-cloudrun/infra/project.scala
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
//> using scala "3.3.1"
//> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.0"
//> using dep "org.virtuslab::besom-core:0.2.0"
//> using dep "org.virtuslab::besom-gcp:7.7.1-core.0.2"
//> using dep "org.virtuslab::besom-docker:4.5.1-core.0.2"
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-core:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-gcp:7.8.0-core.0.2-SNAPSHOT"
//> using dep "org.virtuslab::besom-docker:4.5.1-core.0.2-SNAPSHOT"

//> using repository sonatype:snapshots

//> using exclude "app/*"
8 changes: 5 additions & 3 deletions examples/gcp-static-page/project.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//> using scala "3.3.1"
//> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.0"
//> using dep "org.virtuslab::besom-core:0.2.0"
//> using dep "org.virtuslab::besom-gcp:7.7.1-core.0.2"
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-core:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-gcp:7.8.0-core.0.2-SNAPSHOT"

//> using repository sonatype:snapshots
8 changes: 5 additions & 3 deletions examples/kubernetes-nginx/project.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//> using scala "3.3.1"
//> using options -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.0"
//> using dep "org.virtuslab::besom-core:0.2.0"
//> using dep "org.virtuslab::besom-kubernetes:4.7.1-core.0.2"
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-core:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-kubernetes:4.7.1-core.0.2-SNAPSHOT"

//> using repository sonatype:snapshots
8 changes: 5 additions & 3 deletions experimental/project.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//> using scala "3.3.0"
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.0"
//> using dep "org.virtuslab::besom-core:0.2.0"
//> using dep "org.virtuslab::besom-kubernetes:4.7.1-core.0.2"
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-core:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-kubernetes:4.7.1-core.0.2-SNAPSHOT"
//> using dep "io.github.iltotore::iron:2.4.0"

//> using repository sonatype:snapshots
4 changes: 3 additions & 1 deletion integration-tests/project.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
//> using exclude "*/resources/*"

//> using toolkit 0.2.1
//> using dep org.virtuslab::besom-codegen:0.2.0
//> using dep org.virtuslab::besom-codegen:0.2.1-SNAPSHOT
//> using dep org.scalameta::munit::1.0.0-M10

//> using repository sonatype:snapshots
10 changes: 6 additions & 4 deletions integration-tests/resources/cats-purrl-example/project.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
//> using scala 3.3.1
//> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.0
//> using dep org.virtuslab::besom-core:0.2.0
//> using dep org.virtuslab::besom-cats:0.2.0
//> using dep "org.virtuslab::besom-purrl:0.5.0-core.0.2"
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-core:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-cats:0.2.1-SNAPSHOT
//> using dep "org.virtuslab::besom-purrl:0.5.0-core.0.2-SNAPSHOT"

//> using repository sonatype:snapshots
6 changes: 4 additions & 2 deletions integration-tests/resources/compiler-plugin/project.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//> using scala 3.3.1
//> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.0
//> using dep org.virtuslab::besom-core:0.2.0
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-core:0.2.1-SNAPSHOT

//> using repository sonatype:snapshots
6 changes: 4 additions & 2 deletions integration-tests/resources/config-example/project.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//> using scala 3.3.1
//> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.0
//> using dep org.virtuslab::besom-core:0.2.0
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-core:0.2.1-SNAPSHOT

//> using repository sonatype:snapshots
6 changes: 4 additions & 2 deletions integration-tests/resources/executors/scala-cli/project.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
//> using scala 3.3.1
//> using options -java-output-version:11
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.0"
//> using dep "org.virtuslab::besom-core:0.2.0"
//> using plugin "org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-core:0.2.1-SNAPSHOT"
//> using dep "org.virtuslab::besom-fake-standard-resource:1.2.3-TEST"
//> using dep "org.virtuslab::besom-fake-external-resource:2.3.4-TEST"

//> using repository sonatype:snapshots
6 changes: 4 additions & 2 deletions integration-tests/resources/logger-example/project.scala
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//> using scala 3.3.1
//> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.0
//> using dep org.virtuslab::besom-core:0.2.0
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-core:0.2.1-SNAPSHOT

//> using repository sonatype:snapshots
8 changes: 5 additions & 3 deletions integration-tests/resources/random-example/project.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//> using scala 3.3.1
//> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.0
//> using dep org.virtuslab::besom-core:0.2.0
//> using dep "org.virtuslab::besom-random:4.15.1-core.0.2"
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-core:0.2.1-SNAPSHOT
//> using dep "org.virtuslab::besom-random:4.15.1-core.0.2-SNAPSHOT"

//> using repository sonatype:snapshots
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//> using scala 3.3.1
//> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.0
//> using dep org.virtuslab::besom-core:0.2.0
//> using dep "org.virtuslab::besom-tls:5.0.0-core.0.2"
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-core:0.2.1-SNAPSHOT
//> using dep "org.virtuslab::besom-tls:5.0.0-core.0.2-SNAPSHOT"

//> using repository sonatype:snapshots
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
//> using scala 3.3.1
//> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.0
//> using dep org.virtuslab::besom-core:0.2.0
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-core:0.2.1-SNAPSHOT

//> using repository sonatype:snapshots
8 changes: 5 additions & 3 deletions integration-tests/resources/tls-example/project.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
//> using scala 3.3.1
//> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.0
//> using dep org.virtuslab::besom-core:0.2.0
//> using dep "org.virtuslab::besom-tls:5.0.0-core.0.2"
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-core:0.2.1-SNAPSHOT
//> using dep "org.virtuslab::besom-tls:5.0.0-core.0.2-SNAPSHOT"

//> using repository sonatype:snapshots
10 changes: 6 additions & 4 deletions integration-tests/resources/zio-tls-example/project.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
//> using scala 3.3.1
//> using options -java-output-version:11 -Werror -Wunused:all -Wvalue-discard -Wnonunit-statement
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.0
//> using dep org.virtuslab::besom-core:0.2.0
//> using dep org.virtuslab::besom-zio:0.2.0
//> using dep "org.virtuslab::besom-tls:5.0.0-core.0.2"
//> using plugin org.virtuslab::besom-compiler-plugin:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-core:0.2.1-SNAPSHOT
//> using dep org.virtuslab::besom-zio:0.2.1-SNAPSHOT
//> using dep "org.virtuslab::besom-tls:5.0.0-core.0.2-SNAPSHOT"

//> using repository sonatype:snapshots
5 changes: 3 additions & 2 deletions language-plugin/bootstrap/project.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//> using scala 3.3.1
//> using options -java-output-version:11

//> using dep org.virtuslab::besom-json:0.2.0

//> using dep org.virtuslab::besom-json:0.2.1-SNAPSHOT
//> using dep io.github.classgraph:classgraph:4.8.165

//> using repository sonatype:snapshots
Loading

0 comments on commit d841e63

Please sign in to comment.