This file contains hidden or 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
| function isHidden(el) { | |
| if (el === null || el === undefined) { | |
| return true; | |
| } | |
| var style = window.getComputedStyle(el); | |
| return (style.display === 'none') | |
| } | |
| document.addEventListener("keydown", function (event) { | |
| const mergeRequestDiv = document.querySelector("#content-body > div.merge-request") |
This file contains hidden or 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
| /* eslint-disable */ | |
| import { App } from 'sst/constructs'; | |
| import { initProject, useProject } from 'sst/project.js'; | |
| export const sstCdkBridgeCreateApp = async (): Promise<void> => { | |
| const stage = process.env['SST_STAGE']!; | |
| console.log(`STAGE: ${stage}`); | |
| await initProject({ |
This file contains hidden or 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
| image: adoptopenjdk/openjdk12:alpine | |
| stages: | |
| - build | |
| - check | |
| - publish | |
| variables: | |
| GRADLE_OPTS: "-Dorg.gradle.daemon=false" |
This file contains hidden or 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
| package example | |
| import io.k8s.api.core.v1.ContainerDsl | |
| fun ContainerDsl.resourcesHelper(cpuRequest: String = "", memoryRequest: String = "", cpuLimit: String = "", memoryLimit: String = "") { | |
| resources { | |
| if (cpuRequest != "" || memoryRequest != "") { | |
| requests { | |
| if (cpuRequest != "") { | |
| request("cpu") { |