-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from fluent-ci-templates/fix/codecov-token
fix: add codecov token
- Loading branch information
Showing
12 changed files
with
220 additions
and
29 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# AWS CodePipeline | ||
|
||
![deno compatibility](https://shield.deno.dev/deno/^1.34) | ||
|
||
The following command will generate a `buildspec.yml` file in your project: | ||
|
||
```bash | ||
fluentci ac init | ||
``` | ||
|
||
Generated file: | ||
|
||
```yaml | ||
# Do not edit this file directly. It is generated by https://deno.land/x/fluent_aws_codepipeline | ||
|
||
version: 0.2 | ||
phases: | ||
install: | ||
commands: | ||
- curl -fsSL https://deno.land/x/install/install.sh | sh | ||
- export DENO_INSTALL="$HOME/.deno" | ||
- export PATH="$DENO_INSTALL/bin:$PATH" | ||
- deno install -A -r https://cli.fluentci.io -n fluentci | ||
- curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.1 sh | ||
- mv bin/dagger /usr/local/bin | ||
- dagger version | ||
build: | ||
commands: | ||
- dagger run fluentci codecov_pipeline | ||
post_build: | ||
commands: | ||
- echo Build completed on `date` | ||
env: | ||
secrets-manager: | ||
CODECOV_TOKEN: codecov:CODECOV_TOKEN | ||
|
||
``` | ||
|
||
Feel free to edit the template generator at `.fluentci/src/aws/config.ts` to your needs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Azure Pipelines | ||
|
||
![deno compatibility](https://shield.deno.dev/deno/^1.34) | ||
|
||
The following command will generate a `azure-pipelines.yml` file in your project: | ||
|
||
```bash | ||
fluentci ap init | ||
``` | ||
|
||
Generated file: | ||
|
||
```yaml | ||
# Do not edit this file directly. It is generated by https://deno.land/x/fluent_azure_pipelines | ||
|
||
trigger: | ||
- master | ||
pool: | ||
name: Default | ||
vmImage: ubuntu-latest | ||
steps: | ||
- script: | | ||
curl -fsSL https://deno.land/x/install/install.sh | sh | ||
export DENO_INSTALL="$HOME/.deno" | ||
export PATH="$DENO_INSTALL/bin:$PATH" | ||
displayName: Install Deno | ||
- script: deno install -A -r https://cli.fluentci.io -n fluentci | ||
displayName: Setup Fluent CI CLI | ||
- script: | | ||
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.1 sh | ||
sudo mv bin/dagger /usr/local/bin | ||
dagger version | ||
displayName: Setup Dagger | ||
- script: dagger run fluentci codecov_pipeline | ||
displayName: Upload Coverage | ||
variables: | ||
CODECOV_TOKEN: $(CODECOV_TOKEN) | ||
|
||
``` | ||
|
||
Feel free to edit the template generator at `.fluentci/src/azure/config.ts` to your needs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Circle CI | ||
|
||
![deno compatibility](https://shield.deno.dev/deno/^1.34) | ||
|
||
|
||
The following command will generate a `.circleci/config.yml` file in your project: | ||
|
||
```bash | ||
fluentci cci init | ||
``` | ||
|
||
Generated file: | ||
|
||
```yaml | ||
# Do not edit this file directly. It is generated by https://deno.land/x/fluent_circleci | ||
|
||
version: 2.1 | ||
jobs: | ||
codecov: | ||
steps: | ||
- checkout | ||
- run: sudo apt-get update && sudo apt-get install -y curl unzip | ||
- run: | | ||
curl -fsSL https://deno.land/x/install/install.sh | sh | ||
export DENO_INSTALL="$HOME/.deno" | ||
export PATH="$DENO_INSTALL/bin:$PATH" | ||
- run: deno install -A -r https://cli.fluentci.io -n fluentci | ||
- run: | | ||
curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.1 sh | ||
sudo mv bin/dagger /usr/local/bin | ||
dagger version | ||
- run: | ||
name: Upload Coverage | ||
command: dagger run fluentci codecov_pipeline | ||
machine: | ||
image: ubuntu-2004:2023.07.1 | ||
environment: | ||
CODECOV_TOKEN: ${{codecov.CODECOV_TOKEN}} | ||
workflows: | ||
dagger: | ||
jobs: | ||
- codecov | ||
|
||
``` | ||
|
||
Feel free to edit the template generator at `.fluentci/src/circleci/config.ts` to your needs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Gitlab CI | ||
|
||
![deno compatibility](https://shield.deno.dev/deno/^1.34) | ||
|
||
The following command will generate a `.gitlab-ci.yml` file in your project: | ||
|
||
```bash | ||
fluentci gl init | ||
``` | ||
|
||
Generated file: | ||
|
||
```yaml | ||
|
||
# Do not edit this file directly. It is generated by Fluent GitLab CI | ||
|
||
.docker: | ||
image: denoland/deno:alpine | ||
services: | ||
- docker:${DOCKER_VERSION}-dind | ||
variables: | ||
DOCKER_HOST: tcp://docker:2376 | ||
DOCKER_TLS_VERIFY: "1" | ||
DOCKER_TLS_CERTDIR: /certs | ||
DOCKER_CERT_PATH: /certs/client | ||
DOCKER_DRIVER: overlay2 | ||
DOCKER_VERSION: 20.10.16 | ||
|
||
.dagger: | ||
extends: .docker | ||
before_script: | ||
- apk add docker-cli curl unzip | ||
- deno install -A -r https://cli.fluentci.io -n fluentci | ||
- curl -L https://dl.dagger.io/dagger/install.sh | DAGGER_VERSION=0.8.1 sh | ||
- mv bin/dagger /usr/local/bin | ||
- dagger version | ||
|
||
codecov: | ||
extends: .dagger | ||
script: | ||
- dagger run fluentci codecov_pipeline | ||
|
||
``` | ||
|
||
Feel free to edit the template generator at `.fluentci/src/gitlab/config.ts` to your needs. |