indraq_cli 2.0.3 → 2.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,9 +20,9 @@ indraqRoles(managedProjectMap).findAll { it.name.startsWith('indraq-') }.each {
20
20
  }
21
21
  Jenkins.get().save()`;
22
22
  const seedRole = (username) => `
23
- def strategy = Jenkins.get().authorizationStrategy
24
- indraqRequireRoleStrategy(strategy)
25
- def itemMap = strategy.getRoleMap(indraqRoleType('Project'))
23
+ def seedStrategy = Jenkins.get().authorizationStrategy
24
+ indraqRequireRoleStrategy(seedStrategy)
25
+ def itemMap = seedStrategy.getRoleMap(indraqRoleType('Project'))
26
26
  def seedRole = itemMap.getRole('indraq-create-deployment')
27
27
  if (seedRole == null) {
28
28
  Set<Permission> seedPermissions = new HashSet<Permission>()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indraq_cli",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "description": "IndraQ cloud-first CLI for project lifecycle, organization access, Route53/NPM/Jenkins/AWS orchestration, Docker and deployments",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -1,18 +0,0 @@
1
- node_modules
2
- npm-debug.log*
3
- yarn-debug.log*
4
- yarn-error.log*
5
- pnpm-debug.log*
6
- *.log
7
- .git
8
- .gitignore
9
- .indraq
10
- dist
11
- build
12
- .next
13
- coverage
14
- .cache
15
- .vite
16
- .turbo
17
- .DS_Store
18
- Thumbs.db
@@ -1,19 +0,0 @@
1
- FROM node:22-alpine AS build
2
- WORKDIR /myapp
3
- # Copy the complete project context. .dockerignore controls all exclusions.
4
- COPY . .
5
- RUN if [ -f package-lock.json ]; then npm ci; else npm install; fi
6
- RUN npm run build
7
- RUN npm prune --omit=dev
8
-
9
- FROM node:22-alpine AS runtime
10
- WORKDIR /myapp
11
- RUN apk add --no-cache curl
12
- ENV NODE_ENV=production PORT=4010
13
- # Copy the complete filtered project from the build stage, including generated
14
- # build output and production node_modules. No project filenames are guessed.
15
- COPY --from=build --chown=node:node /myapp ./
16
- USER node
17
- EXPOSE 4010
18
- HEALTHCHECK --interval=30s --timeout=3s CMD curl -fsS http://127.0.0.1:4010/health >/dev/null || exit 1
19
- CMD ["npm", "start"]