Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d65cca2
XECO-16121: Add github actions
dani-coll May 2, 2025
6091b43
fixup! XECO-16121: Add github actions
dani-coll May 5, 2025
e0cc3ad
fixup! fixup! XECO-16121: Add github actions
dani-coll May 5, 2025
1e4a8ae
fixup! fixup! fixup! XECO-16121: Add github actions
dani-coll May 5, 2025
e2f949c
fixup! fixup! fixup! fixup! XECO-16121: Add github actions
dani-coll May 5, 2025
d0529a5
fixup! fixup! fixup! fixup! fixup! XECO-16121: Add github actions
dani-coll May 5, 2025
01a7efa
fixup! fixup! fixup! fixup! fixup! fixup! XECO-16121: Add github actions
dani-coll May 5, 2025
97b2b7b
fixup! fixup! fixup! fixup! fixup! fixup! fixup! XECO-16121: Add gith…
dani-coll May 5, 2025
cf876c9
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! XECO-16121: A…
dani-coll May 5, 2025
7bb63c2
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! XECO-1…
dani-coll May 5, 2025
f924f20
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
dani-coll May 5, 2025
bd47a94
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
dani-coll May 5, 2025
5c30067
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
dani-coll May 5, 2025
e2c381d
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
dani-coll May 5, 2025
36f43c6
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup!…
dani-coll May 5, 2025
e0d048b
try
dani-coll May 6, 2025
c2a72a9
Simplify
dani-coll May 6, 2025
f82243a
simplify
dani-coll May 6, 2025
5c2ee19
lint
dani-coll May 6, 2025
e3e8db0
Add jenkinsfile
dani-coll May 13, 2025
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
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '20'

- name: Install
run: npm ci

- name: Lint
run: npm run lint

- name: Build
run: npm run build

- name: Deploy
run: npm run deploy
Empty file added .npmrc
Empty file.
33 changes: 33 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
pipeline {
agent {
docker {
image 'node:22'
}
}

stages {
stage('Install') {
steps {
sh('npm ci')
}
}

stage('Lint') {
steps {
sh 'npm run lint'
}
}

stage('Build') {
steps {
sh('npm run build')
}
}

stage('Deploy') {
steps {
sh('npx dt-app deploy')
}
}
}
}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,5 @@ Outputs help for the Dynatrace App Toolkit.
You can find more information on how to use all the features of the new Dynatrace Platform in [Dynatrace Developer](https://dt-url.net/developers).

To learn React, check out the [React documentation](https://reactjs.org/).


4 changes: 2 additions & 2 deletions app.config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"environmentUrl": "https://wkf10640.apps.dynatrace.com/",
"environmentUrl": "https://ruu61410.apps.dynatrace.com/",
"app": {
"name": "new-tutorial",
"version": "0.0.0",
"description": "A starting project with routing, fetching data, and charting",
"id": "my.new.tutorial",
"id": "my.new.tutorial.github.actions",
"scopes": [
{ "name": "storage:buckets:read", "comment": "default template" },
{ "name": "storage:metrics:read", "comment": "default template" },
Expand Down
Loading
Loading